#466498 git-cvs: cvsimport (badly) re-imports deleted branches

Package:
git-cvs
Source:
git
Submitter:
Frédéric Brière
Date:
2010-03-06 19:27:04 UTC
Severity:
normal
#466498#5
Date:
2008-02-19 05:53:59 UTC
From:
To:
After having cleaned up an imported CVS repo, deleting branches that
have been merged back (and one or two that had been created by mistake),
I tried running cvsimport again.  I was a bit surprised to see it
recreate all the branches I had deleted (though I can understand why it
would do so).

The real issue, though, is that cvsimport re-creates these old branches
over the *current* state of the parent branch.  (Moving tags in the
process, which is the one area in git where fixing mistakes is a PITA.)

Seems to me that cvsimport should check the timestamps and/or patchset
numbers, and either refuse to create an older commit from a newer one,
or perform a checkout to the appropriate branch point beforehand.

#466498#10
Date:
2010-03-06 19:24:29 UTC
From:
To:
tags 466498 + wontfix upstream help
thanks

Hi Frédéric,

Frédéric Brière wrote:
[...]

I am a bit of a fool as far as cvsimport usage goes, and hoping to
find some free time to work on git remote-cvs [1] so I don’t have to
use it again.  The upstream status of it seems to be “odd fixes” as
well.  Still, if you write a rough patch, I would be glad to look at
it.

Jonathan

[1] which you can find by searching for “CVS remote helper” at
<http://dir.gmane.org/gmane.comp.version-control.git>.  gmane seems
to be down today, or I’d give a direct link.