[RFC] make branch implicit nicknames repository aware.

John A Meinel john at arbash-meinel.com
Wed Feb 15 22:21:30 GMT 2006


Robert Collins wrote:
> I'd like to change the implicit branch nickname of basename(branch.base)
> to be the path inside the repository when a repo is in use.
> 
> I.e. for branch ~/repos/foo/bar/baz/quux with a repo at ~/repos/foo/,
> the nickname would be 'bar/baz/quux' by default.
> 
> 
> Rob

I agree. I think that is what names inside repositories are for. I often
wish I could do the same thing in my local directories. (I have
~/dev/bzr, and inside I have all sorts of bzr-* directories, just to get
a nicer nickname).

So are we planning on supporting repositories as working directories? I
thought we would only have checkouts into the repository that was
somewhere else. (ie repositories would never have working trees).

I can understand why we might want to relax that, but I think it had
some merit.

Also, if someone wants to put a repository at ~. Would we support having
a branch with no name? (so they could control ~/.bashrc).

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060215/74d122fd/attachment.pgp 


More information about the bazaar mailing list