Stitch two 'unrelated' repositories together

Arne Babenhauserheide arne_bab at web.de
Thu Jun 18 10:38:07 CDT 2009


Am Donnerstag, 18. Juni 2009 16:36:41 schrieb KrisVH:
> Your script works, but it doesn't give me a nice linear history.

I didn't try to get a linear history, so that's a given... 

I think the issue might be, that what Mercurial has are the diffs. 

The last revision of your SourceSafe repo includes a few changes which lead to 
the base state. 

The first revision of the git repo includes full file adds which lead to the 
same state. 

(I hope you didn't change your files when switching from SourceSafe to git 
before doing the first git commit). 

What you could try is just transplanting the git repo from the *second* 
revision onwards (the second one has real diffs again - instead of full files 
adds). 

Best wishes, 
Arne

--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- 
   - singing a part of the history of free software -
              http://infinite-hands.draketo.de




More information about the Mercurial mailing list