HowTo obtain list or directory of branches in a repository
John Arbash Meinel
john at arbash-meinel.com
Tue Mar 18 18:55:01 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nathan Johnson wrote:
> Once a repository is made with
> init-repository
> or
> init-repository --no-trees
> , how can a user discover what branches are in the repository?
> If this is in the documentation, I'd be thankful for and consider it ample
> help to be told what document and chapter.
>
> Piggybacking this e-mail with another issue:
> Is this error expected behavior?
>
> bzr shell
> bzr> init-repository --no-trees .
> bzr> init ARepo
> bzr> cd ARepo
> bzr> add
> No WorkingTree exists for
> "file:///rhefos/njo/Repository/ARepo/.bzr/checkout/".
>
> If so, I don't understand how to use a --no-trees repository.
>
Since you have 'bzr shell' you have 'bzrtools' installed, and you can
use "bzr branches" to get a list of branches underneath a location.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH4BAFJdeBCYSNAAMRAvZeAKDOQIfYMBaHi5aVnQH5pTr1ljsOzQCgsx0y
xC+3duS5q4qFx5APuvhQPbs=
=JZvT
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list