How do I generate a full bundle?

Benoit Boissinot bboissin at gmail.com
Tue Aug 28 06:54:49 CDT 2007


On 8/28/07, Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> 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
>

to get a full bundle from a remote repo:
hg incoming --bundle from an empty repo (but the bundle is uncompressed)


More information about the Mercurial mailing list