romain.arcila at free.fr

Martin Geisler mg at daimi.au.dk
Thu Mar 27 07:03:50 CDT 2008


Romain ARCILA <romain.arcila at free.fr> writes:

Hi Romain

> I have a simple question (i search on google and mercurial FAQ
> without finding answers), i'd like to move my repository to another
> directory (on the same computer), does a "cp repository new_path" is
> enough or i will loose my repository?

That will work fine. You can move your repository around as you
please, Mercurial does not track where the repository is store.

If you have cloned your repository, then you will find that the clones
can no longer reach the moved repository. You will simply have to
update the [paths] section of the .hg/hgrc file in the clones to make
them work like before.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.



More information about the Mercurial mailing list