Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

stable history: catch LookupError from ambiguous revisions

Changeset 7bb78ecb1b11

Parent 9e0c3990c08a

by Wagner Bruna

Changes to one file · Browse files at 7bb78ecb1b11 Showing diff from parent 9e0c3990c08a Diff from another changeset...

 
54
55
56
 
 
 
 
57
58
59
 
54
55
56
57
58
59
60
61
62
63
@@ -54,6 +54,10 @@
  self.gotofunc(revision)   self.revEntry.set_text('')   self.hide() + except mercurial.error.LookupError, e: + gdialog.Prompt(_('Ambiguous Revision'), str(e), self).run() + self.revEntry.grab_focus() + return   except mercurial.error.RepoError, e:   gdialog.Prompt(_('Invalid Revision'), str(e), self).run()   self.revEntry.grab_focus()