making checkouts, branches and repositories on disk - and the whole naming debate

Aaron Bentley aaron.bentley at utoronto.ca
Tue Jan 24 22:00:48 GMT 2006


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

Robert Collins wrote:
> Say we have a function like status that needs either a branch or a tree.
> 
> If it uses Branch.open_containing, should that skip up past a working
> tree to a  branch ? I.e. if ~ is versioned and ~/source/foo is a
> checkout of something else.
> 
> I thing Branch.open_containing should just skip past working trees
> without branches.

I think the only commands that should do open_containing are those that
operate on a tree or a branch.  They should stop at the first .bzr they
see, and when they need a branch, they should open the one associated
with that .bzr, whether or not it's at the same location.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD1qOQ0F+nu1YWqI0RArcRAJ9K+ffARfQhXYXshMGelVIlXWCGYACbBDY5
aRvcBuqD7cG/MIz+S2KE5pU=
=e4gA
-----END PGP SIGNATURE-----




More information about the bazaar mailing list