[Buildbot-commits] [Buildbot] #2504: Older Git Versions Don't Support --branch
Buildbot trac
trac at buildbot.net
Sat Jun 1 21:29:58 UTC 2013
#2504: Older Git Versions Don't Support --branch
-----------------------------------------+--------------------
Reporter: s0undt3ch | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: 0.8.+
Version: 0.8.7p1 | Resolution:
Keywords: git master-side-source-steps |
-----------------------------------------+--------------------
Changes (by dustin):
* type: undecided => enhancement
* milestone: undecided => 0.8.+
Old description:
> Older git versions don't support `--branch`, this is on the master's git
> source step.
>
> Before using, a check should be made against the version and provider
> workarounds.
>
> ```
> git clone [project_url] [directory]
> cd [directory]
> git checkout --track origin/[existing_branch_name] -b
> [tracking_branch_name]
> ```
New description:
Older git versions don't support `--branch`, this is on the master's git
source step.
Before using, a check should be made against the version and provider
workarounds.
{{{
git clone [project_url] [directory]
cd [directory]
git checkout --track origin/[existing_branch_name] -b
[tracking_branch_name]
}}}
--
Comment:
Is a version check better, or falling back if the {{{--branch}}} option
doesn't work?
What version was the first to support `--branch`?
--
Ticket URL: <http://trac.buildbot.net/ticket/2504#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list