[RFC] make branch implicit nicknames repository aware.

Robert Collins robertc at robertcollins.net
Wed Feb 15 22:47:52 GMT 2006


On Wed, 2006-02-15 at 16:21 -0600, John A Meinel wrote:
> 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?

The current code does.

>  I
> thought we would only have checkouts into the repository that was
> somewhere else. (ie repositories would never have working trees).

I understood we wanted a policy to control what we do by default, but I
don't recall wanting to force a specific behaviour.

> 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).

The current repository branch code supports that.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060216/24b88ffa/attachment.pgp 


More information about the bazaar mailing list