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

Re: svn commit: rev 7252 - trunk/tools/cvs2svn

From: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2003-10-01 03:59:49 CEST

Max Bowsher wrote:
> Russell Yanofsky wrote:
> ...
> Hmm. Well, please don't commit outside your area even if the testsuite
> passes.

Ok, I won't do that again.

> It failed for me on Cygwin, and began working again after reverting
> your revisions.
> Some of your changes were totally undiscussed. Most of the rest are
> still under discussion.

A new patch is attached, tested successfully on windows, linux, and cygwin.
(For some reason cvs2svn failed with the old patch where a file was opened
in 'wt' mode instead of 'w' mode. I don't know why. All I know is cygwin
scares me...)

This patch restores the changes made in rev 7246 except the one that broke
cygwin. You can restore the change in rev 7247 yourself if it pleases you

Log Message:

Changes to cvs2svn.py and its regression testing script so they will
work on Windows. Restores all changes from rev 7246 except for one
that broke cvs2svn on cygwin.

* tools/cvs2svn/cvs2svn.py
    Changed this function to expect os.sep in the file path passed to
    it instead of forward slashes.

    new function to escape shell arguments, works differently on unix
    and windows

    changed to use the escape_shell_arg function

* tools/cvs2svn/run-tests.py
    changed command line used to start cvs2svn on windows

    Added missing slash detection. Needed because absolute paths on
    windows begin with a drive letter instead of a slash.

    new function to take the place of time.strptime, which doesn't
    exist on windows

    replaced time.strptime() call with svn_strptime() call.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Wed Oct 1 04:00:39 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.