Mercurial > hgsubversion
changeset 20:2953c867ca99
Minor fixes to the push command to make it more robust.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Wed, 08 Oct 2008 16:44:40 -0500 |
parents | 1267b1944cd7 |
children | 8626f3d2e50b |
files | svnwrap/svn_swig_wrapper.py |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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: