Skip to content
Browse files

Do not die if no bookmark branch has been set

Signed-off-by: Patrick Lauber <patrick.lauber@divio.ch>
  • Loading branch information...
1 parent 00b63d1 commit 1c748637164e207028eb3de0da3bb3d447b2e3c4 Sverre Rabbelier committed with Jun 5, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 git_handler.py
View
2 git_handler.py
@@ -656,7 +656,7 @@ def update_hg_bookmarks(self, remote_name):
heads = self.git.remote_refs(remote_name)
else:
branches = self.bookbranch.split(',')
- heads = dict((i, self.git.ref(i.strip())) for i in branches)
+ heads = dict((i, self.git.ref(i.strip())) for i in branches if i)
base_name = (remote_name + '/') if remote_name else ''

0 comments on commit 1c74863

Please sign in to comment.
Something went wrong with that request. Please try again.