Can't hg add ../file
Mikael Berthe
mikael.berthe at lilotux.net
Fri Jul 29 08:06:39 CDT 2005
It seems hg add does not handle parent directory well.
I think I have had the same problem with update (doing "pull -u" in a
subdir, actually, which refused to remove a file in the parent dir).
Example:
$ mkdir hgt ; cd hgt ; hg init
$ touch plop
$ mkdir test ; cd test
$ hg add ../plop
$ hg commit ../plop
plop not tracked!
nothing changed
$ cd ..
$ hg commit plop
[ok now]
--
MiKael
More information about the Mercurial
mailing list