[Bug 87548] Re: bzr add and revert on symlink deletes symlink
Kent Gibson
warthog618 at gmail.com
Mon Jul 16 15:17:30 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool wrote:
>
>> From the point of view of the versioned trees, the file was absent.
> But from the user's point of view it might have been present and
> unknown, in which case the right thing would be to unversion it and
> leave it in the tree.
>
My preference would certainly be that files manually added since the
last commit be unversioned but not removed. If you just remove them
then you may be deleting data which cannot be recovered, be they
normal files, symlinks, directories, whatever.
I can live with such behaviour from remove since it looks destructive
and has a --keep option if you dislike the heavy handed approach.
Revert has no such option.
>> 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.
>
> I hadn't realized that was the case but it does seem to be so. It
> should be consistent.
>
Hence the bug report.
Where do you suggest we go from here?
Cheers,
Kent.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGm335goxTFTi1P8QRAjheAJ9TC7zCGRdaxYat2kTewVcL8aT9rQCg+GoK
4IQxNrX+YKTX33vHr1nkXZk=
=351g
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list