# HG changeset patch
# User Yuki KODAMA <endflow....@gmail.com>
# Date 1260902290 -32400
# Node ID bf49ab4a328e8f99e5cab0aadcee09d6f11ffd6f
# Parent  de4776c41dd2ce260883c80cafe8488aa39fd924
commit: allow to create a new branch without file changes

originally proposed by monjudoh

diff --git a/tortoisehg/hgtk/commit.py b/tortoisehg/hgtk/commit.py
--- a/tortoisehg/hgtk/commit.py
+++ b/tortoisehg/hgtk/commit.py
@@ -736,7 +736,7 @@
                     self.commit_selected(commit_list)
                 elif self.qheader is not None:
                     self.commit_selected([])
-                elif self.closebranch:
+                elif self.closebranch or self.nextbranch:
                     self.commit_selected([])
                 else:
                     gdialog.Prompt(_('Nothing Commited'),

Attachment: thg-kuy_rev5178.patch
Description: Binary data

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to