Comment 4 for bug 492239

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 492239] Re: bzr branch auto name should remove .git

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jelmer Vernooij wrote:
> The name is determined by bzr, not by bzr-git
>
> ** Project changed: bzr-git => bzr
>

It sounds like we should provide a hook that bzr-git could use. I don't
think we want to hard-code inside bzr
if url.endswith('.git'):
 url = url[:-4]

We could, but a more flexible "map source name to default output name"
seems better.

Then again, just because another tool does it that way doesn't mean we
have to. The user can just as easily give a target name....

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksq4L8ACgkQJdeBCYSNAAP2+wCaAsi7u/mnLDhxkh91WBj/Cnni
j50AoI0J3Trxa+jZJsj+IZP8N0bglO8S
=Jbdb
-----END PGP SIGNATURE-----