Index: trychange.py |
=================================================================== |
--- trychange.py (revision 15824) |
+++ trychange.py (working copy) |
@@ -20,7 +20,6 @@ |
import urllib |
import gcl |
-import gclient |
__version__ = '1.1' |
@@ -133,7 +132,7 @@ |
for file in files: |
# Use svn info output instead of os.path.isdir because the latter fails |
# when the file is deleted. |
- if gclient.CaptureSVNInfo(file).get("Node Kind") in ("dir", "directory"): |
+ if gcl.GetSVNFileInfo(file).get("Node Kind") == "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 |