Mercurial hg mv doesn't move all files
Probably an easy one but I haven't dug up anything with the usual search queries so I thought I'd ask here. Basically I'm trying to rearrange my repo; for example:
mkdir test
hg mv DirectoryOfStuff test/
Mercurial moves most of the contents but it leaves some directories an files behind. So far I haven't seen any pattern to what it moves and what it doesn't.
Is there an obvious rule or command that I'm missi开发者_运维问答ng?
Thanks!
hg mv
moves tracked files, not ignored or unknown ones.
To move everything and still record tracked files as a moved, use a regular (non-hg) move command and then hg addremove -s 100
. The addremove command retrofits your file operations as add/remove/rename/move.
Use less than 100 to allow changes in file content & names.
精彩评论