$ hg clone ns-3-dev ns-3-foo
updating working directory
948 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cd ns-3-foo/
$ ls
AUTHORS CHANGES.html examples/ ns3/ regression/ RELEASE_NOTES scratch/ utils/ waf* wscript
bindings/ doc/ LICENSE README regression.py samples/ src/ VERSION waf.bat* wutils.py
$ rm -rf *
$ hg up
11 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ ls
AUTHORS CHANGES.html LICENSE README regression.py RELEASE_NOTES VERSION waf* waf.bat* wscript wutils.py
Where did all the subdirectories go? How can I get them back?
2 comments:
hg rollback ?
The "rm -rf *" is not an hg transaction, so there is nothing for hg to rollback...
Post a Comment