# HG changeset patch
# User Yuki KODAMA <endflow....@gmail.com>
# Date 1246989091 -32400
# Node ID 4b539c0425a494e4a55534e58e95aecb67a24dc1
# Parent  90de1aa65d166cd91525bd318241da83d9ff6102
commit: avoid incorrect encoding with branch name in confirmation dialog

diff --git a/hggtk/commit.py b/hggtk/commit.py
--- a/hggtk/commit.py
+++ b/hggtk/commit.py
@@ -632,12 +632,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:

Attachment: thg-crew-kuy_rev3130.patch
Description: Binary data

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to