Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 1747:91c56c427171
transitive copy/rename
Add support for transitive copy or rename operations, e.g.
hg rename a b
... (possibly edit b)
hg rename b c
hg commit ...
by actually renaming "b" as "c" while recording a copy of
"a" to "c" and a removal of "a".
author | Robin Farine <robin.farine@terminus.org> |
---|---|
date | Sat, 18 Feb 2006 07:37:59 -0800 |
parents | 2c9872a4f3fd |
children | d457fec76ab0 e9bf415a8ecb |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sat Feb 18 16:31:02 2006 +0100 +++ b/mercurial/localrepo.py Sat Feb 18 07:37:59 2006 -0800 @@ -597,7 +597,6 @@ if os.path.exists(p): self.ui.warn(_("%s still exists!\n") % f) elif self.dirstate.state(f) == 'a': - self.ui.warn(_("%s never committed!\n") % f) self.dirstate.forget([f]) elif f not in self.dirstate: self.ui.warn(_("%s not tracked!\n") % f)