[Bug 3921] New: Tracked files under ignored directories indicated as deleted

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri May 3 09:09:19 CDT 2013


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

          Priority: normal
            Bug ID: 3921
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Tracked files under ignored directories indicated as
                    deleted
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: s7an10 at netscape.net
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.6-rc
         Component: Mercurial
           Product: Mercurial

Using the "tortoisehg-stable-2.7.2174.123-x64-7b2a0a64ceca.msi" package under
Windows 7:

https://bitbucket.org/tortoisehg/thg-winbuild/downloads

  $ hg --version
  Mercurial Distributed SCM (version 2.6-rc+23-f01a351db791)
  (see http://mercurial.selenic.com for more information)

  Copyright (C) 2005-2012 Matt Mackall and others
  This is free software; see the source for copying conditions. There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Init a repo:

  $ hg init

Create a "foo/bar" file and commit:

  $ mkdir foo
  $ echo baz> foo/bar
  $ hg add
  $ hg commit -m "Initial"

Mark everything else in the "foo" directory as ignored:

  $ echo ^foo$> .hgignore

For some reason Mercurial 2.6 indicates files explicitly added under "foo" as
'deleted':

  $ hg status
  ! foo/bar
  ? .hgignore

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


More information about the Mercurial-devel mailing list