-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: Warn if specified remote branch not found for
jj git fetch
* First fetch from remote. * Then check tx.{base_repo(),repo}.view().remote_bookmarks_matching(<branch>, <remote>). This has to happen after the fetch has been done so the tx.repo() is updated. * Warn if a branch is not found in any of the remotes used in the fetch. Note that the remotes used in the fetch can be a subset of the remotes configured for the repo, so the language of the warning tries to point that out. Fixes: #4293
- Loading branch information
Showing
3 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters