[BUG?] info shows "." as the path to the branch in a shared repo
Aaron Bentley
aaron.bentley at utoronto.ca
Sun Jul 15 23:00:42 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Adeodato Simó wrote:
> Hello.
>
> Aaron, it seems that since your last cleanup in info.py, the path for
> branches under a shared repo is always "." (dot).
Not really accurate. All paths are shown as
1. a path relative the the cwd, if possible
2. an absolute local path, if possible
3. a url
So a dot is only shown if you're in the root of the branch you're
displaying. If you're in a subdirectory, the absolute path will be
shown. If you are in the repository root, the repository-relative path
will be shown.
> Is this intended?
Yes.
> Formerly, it used to be the relative path of the branch, which is more
> useful.
I changed it in order to be consistent with the way all other branch
locations are shown.
I also disagree about usefulness: the branch path is now a usable path
that you can copy and paste. To me, that makes it more, not less, useful.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGmpkK0F+nu1YWqI0RAu36AJ4mZnPL2cnXXAIRlt7VJRlSygb+EACfd8pU
KyT1EChVfoeRjvAvV5sazOU=
=V0FQ
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list