This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support
--targetBranch
for Azure Devops Server/TFS for remote repos…
…itories (#1008) * chore: Improve targetBranch's description * test: Verify targetBranch is used for remote tfs Add test to verify that when a custom value is provided to the `--targetBranch` option, the `TfsSettingsReader` properly populates the `RemoteInfo.BranchName` property in case of a remote URI for the repository. * feat(tfs): Support targetBranch for remote URIs Currently the `repository` command does not make use of the custom value provided through the `--targetBranch` option when the URI points to a remote repository, not a local one. This was the case because the `TfsSettingsReader` did not make use of the value in case of a remote URI. This commit simply instantiates a new `RemoteInfo` with `BranchName` set to the provided value in case of a remote URI. * docs: Add ADServer/TFS as supporting targetBranch
- Loading branch information
1 parent
b355582
commit 317d457
Showing
4 changed files
with
15 additions
and
5 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
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