Problem with excluding tags/branches from import
Diomidis Spinellis <[email protected]> Sun, 06 Jul 2014 20:46:09 +0300
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to import a large project with many symbols assigned to
multiple revisions, as is the case in the following example.
head 1.2;
access;
symbols
V_0_1_2_4:1.1.1.1
V_0_1_2_4:1.1.1;
locks; strict;
The import fails with errors pointing to duplicate symbols. I was
hoping to get around this by whitelisting a few reasonable tags/branches
and excluding the rest. However, even a simple command to exclude
everything, like the following, apparently fails to exclude any revisions.
cvs2svn-2.4.0/cvs2git --exclude='.*' --blobfile=/dev/null
--dumpfile=/dev/null --username=dds x
----- pass 1 (CollectRevsPass) -----
Examining all CVS ',v' files...
x/Makefile,v
ERROR: Multiple definitions of the symbol 'V_0_1_2_4' in 'x/Makefile,v':
1.1.1.1 1.1.1
Pass 1 complete.
===========================================================================
Error summary:
ERROR: Multiple definitions of the symbol 'V_0_1_2_4' in 'x/Makefile,v':
1.1.1.1 1.1.1
Exited due to fatal error(s).
I've tried the same approach by setting the ExcludeRegexpStrategyRule in
the options file, both with a specific revision name, and a .* regular
expression, again without any effect.
This is a copy of a file I'm experimenting with:
head 1.2;
access;
symbols
V_0_1_2_4:1.1.1.1
V_0_1_2_4:1.1.1;
locks; strict;
comment @# @;
1.2
date 93.07.02.08.51.38; author root; state Exp;
branches;
next 1.1;
1.1
date 93.06.12.14.45.30; author rgrimes; state Exp;
branches
1.1.1.1;
next ;
1.1.1.1
date 93.06.12.14.45.31; author rgrimes; state Exp;
branches;
next ;
desc
@@
1.2
log
@New manual page system
@
text
@# @@(#)Makefile 5.4 (Berkeley) 2/12/91
PROG= vipw
SRCS= pw_util.c vipw.c
MAN8= vipw.8
.include <bsd.prog.mk>
@
1.1
log
@Initial revision
@
text
@d5 1
a5 1
MAN8= vipw.0
@
1.1.1.1
log
@Initial import, 0.1 + pk 0.2.4-B1
@
text
@@
------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=3084623
To unsubscribe from this discussion, e-mail: [[email protected]].