David --
> 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.
See:
man hg
In particular, check out the options:
-R, --repository
repository root directory or name of overlay bundle file
--cwd change working directory
If Mercurial works like git, then you should be able to use these to put
your repository and working directories in different places. You can
create aliases that automatically setup -R and --cwd like you want.
Alternatively, you could load your repository on one drive and clone
the repository to the other where you do your work. Just remember to
push your changes back to the original drive.
Best --
Ted
--
Ted Pavlic <
ted@...>
Please visit my 2009 d'Feet ALS walk page:
http://web.alsa.org/goto/tedp My family appreciates your support in the fight to defeat ALS.
_______________________________________________
Mercurial mailing list
Mercurial@...
http://selenic.com/mailman/listinfo/mercurial