Recommended windows compatible hg-safe filesystem?

Thomas Arendsen Hein thomas at intevation.de
Sat Dec 2 03:06:31 CST 2006


* Steve Borho <steve at borho.org> [20061130 17:19]:
> I recently acquired an external USB drive to carry some enormous repositories 
> between my home and office.  I need the drive to be both windows and linux 
> compatible, and to hopefully not cause case-sensitivity style corruption in 
> my repositories.
> 
> What fs is recommended for this purpose?

I recommend using a bundle file:

$ hg bundle --base 0000 /path/to/usb-drive/repo.hg

Besides having no problems with case-ignorant filesystems, it is
much smaller than the .hg directory contents.

I think the --base option was introduced after 0.9.1. If you're
using 0.9.1 or an older version of hg, you can use:

$ hg init ../dummy
$ hg bundle /path/to/usb-drive/repo.hg ../dummy

On the target side just pull the bundle into an empty repository.

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/


More information about the Mercurial mailing list