[Bug 5901] New: when run from subdirectory, "hg rm *" deletes current working directory

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue May 29 21:33:48 UTC 2018


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

            Bug ID: 5901
           Summary: when run from subdirectory, "hg rm *" deletes current
                    working directory
           Product: Mercurial
           Version: 4.6
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: martinvonz at google.com
                CC: mercurial-devel at mercurial-scm.org

$ mkdir dir
  $ echo x > dir/x
  $ hg ci -Aqm add
  $ cd dir
  $ hg rm -q x
  $ hg st
  abort: error getting current working directory: $ENOENT$
  [255]
  $ cd $TESTTMP/a
  $ hg co -qC .

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


More information about the Mercurial-devel mailing list