[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: Max Bowsher <maxb_at_ukf.net>
Date: 2003-11-14 21:01:13 CET

Andreas Schildbach wrote:
> 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?

Not sure. This is the only one I am aware of - but I don't use cvsnt myself.

> 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

Possibility of accidental match in log or content.
Possibility of author names containing spaces.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 14 21:02:51 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.