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

Re: cvs2svn: converted repository doesn't match cvs

From: mark benedetto king <mbk_at_lowlatency.com>
Date: 2003-09-23 14:50:19 CEST

On Mon, Sep 22, 2003 at 10:37:53PM +0100, Max Bowsher wrote:
>
> > http://subversion.tigris.org/issues/show_bug.cgi?id=1530
> > - cvs2svn: rcs bug causes invalid file data
>
> I'm afraid I'm not too sure what to do about this one. At least we know
> about it now, though.
>

AFAICT, this bug happens when you have, on the last line of a file,
what appears to RCS to be a $Keyword: ... $ construct, but have
neither the closing $ nor a newline at the end of the file.

As a first step, we could warn if the last char of a file is '@' rather
than '\n'. We may want to just stop here.

As a second step, we could only warn if the above holds, AND the last
line of the file matches the above constraints. This may also be an
acceptable stopping place.

As a final step, we could actually remove the trailing @ if all of the
above contraints hold AND the raw RCS file's text for the entry (which
is available from rcsparse) ends with "@" but not "@@@".

-ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 23 14:52:10 2003

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

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