karakufire
karakufire

Reputation: 11

Extra directory can be created in hg rename-ing directory

I try to rename directory which includes largefile-normal mixed via hg rename <orig-dir> <dest-dir>, and results as this:

I'm annoyed by this behavior, I'd like to know how to resolve this problem.

Upvotes: 1

Views: 71

Answers (1)

Tom
Tom

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

Related Questions