Changeset 1a94e45db1f9…
Parent 50bd5ffb92da…
by
Changes to one file · Browse files at 1a94e45db1f9 Showing diff from parent 50bd5ffb92da Diff from another changeset...
@@ -300,9 +300,9 @@ self.viewpulled.show()
wc = repo[None]
- branchhead = repo.branchtags()[wc.branch()]
+ branchhead = repo.branchtags().get(wc.branch())
parents = repo.parents()
- if len(parents) > 1 or parents[0].node() == branchhead:
+ if len(parents) > 1 or parents[0].node() == branchhead or not branchhead:
self.updatetip.hide()
else:
self.buttonhbox.show()
|
Loading...