Help removing files (and good mercurial usage)
Jesse Glick
jesse.glick at sun.com
Sat Feb 16 12:17:31 CST 2008
Francisco Diaz Trepat - gmail wrote:
> Am I using mercurial correctly by zipping top folder and using it on
> another computer.
Assuming you have no uncommitted local modifications, safer and better
is to run
hg bundle --base null /media/usb/myprj.hg
when you are done working, then when you get to the next machine just run
hg unbundle /media/usb/myprj.hg
hg up
which will pull in all changesets you don't have here already. The
bundle will also be substantially smaller than a zipped-up working copy.
(You can use a different --base if your project is big and you want to
save only incremental changes, though you then need to remember which
was the last change you had on the other machine.)
More information about the Mercurial
mailing list