temp directory.
Wagner Bruna
wagner.bruna+mercurial at gmail.com
Wed Nov 17 16:09:26 UTC 2010
On 11/17/2010 11:25 AM, Paolo Minazzi wrote:
> I keep my source code on a USB pen.
> To avoid writes on USB pen, the build is done on a harddisk partition.
> In this way I hope my USB pen will works for more time.
> I use mecurial to manage my source on USB pen.
> My question is :
> Does hg use temp files and directory in the same location of source
> code ? If yes, for which commands ?
> I would like to avoid hg writes/removes temp files on the USB pen.
If you want to avoid needless writes on the USB pen, I'd suggest doing
all your work on a separate clone on the hard disk, and push to the
pen drive after commit. Mercurial won't need a working copy inside the
pen drive repository, and it'll only write what's needed to record the
new revisions. And you'd get the additional benefit of an independent
separate copy of your project's whole history.
Regards,
Wagner
> Thanks in advance.
> Paolo
More information about the Mercurial
mailing list