List Info

Thread: $Id strings not correct after conversion using 2.0.0 (with --keywords-off)?




$Id strings not correct after conversion using 2.0.0 (with --keywords-off)?
user name
2007-08-29 16:53:02
Hi,

I ran a conversion using 2.0.0 (with --keywords-off), and
saw the strangest thing. Most (probably all) files with $Id
strings contained the $Id string from the PREVIOUS version
instead of the current version. The actual file content was
from the current version, except for the $Id string!

When I ran 1.5.1 (using exactly the same command line), it
did the right thing, and the top of tree from the SVN
repository was identical to that of the CVS repository.

But if I compared it to the 2.0.0 repository all the $Id
strings were different (the $Id strings were not from the
top of tree, they were from the previous versions of the
files).

The command line I used was:

./cvs2svn --no-default-eol --encoding=utf_8
--fallback-encoding=cp1252 --keywords-off
--exclude=b[0-9][0-9]_[0-9][0-9]_[0-9][0-9]_[0-9][0-9]_[0-9]
[0-9] --force-tag=PerfTuneBase --force-branch=initial -s
/var/opt/svn/cvs2svn2 /usr/shares/shared/cvsroot | tee
result.conv

Not sure what I could do wrong to get this result. Pretty
strange...
So I will be doing our conversion using 1.5.1.

Thanks,
C-J Lofstedt

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribecvs2svn.tigris.org
For additional commands, e-mail: users-helpcvs2svn.tigris.org


Re: $Id strings not correct after conversion using 2.0.0 (with --keywords-off)?
user name
2007-08-30 01:49:18
CJ Löfstedt wrote:
> I ran a conversion using 2.0.0 (with --keywords-off),
and saw the strangest thing. Most (probably all) files with
$Id strings contained the $Id string from the PREVIOUS
version instead of the current version. The actual file
content was from the current version, except for the $Id
string!
> 
> When I ran 1.5.1 (using exactly the same command line),
it did the right thing, and the top of tree from the SVN
repository was identical to that of the CVS repository.
> 
> But if I compared it to the 2.0.0 repository all the
$Id strings were different (the $Id strings were not from
the top of tree, they were from the previous versions of the
files).
> 
> The command line I used was:
> 
> ./cvs2svn --no-default-eol --encoding=utf_8
--fallback-encoding=cp1252 --keywords-off
--exclude=b[0-9][0-9]_[0-9][0-9]_[0-9][0-9]_[0-9][0-9]_[0-9]
[0-9] --force-tag=PerfTuneBase --force-branch=initial -s
/var/opt/svn/cvs2svn2 /usr/shares/shared/cvsroot | tee
result.conv
> 
> Not sure what I could do wrong to get this result.
Pretty strange...
> So I will be doing our conversion using 1.5.1.

Thanks for the problem report.

It would be great if you would help us figure out this
problem.  Does
the same thing happen if you add "--use-cvs" or
"--use-rcs"?  (I suspect
that the problem has to do with the new default
"--use-internal-co" option.)

(If one of those options works, then I would suggest that
you do your
conversion with 2.0 after all, as it fixes some other
problems.)

Michael

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribecvs2svn.tigris.org
For additional commands, e-mail: users-helpcvs2svn.tigris.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )