[issue816] revert doesn't revert perm changes

Vincent Danjean mercurial-bugs at selenic.com
Fri Nov 2 13:53:12 CDT 2007


New submission from Vincent Danjean <vdanjean.ml at free.fr>:

Hi,

  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

  Best regards,
    Vincent

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.
>

----------
files: typescript
messages: 4253
nosy: 427060, jgoerzen, vdanjean
priority: bug
status: unread
title: revert doesn't revert perm changes

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue816>
____________________________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: typescript
Url: http://selenic.com/pipermail/mercurial-devel/attachments/20071102/a1dd15f7/attachment.txt 


More information about the Mercurial-devel mailing list