Mercurial > hg-git
changeset 143:c2b9280708ec
only update bookmarks if importing from a remote
author | Sverre Rabbelier <sverre@rabbelier.nl> |
---|---|
date | Tue, 26 May 2009 01:43:55 +0200 |
parents | ed884cfe3fa3 |
children | b78e86adbd98 |
files | git_handler.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/git_handler.py Tue May 26 01:16:28 2009 +0200 +++ b/git_handler.py Tue May 26 01:43:55 2009 +0200 @@ -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: