How do I generate a full bundle?

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Aug 28 03:53:53 CDT 2007


On 2007-08-28 09:13, Peter Arrenbrecht <peter.arrenbrecht at gmail.com> wrote:
> Hi list
>
> I want to create a bundle that can be unbundled in a pristine hg
> repository, like so:
>
>   mkdir new
>   cd new
>   hg init
>   hg unbundle ../product.hg
>
> 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

> == The Question ==
>
> So: Is there a good way to create product-<version>.hg containing
> *all* revisions? Now and for future releases?

Yes, with "bundle" or "clone" :-)



More information about the Mercurial mailing list