HG bundle file size

Sebastian Unger sebunger44 at gmail.com
Tue Aug 5 10:02:39 UTC 2014


Hi there,

I'm not sure whether this should be directed here or the developer list.
Let me know if I should take this over there.

I am a bit confused about the size of the files generated with the hg
bundle command. I often use those to transfer or store changesets that I'm
not prepared to push for various reasons. These files seem extraordinarily
large to me. For instance, in the case I'm looking at right now, I'm trying
to bundle up 4 changesets with a couple one-line changes each. The
changesets I want are in draft, everything else is public. For comparison I
also export the same changesets and pass the resulting diff through bz:








*seb at eragon:~/Documents/TTDE/TerminalsRoot$ hg bundle -r 'draft()' --base
'public()' bundled.hg4 changesets
foundseb at eragon:~/Documents/TTDE/TerminalsRoot$ hg export -r 'draft()' |
bzip2 -c >bundled.diff.bz2seb at eragon:~/Documents/TTDE/TerminalsRoot$ ls
-ltotal 208-rw-r--r-- 1 seb users   1700 Aug  5 21:58
bundled.diff.bz2-rw-r--r-- 1 seb users 206878 Aug  5 21:57 bundled.hg*
I thought that an export stores most of the info in a bundle (So far I only
found grafts can't be imported with --exact) and in fact more than a bundle
(diffs have lots of context that is not needed in a bundle).

Am I missing something here?

I am using Mercurial V 2.6.3 as shipped with Ubuntu 13.10.

Cheers,
Seb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140805/5c1afe6f/attachment-0002.html>


More information about the Mercurial mailing list