Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

synch: fix traceback with new branches

Changeset 1a94e45db1f9

Parent 50bd5ffb92da

by Steve Borho

Changes to one file · Browse files at 1a94e45db1f9 Showing diff from parent 50bd5ffb92da Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​synch.py Stacked
 
300
301
302
303
 
304
305
 
306
307
308
 
300
301
302
 
303
304
 
305
306
307
308
@@ -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()