# HG changeset patch # User Augie Fackler # Date 1223502280 18000 # Node ID 2953c867ca99a38fdc7756d09c9ebf6ecf9a7640 # Parent 1267b1944cd747afaaf1f77d91ec74236d931b63 Minor fixes to the push command to make it more robust. diff --git a/svnwrap/svn_swig_wrapper.py b/svnwrap/svn_swig_wrapper.py --- a/svnwrap/svn_swig_wrapper.py +++ b/svnwrap/svn_swig_wrapper.py @@ -56,8 +56,9 @@ class Revision(object): # TODO parse this into a datetime self.date = date self.paths = {} - for p in paths: - self.paths[p[len(strip_path):]] = paths[p] + if paths: + for p in paths: + self.paths[p[len(strip_path):]] = paths[p] def __str__(self): return 'r%d by %s' % (self.revnum, self.author) @@ -253,7 +254,8 @@ class SubversionRepo(object): message, commit_cb, None, - False) + False, + self.pool) checksum = [] def driver_cb(parent, path, pool): if path in dirs: