threads / discuss / 6519

cvsimport/cvsps: not all tags imported

Subject: cvsimport/cvsps: not all tags imported

## tl;dr

One message between Jan 25, 2007 and Jan 25, 2007.

replies: 0people: 1as markdown or json

Gerrit Pape· Jan 25, 2007, 14:14 UTC · lore
Hi, if there're two tags on exactly the same revisions of files in CVS,
git-cvsimport only imports one of these tags.  Not sure whether
cvsimport or cvsps is at fault, I use cvsps from
 http://ydirson.free.fr/soft/git/cvsps.git
Here's how to reproduce:

$ cvs -d /tmp/cvs init $ mkdir repo && cd repo $ cvs -d /tmp/cvs import -m initial repo vendor-tag release-tag

No conflicts created by this import

$ cd .. && rmdir repo $ cvs -d /tmp/cvs co repo cvs checkout: Updating repo $ cd repo $ echo foo >a $ cvs add a cvs add: scheduling file `a' for addition cvs add: use `cvs commit' to add this file permanently $ cvs ci -m a cvs commit: Examining . /tmp/cvs/repo/a,v <-- a initial revision: 1.1 $ cvs tag TAG0 cvs tag: Tagging . T a $ cvs tag TAG1 cvs tag: Tagging . T a $ git-cvsimport -C git Committing initial tree 3203b318694e60d6edc9eb73937365384797625f $ ls -1 git/.git/refs/tags/ TAG1 $

Thanks, Gerrit.

← back to recent threads