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

Re: cvs2svn

From: Max Bowsher <maxb_at_ukf.net>
Date: 2003-09-06 16:32:13 CEST

Martin Fuchs wrote:
>>> Interestingly for the script of the 0.29 script out of the source
>>> download
>>
>> "the script of the script" ?
>
> Sorry, I meant the "csv2svn.py" script out of the svn 0.29 source download
> package.

Right. Please ensure that you always use a single-version cvs2svn directory.
I.e. that run-tests.py, cvs2svn.py and test-data are a set that are supposed
to be used together. Do not update components piecewise.

>>> the test "conversion of filename with a space" is PASSing.
>>
>> That's strange. Try (using HEAD) this:
>>
>> rm -rf tmp
>> mkdir tmp
>> cd tmp
>> ../cvs2svn.py --create -s main-svnrepos ../test-data/main-cvsrepos
>> svn co file://`pwd`/main-svnrepos main-wc
>> ls "main-wc/trunk/single-files/space fname"
>
> OK. this results in:
>
> # ls 'main-wc/trunk/single-files/space fname'
> ls: main-wc/trunk/single-files/space fname: No such file or directory
>
>
> If I look in the direectory to see, what`s there, I can find a file with
"%20"
> instead of a space:
>
> # ls -ltr main-wc/trunk/single-files/
> total 12
> -rw-r--r-- 1 martin users 34 Sep 6 16:10 twoquick
> -rw-r--r-- 1 martin users 41 Sep 6 16:10 space%20fname
> -rwxr-xr-x 1 martin users 28 Sep 6 16:10 attr-exec

That is very weird. There have been no changes to cvs2svn between 0.29.0 and
now that could in any way have caused the above. In fact, cvs2svn doesn't
use URL-encoding *anywhere*.

Please search cvs2svn-dump for "space%20fname". If it does not occur there,
then it must have been introduced by your versions of svn and svnadmin.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 6 16:33:04 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.