Index: trychange.py |
=================================================================== |
--- trychange.py (revision 15777) |
+++ trychange.py (working copy) |
@@ -20,6 +20,7 @@ |
import urllib |
import gcl |
+import gclient |
__version__ = '1.1' |
@@ -132,7 +133,7 @@ |
for file in files: |
# Use svn info output instead of os.path.isdir because the latter fails |
# when the file is deleted. |
- if gcl.GetSVNFileInfo(file).get("Node Kind") == "directory": |
+ if gclient.CaptureSVNInfo(file).get("Node Kind") in ("dir", "directory"): |
continue |
# If the user specified a custom diff command in their svn config file, |
# then it'll be used when we do svn diff, which we don't want to happen |