UI confusion / consistency
Aaron Bentley
aaron.bentley at utoronto.ca
Thu Nov 22 18:17:02 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
James Westby wrote:
> On Thu, 2007-11-22 at 10:50 -0600, Matthew D. Fuller wrote:
>> On Thu, Nov 22, 2007 at 05:03:10PM +0100 I heard the voice of
>> Nicholas Allen, and lo! it spake thus:
>>> The worst I think is that "bzr revert" is relative to the branch
>>> root and not cwd.
>> Er. Revert DOES take paths relative to cwd...
>>
>>
>
> I read it as 'revert acts on the whole tree, even if you are in
> subdirectory', is that what you meant Nicholas?
That is true of most bzr commands; if you want to act on the CWD, you
can easily supply ".". If "." were the default, there would be no way
of easily getting the other behavior.
And philosophically, it makes sense to consider the whole tree by
default. We are a whole-tree tool, and believe that changes to one file
may often affect files in other parts of the tree. If, say, commit
defaulted to the CWD, there would be a lot more commits that failed to
commit all the necessary changes.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHRcee0F+nu1YWqI0RAro9AJ9zG5SGKsYR2k9ZclUYeax1lTugSQCeIEZ3
622qgF4FvQvIvBVUgcnIKbs=
=xbKf
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list