On Tue, 19 Oct 2010, James Vega wrote:
> That's not what I'm referring to. If you run the git-symbolic-ref
> command I mentioned on Alioth, then a git clone of that repo will
> checkout the debian branch by default instead of the master branch.
> Since the Alioth repo is primarily for Debian development, this
> difference in the default branch makes sense, IMO.
thanks for the additional clarification -- all clear now for that
use case! thanks
> in the case where you're pointing to an upstream repository since in
> that case it makes more sense for the default branch to be related to
> upstream development.
correct
> > X-Vcs-branch
> > field which would instruct explicitly which branch to use?
> A Vcs-Branch field for the VCSes that support specifying which branch to
> get for a "clone" might be useful.
moreover, minor additional use for it could be: to track corresponding
branches for maintenance releases (e.g. uploads to security, backports,
etc). I.e. if I am to debcheckout something which already had security
uploads into stable (and had X-vcs-branch adjusted correspondingly to
point to something like maint/squeeze instead of default master),
and I want to inspect/rebuild that branch of the repository.
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
--
To unsubscribe, send mail to [email protected].