# HG changeset patch # User Sverre Rabbelier <sverre@rabbelier.nl> # Date 1243295035 -7200 # Tue May 26 01:43:55 2009 +0200 # Node ID c2b9280708ec60b8e85a30973846f2ace4639c8f # Parent ed884cfe3fa3cc4bc36c4732e57a7d285f0b6030 only update bookmarks if importing from a remote diff --git a/git_handler.py b/git_handler.py --- a/git_handler.py +++ b/git_handler.py @@ -530,8 +530,9 @@ self.import_git_commit(commit) else: self.pseudo_import_git_commit(commit) - - self.update_hg_bookmarks(remote_name) + + if remote_name: + self.update_hg_bookmarks(remote_name) def update_hg_bookmarks(self, remote_name): try: