Patch subject is complete summary.

# HG changeset patch
# User Emmanuel Rosa <goaway1...@gmail.com>
# Date 1258150728 18000
# Node ID dba92c98cb927e99e8cc0d714b7d930f96c9a833
# Parent  4d7fd3e1f2307e645328c0db8f145da987f64768
history: hide add/remove bookmarks if extension is not found

diff --git a/tortoisehg/hgtk/history.py b/tortoisehg/hgtk/history.py
--- a/tortoisehg/hgtk/history.py
+++ b/tortoisehg/hgtk/history.py
@@ -719,7 +719,9 @@
         m.append(create_menu(_('_Bundle rev:tip...'), self.bundle_rev_to_tip))
         m.append_sep()
         m.append(create_menu(_('Add/Remove _Tag...'), self.add_tag))
-        m.append(create_menu(_('Add/Remove B_ookmark...'), self.add_bookmark))
+        if 'bookmarks' in self.exs:
+            m.append(create_menu(_('Add/Remove B_ookmark...'), 
+                                   self.add_bookmark))
         cmenu_backout = create_menu(_('Backout Revision...'), self.backout_rev)
         m.append(cmenu_backout)
         m.append(create_menu(_('_Revert'), self.revert))
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to