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

Antwort: Re: cvs2svn.py fails converting repository with the attached file

From: <Markus.Gebhardt_at_etas.de>
Date: 2003-06-27 07:17:01 CEST

Hi,

since we have CVS repositories (who hasn't ? ;-)) I followed the
discussions on the cvs2svn script.

Speaking of the RCSfile author definition, does the skript handle strings
as authors?
CVSNT "extends" the RCS file definition in a way that author names with
special characters (spaces, dots etc.)
are allowed and then quoted by "@"s, thus, speaking in the RCSfile syntax,
allowing strings as author names, not only id's.

Does the conversion skript handle this or does it keep straight to the RCS
file definition?
(the file that started the discussion did not treat the author name
containing a space as a string, I know)
I'd think that dome of the repositories out there might be cvsnt
repositories, and may contain stuff like this.

regards,
Markus

>On Thu, Jun 26, 2003 at 06:42:30PM -0500, kfogel@collab.net wrote:
>> MBK writes:
>> > > rcsparse isn't technically part of svn, so I haven't committed
>> > > this change. :-(
>
>I'm not sure we should. The provided file is corrupt, per the RCS file
>specification. Type 'man rcsfile' and look at the spec for the author.
Or,
>you can read this:
>
http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=29647

Mit freundlichen Grüßen / with regards

Markus Gebhardt

ETAS/ESC-ES
Borsigstrasse 14
D-70469 Stuttgart
Tel. +49 (0)711 89661 278
markus.gebhardt@etas.de

Greg Stein <gstein@lyra.org>
27.06.2003 03:17

 
        An: kfogel@collab.net, David Summers <david@summersoft.fay.ar.us>, mark
benedetto king <mbk@lowlatency.com>, e.huelsmann@gmx.net
        Kopie: dev@subversion.tigris.org
        Thema: Re: cvs2svn.py fails converting repository with the attached file

On Thu, Jun 26, 2003 at 06:42:30PM -0500, kfogel@collab.net wrote:
> MBK writes:
> > > rcsparse isn't technically part of svn, so I haven't committed
> > > this change. :-(

I'm not sure we should. The provided file is corrupt, per the RCS file
specification. Type 'man rcsfile' and look at the spec for the author. Or,
you can read this:

http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=29647

If we want to be "nice" and go ahead parse the file, then I'd like to see
a
very clear comment in rcsparse.py about *why* we're allowing for invalid
files.

And note that we would still have problems round 'co' and its warning
about
the invalid file.

> David Summers <david@summersoft.fay.ar.us> writes:
> > The patch certainly fixes the abnormal termination of the script, but
now
> > I'm getting: [errors from rcs 'co']

Yup. The file is invalid :-)

>...
> So the best solution would be to commit this change upstream. I'll
> take a look at the patch & talk to Greg Stein about getting it into
> the master rcsparse tree.

See above.

Cheers,
-g

--
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 27 07:18:39 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.