RE: cvs2svn 2.4.0 does not work for me

Vincent Belaïche <[email protected]> Tue, 18 Dec 2012 19:09:49 +0100
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
Hello,


Yes, after some check MSWindows does not allow those characters in filenames: 
/ \ : * ? < >  |


More simply, concerning the test suite, is there any way to exclude some file during checkout by some sort of --exclude=PATTERN option. That would allow you to run the test suite quite simply by just excluding those files the names of which are not relevant for the concerned platform --- and that would allow me to get the latest from repo.



I could not find such option in the documentation.


VBR,
   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=3036889

To unsubscribe from this discussion, e-mail: [[email protected]].