New User Question: Can the work directory and repository reside in different locations?

David Knoll David_Knoll at starkey.com
Fri Oct 30 00:04:05 UTC 2009


Hello all,

I'm a new Mercurial user and I have a basic question.  Can a Mercurial repository be located in a different directory/drive than its working directory?  I'd like for my working directory to reside on my local hard drive and the repository to reside on a mapped network drive that is backed up nightly.

Using TortoiseHg I can create repositories anywhere but I find I can only add files to a repository that resides within my working directory.  I don't see anywhere in the documentation any examples that indicate that the repository can reside elsewhere.  Is this possible with Mercurial?  I used to be able to do this with PVCS.

Thanks in advance for any clarifications or suggestions.

David Knoll

P.S. BTW, I'm running on Windows Vista 64-bit.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20091029/0cfc28e6/attachment-0001.html>


More information about the Mercurial mailing list