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

commit: avoid incorrect encoding with branch name in confirmation dialog

Changeset 2371851d6e5e

Parent f98d6729c397

by Yuki KODAMA

Changes to one file · Browse files at 2371851d6e5e Showing diff from parent f98d6729c397 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​commit.py Stacked
 
637
638
639
640
 
641
642
643
644
645
 
646
647
648
 
637
638
639
 
640
641
642
643
644
 
645
646
647
648
@@ -637,12 +637,12 @@
  if newbranch not in [p.branch() for p in self.repo.parents()]:   response = gdialog.Confirm(_('Confirm Override Branch'),   [], self, _('A branch named "%s" already exists,\n' - 'override?') % newbranch).run() + 'override?') % self.nextbranch).run()   else:   response = gtk.RESPONSE_YES   else:   response = gdialog.Confirm(_('Confirm New Branch'), [], self, - _('Create new named branch "%s"?') % newbranch).run() + _('Create new named branch "%s"?') % self.nextbranch).run()   if response == gtk.RESPONSE_YES:   self.repo.dirstate.setbranch(newbranch)   elif response != gtk.RESPONSE_NO: