Cygwin and Win32 native support
Guido Ostkamp
hg at ostkamp.fastmail.fm
Tue Mar 11 13:17:20 CDT 2008
On Mon, 10 Mar 2008, Matt Mackall wrote:
> On Mon, 2008-03-10 at 22:40 +0100, Guido Ostkamp wrote:
>> I thought that bundles could only be used for updating an existing repo
>> where the bundle and the existing repo share some common history.
>>
>> Am I wrong?
>>
>> On the Unix box I will initially have nothing.
>
> All repositories have a common ancestor, namely the null (empty)
> revision. So all you need is to make a full bundle that goes all the way
> back to null (with -a or --base null) and apply it to an empty repo (hg
> init; hg unbundle).
Thank you for the info (also to all others, who provided similar hints).
That brings up another question:
If I have two bundles from two independant repos which both include the
full history starting from revision null, is it then possible to use
unbundle to merge the two repos into one preserving the complete history?
Regards
Guido
More information about the Mercurial
mailing list