[Bug 3580] New: Forget doesn't work if the file is in the nested repository
bugzilla-daemon at bz.selenic.com
bugzilla-daemon at bz.selenic.com
Wed Aug 8 17:32:17 CDT 2012
http://bz.selenic.com/show_bug.cgi?id=3580
Priority: normal
Bug ID: 3580
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: Forget doesn't work if the file is in the nested
repository
Severity: bug
Classification: Unclassified
OS: All
Reporter: zerkms at zerkms.ru
Hardware: PC
Status: UNCONFIRMED
Version: 2.3
Component: Mercurial
Product: Mercurial
If we add (and not commit) some file "F" to a repository and after that created
a nested repository so that the file "F" became part of the nested repo - we
don't have chance to forget the file "F" in outer repository
Steps to reproduce:
$ hg init
$ mkdir nested
$ touch nested/file
$ hg add nested/file
$ cd nested/
$ hg init
$ cd ..
$ hg forget nested/file
Expected: file is forgotten
Actual:
> abort: path 'nested/file' is inside nested repo 'nested'
And now I'm in stuck about how to forget the file (in my real repository)
without re-checking out it.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list