We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b49bd37 commit 6970977Copy full SHA for 6970977
2 files changed
app/src/lib/stores/app-store.ts
@@ -5338,6 +5338,10 @@ export class AppStore extends TypedBaseStore<IAppState> {
5338
theirBranch: tip.branch.upstream,
5339
currentBranch: tip.branch.name,
5340
}
5341
+ } else {
5342
+ throw new Error(
5343
+ `This branch (${tip.branch.name}) has not been published yet.`
5344
+ )
5345
5346
5347
const title = `Pulling ${remote.name}`
app/src/ui/repositories-list/repositories-list.tsx
@@ -506,7 +506,7 @@ export class RepositoriesList extends React.Component<
506
.filter(r => r instanceof Repository)
507
.map(r =>
508
this.props.dispatcher.pull(r).catch(e => {
509
- throw Error(`Error pulling repository ${r.name}:\n${e}`, e)
+ throw Error(`Error pulling '${r.name}' (${r.path}):\n${e}`, e)
510
})
511
)
512
0 commit comments