Reputation: 11
I try to rename directory which includes largefile-normal mixed via hg rename <orig-dir> <dest-dir>
, and results as this:
orig/foo.png
(largefile) → dest/orig/foo.png
orig/bar.txt
(normal) → dest/bar.txt
I'm annoyed by this behavior, I'd like to know how to resolve this problem.
Upvotes: 1
Views: 71
Reputation: 6709
I guess what you are seeing is because the folder has a file which isn't tracked by mercurial.
Workaround might be to rename the folder then run hg rename --after
For example (windows):
ren orig dest
hg rename --after orig dest
Upvotes: 1