[Bug 5970] New: deleted file detected despite being in .hgignore'd folder

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sat Aug 25 14:30:20 UTC 2018


https://bz.mercurial-scm.org/show_bug.cgi?id=5970

            Bug ID: 5970
           Summary: deleted file detected despite being in .hgignore'd
                    folder
           Product: Mercurial
           Version: 3.7.3
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: teo8976 at gmail.com
                CC: mercurial-devel at mercurial-scm.org

Within the repo's main folder I have this .hgignore file:

"""
syntax:regexp
~$
^iframe\.xxx\.com/storage/framework/sessions
^iframe\.xxx\.com/storage/logs
^\.env$
"""

So, the directory iframe.xxx.com/storage/framework/sessions is supposed to be
ignored.

I once had a file in that directory which was then deleted.

Now "hg status" shows that file as deleted, despite the fact that it is not
suppose to track it:

> $ hg status
> ! iframe.xxx.com/storage/framework/sessions/xLoyiq28616NGUd76S1tyFChO0UAdwTiisyYMP6U

I have tried adding and deleting other files in that same folder, and they are
ignored as expected. However this one keeps showing up as deleted

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


More information about the Mercurial-devel mailing list