[Camps-users] Patch to introduce support for alternate Git branch specification

Brian J. Miller brian at endpoint.com
Wed Sep 23 21:13:20 UTC 2009


Ethan Rowe wrote:
> All,
> 
> I've now encountered a few situations in which I need multiple camp
> types for parallel lines of development on a single project.  All such
> camp types would work with alternate branches on a single repository,
> which currently has to be handled manually (which is a drag).
> 
> Please see the following at my github fork; it introduces a new
> "git_branch" configuration option which allows the camp type to specify
> a branch to use rather than "master" (or whatever the source
> repository's active branch may be); when branch is specified, a
> vcs_checkout() call for Git will follow up the initial clone with a
> git-checkout call that makes a tracking branch and checks it out.
> 
> Full disclosure: I haven't tested it exhaustively; it appears to work
> without git_branch being specified, and with it being specified in the
> simple case.
> 
> http://github.com/ethanrowe/camps/commit/de9271475690843c35696b07f1cc6ba8092b4e03
> 
> Thanks.
> - Ethan

I have a test case that could use this and will be relatively actively 
used, David would use it as well in that case, so I'll try to get it in 
use there.

-- 
Brian J. Miller
End Point Corp.
brian at endpoint.com
W: 704-376-8292


More information about the Camps-users mailing list