git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Aug 4, 2012, 15:58 UTC
Message-ID
<m2pq76vecd.fsf@igel.home>
In-Reply-To
<9510482012.20120804170149@gmail.com>
Ilya Basin <basinilya@gmail.com> writes:
Show 26 quoted lines
> AS> Ilya Basin <basinilya@gmail.com> 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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Ilya BasinNext: Junio C Hamano
Message 4 of 6 in “git cvsimport: new tags not imported on second cvsimport”
  1. Ilya BasinAug 4, 2012
  2. Andreas SchwabAug 4, 2012
  3. Re[2]: git cvsimport: new tags not imported on second cvsimportIlya Basin, Aug 4, 2012
  4. Andreas SchwabAug 4, 2012
  5. Junio C HamanoAug 4, 2012
  6. Andreas SchwabAug 4, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.