Can Mercurial repositories safely be moved/renamed/etc.

mercurialrename

Can I move the directory a local Mercurial repository is contained in without breaking it, or does it know where it lives and expect it to live there forever? (Coming from SVN with its switch/relocate requirements for moving local repos.)

Best Answer

In short, yes. You can move the .hg repository folder and then pull a new copy of your source.

Related Topic