How do I generate a full bundle?

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Aug 28 05:31:51 CDT 2007


On 2007-08-28 11:23, Peter Arrenbrecht <peter.arrenbrecht at gmail.com> wrote:
>>> I did not, however, find an easy way to tell hg to include *all*
>>> revisions. I did try
>>>
>>>   hg bundle --base 0 ...
>>>
>>> but then r0 is omitted.
>>
>> Try 'null', which is an alias for the "magic" revision -1:
>>
>>     hg bundle --base null ../bundle.hg
>
> Works like a charm. Thank you.
>
>>> So: Is there a good way to create product-<version>.hg containing
>>> *all* revisions? Now and for future releases?
>
>> Yes, with "bundle" or "clone" :-)
>
> Can you clone directly to a .hg file? I tried, but did not succeed.

I think you can only write bundle files with "hg bundle", I haven't
tried pulling from a remote repository into an Hg bundle, but I don't
think it works even with:

    hg -R bundlefile http://repo/path



More information about the Mercurial mailing list