undoing a hg addremove mistake
Luke Mergner
lmergner at gmail.com
Thu Jan 9 19:36:13 UTC 2014
Hi,
I am trying to recover some files from my working directory (a python
project). Somehow using Vim, I created a file named ";". Having forgotten
about it, I later "hg addremove", which added the bad file. Being clever, I
decided to remove it with hg by saying...
$ hg remove directory/;
...which removed a about a dozen files in several child directories. I
haven't committed yet. However, saying "hg add *" doesn't seem to do
anything since the files appear to be completely gone. Is this the case
even though I didn't say --force?
Is there anyway to recover these files at this point? I'd like an expert
opinion before I commit and move on.
A caveat: I am a hobbyist and while I try to learn as much as I can about
the tools I use, obviously I still have a lot to learn.
Mercurial 2.6.2
Debian Wheezy
Thanks,
Luke Mergner
lmergner at gmail.com
Glendale, CA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140109/31dcc395/attachment-0002.html>
More information about the Mercurial
mailing list