Subject: Re: git cvsimport: new tags not imported on second cvsimport

From: Andreas Schwab <[email-masked]>
Date: Sat, 04 Aug 2012 17:58:26 +0200

Ilya Basin <[email-masked]> writes:

> AS> Ilya Basin <[email-masked]> writes:
>
>>> I made the initial import:
>>>     git cvsimport -d :pserver:user@blackbird:10010/data/cvs/webgui -C SAP -r cvs -k SAP
>>>
>>> edited .git/config:
>>>     [cvsimport]
>>>             module = SAP
>>>             r = cvs
>>>             d = :pserver:user@blackbird:10010/data/cvs/webgui
>>>
>>> did some commits to CVS and created a new tag
>>>
>>> Then ran:
>>>     git cvsimport -ak
>>> To synchronize with CVS.
>>>
>>> The new commits were imported, but the new tag wasn't.
>
> AS> cvsimport never reconsiders changesets that were already imported, so if
> AS> the tag was added to such a changeset it won't be seen.
>
> AS> Andreas.
>
>
> Do you mean, if I tag BEFORE cvsimport, it will be imported?

If you tag one of the new commits it will be imported.

> How to make the git repo "forget" the last cvsimport?

Reset the branch back to before the import.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."