Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2008-03-23 16:43:36
Size: 343
Editor: abuehl
Comment: moved from TipsAndTricks/Basic
Revision 7 as of 2013-08-30 21:49:56
Size: 473
Editor: rcl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
The best way to create a compressed version of a [:Repository:repository] is with a '''bundle'''. It will be significantly smaller than a tarball or a zip file. To include all revisions, simply specify the '''null''' base: The best way to create a compressed version of a [[Repository|repository]] is with a bundle. It will be significantly smaller than a tarball or a zip file. To include all revisions, simply specify the '''null''' base:
Line 9: Line 9:
After release 0.9.5 the switch `--all` was added as an alias to `--base null`, so you can use `hg bundle --all project.hg` instead.

Create a bundle of all changes

The best way to create a compressed version of a repository is with a bundle. It will be significantly smaller than a tarball or a zip file. To include all revisions, simply specify the null base:

$ hg bundle --base null project.hg

After release 0.9.5 the switch --all was added as an alias to --base null, so you can use hg bundle --all project.hg instead.


CategoryTipsAndTricks

CreateBundleOfAllChanges (last edited 2013-09-03 03:16:03 by KevinBot)