changeset 561:312c8c98eeff

pull: handle commits without any commit message
author Augie Fackler <durin42@gmail.com>
date Mon, 15 Feb 2010 10:22:12 -0600
parents 9cac09f91728
children c538229d02ca
files hgsubversion/wrappers.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/wrappers.py
+++ b/hgsubversion/wrappers.py
@@ -274,8 +274,9 @@ def pull(repo, source, heads=[], force=F
                 converted = False
                 while not converted:
                     try:
-
-                        msg = r.message.strip()
+                        msg = ''
+                        if r.message:
+                            msg = r.message.strip()
                         if not msg:
                             msg = util.default_commit_msg
                         else: