| Index: revert.py
|
| ===================================================================
|
| --- revert.py (revision 15959)
|
| +++ revert.py (working copy)
|
| @@ -134,7 +134,7 @@
|
| print ""
|
|
|
| # Make sure these files are unmodified with svn status.
|
| - status = gcl.GetSVNStatus(files)
|
| + status = gclient.CaptureSVNStatus(files)
|
| if status:
|
| if force:
|
| # TODO(maruel): Use the tool to correctly revert '?' files.
|
| @@ -178,6 +178,7 @@
|
| print 'svn up . -N failed in %s/.' % root
|
| return retcode
|
|
|
| + # TODO(maruel): BUG WITH ONLY ONE FILE.
|
| command = ["svn", "merge", "-c", revisions_string_rev]
|
| command.extend(file_list)
|
| (output, retcode) = gcl.RunShellWithReturnCode(command, print_output=True)
|
|
|