[issue816] revert doesn't revert perm changes
mercurial-bugs at selenic.com
Fri Nov 2 13:53:12 CDT 2007
New submission from Vincent Danjean <vdanjean.ml at free.fr>:
Here is a Debian bug (#427060, http://bugs.debian.org/427060 )
that shows that mercurial does not handle correctly permissions
with the revert operation.
I add a small typescript that show how to reproduce this kind of
problem with mercurial 0.9.5
John Goerzen wrote:
> On Fri, Jun 01, 2007 at 06:35:24PM +0200, Thomas Arendsen Hein wrote:
>> * John Goerzen <jgoerzen at complete.org> [20070601 18:01]:
>>> Package: mercurial
>>> Version: 0.9.3-2
>>> Severity: normal
>>> this leads to the odd situation where:
>>> hg revert --all
>>> hg commit
>>> actually commits changes.
>> Is the file owned by someone else? Then you should have noticed an
>> error like "Operation not permitted".
> No, owned by me.
> Actually, I'm not sure that my permissions diagnosis was correct. hg
> status showed modified files, hg log -v after the commit showed modified
> files, but hg export --git didn't show any changes. hg status after
> commit no longer showed modified files, but after hg rollback, once
> again did.
nosy: 427060, jgoerzen, vdanjean
title: revert doesn't revert perm changes
Mercurial issue tracker <mercurial-bugs at selenic.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mercurial-devel