Re: [PATCH] cvs2svn on windows (updated resend)
From: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2003-07-27 01:48:53 CEST
Russell Yanofsky wrote:
Turns out the problem running the sort command was not in cvs2svn.py, but in
When you ran cvs2svn.py directly from the command line it would work, but if it
cvs2svn.py [args]
to
python cvs2svn.py [args]
made everything work. A new patch is attached that has this change and the
<aside>
import os, sys
cmdline = "python %s arg" % sys.argv[0] # working command line
if len(sys.argv) == 1:
Log Message:
Changes to cvs2svn.py and its regression testing script so they will
* tools/cvs2svn/cvs2svn.py (relative_name): Changed this function to
(escape_shell_arg): new function to escape shell arguments, works
(Dumper.add_or_change_path): changed to check out files in binary
* tools/cvs2svn/run-tests.py (repos_to_url): Added missing slash
(svn_strptime): new function to take the place of time.strptime,
(Log.__init__): replaced time.strptime() call with svn_strptime()
(run_cvs2svn): changed command line used to start cvs2svn on windows
---------------------------------------------------------------------
|
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.