Alexander
Alexander

Reputation: 48252

Move a file inside a mercurial forest from one repo to another?

Is there an hg command to move a file within a forest from one repo to another? That is, a command, similar to what hg mv does for a single repository? Or do I have to delete the file in one repo and create a copy in the another repo?

Upvotes: 0

Views: 93

Answers (1)

Mark Tolonen
Mark Tolonen

Reputation: 177610

There are no commands to move files between repositories, so yes, copy and commit the file in the other repo and delete from the original.

Upvotes: 1

Related Questions