RE: CVS2SVN Tool Issue with Sort.
"Shet, Santosh" <[email protected]> Fri, 3 Aug 2012 15:30:12 +0530
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <61BDDD0F48874E41A9B746002BD00B340D7BE03D@EXUIN000EGL02.asia.corp.anz.com> |
HI Michael, I was able to generate the .dump file by executing below command: cvs2svn --dumpfile=Paymsgsource.dump --sort="C:\Program Files\GnuWin32\bin\sort" D:\cvs\paymsgsource\FIM_TEST Now I am figuring out where (which server etc) and what command I should use to load this dump file into SVN folder? Note: I already have a SVN Sandpit Environment and created the repository path. I don’t have access to the server which hosts SVN. Thanks, Santosh Shet Envt Support Analyst Tel: +91 80 3952 3772 | Voice Net - 8791 23772 Australia and New Zealand Banking Group Ltd -----Original Message----- From: Michael Haggerty [mailto:[email protected]] Sent: Friday, 3 August 2012 2:15 PM To: Shet, Santosh Cc: [email protected] Subject: Re: CVS2SVN Tool Issue with Sort. On 08/03/2012 04:29 AM, Shet, Santosh wrote: > I have following setup: > > 1. Windows 2003. 2. cvs2svn-2.3.0 3. Python 2.5 4. UnxUtils > > Installed all above in the Server where CVS repository is hosted and > tried running below command from: Start → cmd → cd C:\cvs2svn-2.3.0 > > cvs2svn --dumpfile=PROJECT.dump D:\cvs\TEST which has a > ReleaseNotes.txt,v (having a history of 93 versions) > > But I am facing this issue while executing the commands: > > ERROR: Command failed with return code 1: "sort -T cvs2svn-tmp > cvs2svn-tmp\revs-summary.txt" If you use the trunk version of cvs2svn, then you don't need to install sort. But it looks like you have overcome this problem... > After downloading, UnxUtils the instructions says that; run the > conversion scripts go to the wbin dirctory of the GNU utils (e.g > C:\unix-utils\usr\local\wbin) and type ‘python > C:\cvs2svn-2.3.0\cvs2svn -s c:\svn-repo\repo --existing-svnrepos > c:\data\cvs_repo\repo\TestApp’ But now I am getting the error: > > ERROR: error executing svnadmin: [Error 2] The system cannot find the > file specified svnadmin could not be executed. Please ensure that it > is installed and/or use the --svnadmin option. ”’ and I noticed that > there is no python.exe in the package which I downloaded. The "svnadmin" program is part of Subversion. Make sure that it is installed and in your path, or use the --svnadmin-path option to tell cvs2svn where to find this program. Alternatively you can create a --dumpfile and load it into Subversion by hand (even on another computer, if necessary). There must be a python.exe somewhere; otherwise you couldn't have started cvs2svn at all. So that doesn't seem to be a problem. Michael -- Michael Haggerty [email protected] http://softwareswirl.blogspot.com/ "This e-mail and any attachments to it (the "Communication") is, unless otherwise stated, confidential, may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of Australia and New Zealand Banking Group Limited ABN 11 005 357 522, or any of its related entities including ANZ National Bank Limited (together "ANZ"). ANZ does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication." ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2994755 To unsubscribe from this discussion, e-mail: [[email protected]].