[issue1468] hg revert and status works incorrectly if inotify is enabled

Alpar Juttner mercurial-bugs at selenic.com
Wed Jan 14 05:47:32 CST 2009


New submission from Alpar Juttner <alpar at cs.elte.hu>:

If inotify is enabled, 'hg status' does not report missing subdirectories (I
mean, the files in that subdir) and 'hg revert -a' does not restore them.

Here is how to reproduce this problem:

$ hg init x
$ cd x
$ echo a>a
$ mkdir b
$ echo b>b/b
$ hg add
adding a
adding b/b
$ hg ci -m X
$ rm -r *
$ hg st
! a
$ hg revert -a
reverting a
$ 

The problem appears with version 1.1.2.

Without inotify, it works correctly.

----------
messages: 8396
nosy: alpar
priority: bug
status: unread
title: hg revert and status works incorrectly if inotify is enabled

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1468>
____________________________________________________



More information about the Mercurial-devel mailing list