[Bug 87548] Re: bzr add and revert on symlink deletes symlink
Kent Gibson
warthog618 at gmail.com
Sat Jul 14 03:13:59 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aaron Bentley wrote:
> Kent Gibson wrote:
>
>> All I want is some command that will undo an accidental add. For
>> normal files that appears to be revert. For symlinks ???
>
> For all files, it is "bzr remove --keep".
>
So it does. Not being a big user of bzr remove, in fact I don't think
I've ever used it, I hadn't thought of that.
I'm still interested in the explanation for the inconsistent behaviour
of bzr revert.
I'm also inclined to think the appropriate command to undo an
accidental add should be revert. To use other examples, if I
accidentally remove a file then revert is used to put it back. If I
move a file accidentally, then revert will move it back. That makes
revert feel like an undo command, and, be it by accident or design,
that is a feature I like. I don't like having to think which commands
revert does work for and which commands require a different undo
command. And to add to the confusion, revert does work as I expect
for normal files, but not symlinks.
If that behaviour is by design then can you please explain the
rationale, cos I don't get it.
Cheers,
Kent.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGmDFmgoxTFTi1P8QRAu0fAJ9IHrRQLNvVpmzTG6M5mt/boB+XugCePQBm
U0v83hkaIkZNX3P7B92jvBo=
=gB51
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list