[Bug 3912] New: can't forget files in nested repos
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Sat Apr 27 20:25:24 CDT 2013
http://bz.selenic.com/show_bug.cgi?id=3912
Priority: wish
Bug ID: 3912
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: can't forget files in nested repos
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: sid0 at fb.com
Hardware: PC
Status: UNCONFIRMED
Version: unspecified
Component: Mercurial
Product: Mercurial
Interesting edge case I found:
$ hg init
$ mkdir foo
$ touch foo/bar
$ hg add foo/bar
$ hg st
A foo/bar
$ cd foo
$ hg init
$ cd ..
$ hg st
! foo/bar
This makes sense, but when you try to resolve this:
$ hg forget foo/bar
abort: path 'foo/bar' is inside nested repo 'foo'
The repo is now in an uncommittable state, unless you move foo/.hg somewhere
else first to fix it up.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list