[Kde-scm-interest] How to handle conversion errors

Andreas Pakulat apaku at gmx.de
Sat Feb 27 19:37:02 CET 2010


Hi,

feel free to just send me off to some website/doc-file that tells me how
to do this.

So I've tried to convert kdevelop from svn to git with svn2git.
Unfortunately the result shows a couple of problems:

- some tags and branches exist multiply, i.e. I have 3.9.93 and
  3.9.93_973742, I guess this is because of full re-tagging, do I just
  add rules that ignore the the revisions that are listed in xxx_<rev>?

- tags that have changed as a revision from trunk has been merged in
  look slightly off in gitk:
  *
  |  *
  | /
  *
  |

- Some kdevelop releases where done as part of KDE 3.5.x but they don't
  have the same patch-level version, I guess I need to handle these tags
  manually?

- moving around for KDevelop 3.x. Initially KDevelop 3.3 was part of KDE
  3.5, 3.4 was developed separately in branches/kdevelop/3.4. Then at
  some point branches/KDE/3.5/kdevelop was moved to
  branches/kdevelop/3.3 and 3.4 was moved to branches/KDE/3.5/kdevelop.
  Then we copied KDE/3.5/kdevelop to branches/kdevelop/3.5 to work on
  3.5 release there. For KDE 3.5.8 we merged various changes to
  branches/KDE/3.5/kdevelop and tried to keep both in sync until we
  dropped branches/kdevelop/3.5 completely

Any suggestions how to handle these cases to get a proper history would
be appreciated. Especially the latter seems to be kinda complicated.

Last but not least it seems there are some tags that don't relate to any
history at all. I'm guessing they've been created from branches that
don't exist anymore right now. Am I right that adding a rule for the
path with a specific min/max revision would help with that?

Andreas

-- 
Perfect day for scrubbing the floor and other exciting things.


More information about the Kde-scm-interest mailing list