Add earlier history retroactively?

Isaac Jurado diptongo at gmail.com
Thu Apr 8 15:26:52 CDT 2010


Replying Nikolaus Rath:
>
>> It's not really possible in a seamless way. Mercurial uses
>> cryptographic hashes as changeset identifiers and changing any bit in
>> a changeset's history will invalidate its hash. So if you manage to
>> stitch things together with convert and rebase, etc., you'll end up
>> with a repository that's incompatible with any clones of your old
>> repo.
>
> I guess I can live with that, I don't think that I have that many
> clones yet :-). What is going to happen with the clones? Are they
> going to get a (more or less useful) error message, or will things
> start to go mysteriously wrong?

At pull time, they will probably complain that the repositories are
unrelated.  Otherwise a new head will be created.

-- 
Isaac Jurado

"The noblest pleasure is the joy of understanding."
                                  Leonardo da Vinci


More information about the Mercurial mailing list