Martin Fuchs <>


r847320 | rey4 | 2003-09-29 20:59:50 +0000 (Mon, 29 Sep 2003)

Changes to and its regression testing script so they will
work on Windows. Martin Fuchs <> and
Fran├žois Beausoleil <> helped test this
patch at different points and comments from Max Bowsher <>
and <> helped improve the code.

Review by: Martin Fuchs <>
           Fran├žois Beausoleil <>
           Max Bowsher <>
           C. Michael Pilato <> 

* tools/cvs2svn/
    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

    explicitly specify text mode when opening list of filenames

* tools/cvs2svn/
    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.