bzr-git question
John Arbash Meinel
john at arbash-meinel.com
Thu Nov 19 15:43:14 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gordon Tyler wrote:
> John Arbash Meinel wrote:
>> Russel Winder wrote:
>>> When Bazaar branches from a Git repository how is it determined which
>>> Git branch is branched?
>>
>> IIRC it is always 'master' at the moment. There is some discussion about
>> what the URL should look like to reference a specific branch in a git
>> repository. Lots of potential options, but some implementation
>> difficulties.
>
> The first that springs to mind is the URL fragment. For example:
> git://github.com/python-git/python.git#py3k for the py3k branch of the
> Python SVN mirror on github.
>
> Ciao,
> Gordon
>
I think the issue is that # is meant to be evaluated client-side, so a
smart http server can't do much with it.
I believe the best-liked one was parameters, so:
http://path/to/base;branch
or was it
http://path/to/base;branch=foo
That would require escaping or quoting in the terminal, but at least it
gets sent to the server.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAksFZ5IACgkQJdeBCYSNAAP8iQCfZoSH420PhkuwNPcbRHUTuOqh
JIQAnR8MRstWJxZee3fgTfWOTdC6akED
=2+oU
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list