RE: cvs2svn 2.4.0 does not work for me
Vincent Belaïche <[email protected]> Wed, 19 Dec 2012 04:25:10 +0100
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
Hello,
To inform you that I tried the CPython (v 3.3.0) implementation instead of Pypy, and In got this error:
c:\msys\1.0\local\projects\svnhtml-to-texi-dump>"c:\Program Files\Python 3.3.0\python.exe" c:\Programme\CollabNet\cvs2svn-2.4.0\cvs2svn --use-cvs --cvs=c:\Programme\NGNU\CVS\cvs.exe --dumpfile=.\html-to-texi.dump d:/msys/1.0/local/cvsroot/html-to-texi
File "c:\Programme\CollabNet\cvs2svn-2.4.0\cvs2svn", line 71
except FatalException, e:
^
SyntaxError: invalid syntax
This means that cvs2svn v2.4.0 needs an older version of CPython to work, as CPython v3.3.0 seems to be too severe on syntaxe (maybe CPython has some command line option to make it more lenient ...)
Anyway, I am a bit at the end of my wits: on the one hand I can download the latest trunk with SVN --- and probably not with GIT either because the error is due to an MSWindows limitation on filenames that I would also have with GIT --- and on the other hand the cvs2svn latest release v2.4.0 does not work with Python implementation such as PyPy or CPython v3.3.0 ...
Any help is welcome --- for instance just tell me the version of CPython with which cvs2svn 2.4.0 can work.
Vincent.
> Date: Tue, 18 Dec 2012 16:14:57 +0100
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: cvs2svn 2.4.0 does not work for me
>
> On 12/18/2012 01:12 PM, Vincent Belaïche wrote:
> > FYI, concerning the SVN repo I tried again and it failed the same with
> > that same sort of message:
> >
> > A cvs2svn\test-data\main-cvsrepos\single-files\space fname,v
> > A cvs2svn\test-data\main-cvsrepos\single-files\"double-double-quotes",v
> > A cvs2svn\test-data\main-cvsrepos\single-files\quotin'-in-dirname
> > A cvs2svn\test-data\main-cvsrepos\single-files\quotin'-in-dirname\foo,v
> > svn: E720123: Can't move 'C:\Documents and Settings\Administrateur\Mes
> > documents\cvs2svn\.svn\tmp\svn-5954381D' to 'C:\Documents and
> > Settings\Administrateur\Mes
> > documents\cvs2svn\test-data\main-cvsrepos\single-files\"double-double-quotes",v':
> > Syntaxe du nom de fichier, de répertoire ou de volume incorrecte.
> >
> > So it is not a temporary problem, so maybe my SVN client has some issue,
> > or test-data does not work for MSWindowsXP.
> > Anyhow, it is quite involved to use double quotes in file names, isn't it ?
>
> Yes, these files are intentionally named with strange characters to make
> sure that cvs2svn can handle them when they are in a CVS repository.
> Subversion on Linux and git on Linux are both able to handle them. But
> I see that according to [1], double-quotes are not allowed in Windows
> filenames.
>
> If we want to fix this, we would have to rename the filenames in the
> test repositories more safely. Then, when running the test suite, check
> what platform we are running on and create only the bizarrely-named
> files that are allowed on that platform. (This is similar to what we do
> for the non-ascii-cvsrepos test repository.)
>
> These files are only part of the cvs2svn test data, so if you don't want
> to run the tests you don't need them (assuming that the rest of cvs2svn
> was checked out OK).
>
> Michael
>
> [1]
> http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx
>
> --
> Michael Haggerty
> [email protected]
> http://softwareswirl.blogspot.com/
------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=3037003
To unsubscribe from this discussion, e-mail: [[email protected]].