[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Empty file problem with cvs2svn.py!

From: Andreas Schildbach <andreas_at_schildbach.de>
Date: 2003-11-14 19:05:13 CET

Max Bowsher wrote:

> Aha! The mystery is explained - you are using cvsnt!
>
> During conversion, I imagine you should see messages like:
> [[[
> co: foo/foo,v:9: missing author
> co aborted
> ]]]
>
> The basic RCS format defines "author" as an identifier.
> CVSNT redefines "author" as an RCS @-string. This allows cvsnt to allow
> spaces, periods, etc. in author names, *but* makes the resulting RCS files
> incompatible with standard tools.

Is there any other incompatiblities regarding cvs-nt and standard cvs?

I just pulled out all my shell programming skills (which are next to
none) and "invented" the following repository repair script. Did I
forget something?

Regards,

Andreas

#!/bin/csh

foreach f (`find . -name "*,v" -type f -print`)
   echo $f
   sed 's/author \@\(.*\)\@;/author \1;/g' $f > temp
   mv temp $f
end

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 14 19:16:59 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.