# HG changeset patch
# User Simon Heimberg <[email protected]>
# Date 1237192425 -3600
# Node ID 2d08daa472678163038a97bcec3c29aad5a43376
# Parent  9ed5f3e28bc5957fcfc9cfb99cc1363c0385cf2a
nautilus: idstr with hgcmd

helps when debugging

diff -r 9ed5f3e28bc5 -r 2d08daa47267 contrib/nautilus-thg.py
--- a/contrib/nautilus-thg.py   Mon Mar 16 09:33:42 2009 +0100
+++ b/contrib/nautilus-thg.py   Mon Mar 16 09:33:45 2009 +0100
@@ -208,7 +208,7 @@
         else: #bg
             passcwd = self.cwd
         for menu_info in menus:
-            idstr = 'HgNautilus::%02d' % self.pos
+            idstr = 'HgNautilus::%02d%s' % (self.pos, menu_info.hgcmd)
             self.pos += 1
             if menu_info.isSep():
                 # can not insert a separator till now
diff -r 9ed5f3e28bc5 -r 2d08daa47267 tortoise/menuthg.py
--- a/tortoise/menuthg.py       Mon Mar 16 09:33:42 2009 +0100
+++ b/tortoise/menuthg.py       Mon Mar 16 09:33:45 2009 +0100
@@ -57,6 +57,8 @@
 
 class TortoiseMenuSep(object):
 
+    hgcmd = '----'
+
     def isSubmenu(self):
         return False
 


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to