# HG changeset patch
# User Wagner Bruna <wbr...@softwareexpress.com.br>
# Date 1288390761 7200
# Branch stable
# Node ID 9e8bdef4c47933a5caad1b77bbf7457299c7c185
# Parent  ccd2e8cae0634e8f47562c81501435269f280462
commit: allow closing the default branch (backout 8f53dfec8a0f)

This is often useful to deal with undesired anonymous branches.

diff --git a/tortoisehg/hgtk/commit.py b/tortoisehg/hgtk/commit.py
--- a/tortoisehg/hgtk/commit.py
+++ b/tortoisehg/hgtk/commit.py
@@ -96,8 +96,6 @@ class BranchOperationDialog(gtk.Dialog):
             self.closebranchradio.set_active(True)
         else:
             nochanges.set_active(True)
-        if repo[None].branch() == 'default':
-            self.closebranchradio.set_sensitive(False)
 
         self.show_all()
 

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to