[Bug 3995] New: hg status shows "ignored" files as removed

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Jul 22 12:45:14 CDT 2013


http://bz.selenic.com/show_bug.cgi?id=3995

          Priority: normal
            Bug ID: 3995
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg status shows "ignored" files as removed
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: etobis at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.6
         Component: Mercurial
           Product: Mercurial

If I execute the following commands

hg init
mkdir directory
touch directory/file
hg add directory/file
hg commit -m nothing
echo '^directory$' > .hgignore
hg status

the output is

! directory/file
? .hgignore

I'm not sure whether it should show something for directory/file, but hg status
--help says

! = missing (deleted by non-hg command, but still tracked)

which isn't true in this case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list