author | Dmitriy Taychenachev <dimichxp@gmail.com> |
Sun, 26 Oct 2008 17:08:48 +0800 | |
changeset 7262 | 3cbadcf28a4c |
parent 7261 | 4ba89b6d0e05 |
child 7263 | 7e2e3aacc5dc |
--- a/hgext/bookmarks.py Sat Oct 25 19:05:52 2008 +0200 +++ b/hgext/bookmarks.py Sun Oct 26 17:08:48 2008 +0800 @@ -184,6 +184,8 @@ """Add a revision to the repository and move the bookmark""" node = super(bookmark_repo, self).commit(*k, **kw) + if node == None: + return None parents = repo.changelog.parents(node) if parents[1] == nullid: parents = (parents[0],)