# HG changeset patch # User Augie Fackler # Date 1266250932 21600 # Node ID 312c8c98eeff2c2f511f1678e7afacd45b89311f # Parent 9cac09f91728dbff01062bafb6ce74462112406c pull: handle commits without any commit message diff --git a/hgsubversion/wrappers.py b/hgsubversion/wrappers.py --- 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: