Changeset 2631


Ignore:
Timestamp:
11/01/11 15:18:06 (2 years ago)
Author:
jdsiiro
Message:

Bugfix for svn-timemachine (tracking addition of svn 1.5 format externals).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyutilib.svn/trunk/pyutilib/svn/svn_timemachine.py

    r2344 r2631  
    6060    # the external onto the list of pending paths. 
    6161    print "(INFO) Parsing externals for %s" % (url) 
    62     externals = svn_externals(url, rev) 
     62    externals, svn15format = svn_externals(url, rev) 
    6363    while externals: 
    6464        tmp = externals.pop(0) 
    65         path_list.append((target+'/'+tmp[0], tmp[1], tmp[2])) 
     65        path_list.append((target+'/'+tmp.path, tmp.url, tmp.revision)) 
    6666 
    6767 
     
    7676        print "Usage: %s {revision|date} repo_url [path]" % (me) 
    7777        print "" 
    78         print "    revision : the revision number to warp back to" 
    79         print "    date     : the date to warp back to (YYYY-MM-DD hh:mm:ss -TZ)" 
    80         print "    repo_url : the repository url to check out" 
    81         print "    path     : the destination path for the working copy" 
     78        print "  revision : the revision number to warp back to" 
     79        print "  date     : the date to warp back to (YYYY-MM-DD hh:mm:ss -TZ)" 
     80        print "  repo_url : the repository url to check out" 
     81        print "  path     : the destination path for the working copy" 
    8282        print "" 
    8383        sys.exit(1) 
Note: See TracChangeset for help on using the changeset viewer.