Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8.1, 0.8.2, and 0.8.3

cmenu: add grep command, use in repo menu

Grep is an hgtk alias for the datamine tool, so it's safe to use it in the cmenu code.
By using an alias, we can give it it's own menu and help text.

Changeset 357b2b8e2b3a

Parent a06df354a37f

by Steve Borho

Changes to one file · Browse files at 357b2b8e2b3a Showing diff from parent a06df354a37f Diff from another changeset...

 
89
90
91
 
 
 
92
93
94
 
101
102
103
104
 
105
106
107
 
109
110
111
112
 
113
114
115
 
89
90
91
92
93
94
95
96
97
 
104
105
106
 
107
108
109
110
 
112
113
114
 
115
116
117
118
@@ -89,6 +89,9 @@
  {"guess", "Guess Renames",   "Detect renames and copies",   "detect_rename.ico", 0}, + {"grep", "Search History", + "Search file revisions for patterns", + "menurepobrowse.ico", 0},     /* Add new items here */   @@ -101,7 +104,7 @@
 {   Commit, Init, Clone, Status, Shelve, Add, Revert, Remove, Rename,   Log, Synch, Serve, Update, Recover, Thgstatus, Userconf, Repoconf, - About, Datamine, VDiff, Ignore, Guess, + About, Datamine, VDiff, Ignore, Guess, Grep,   /* Add new items here */   Separator, EndOfList  }; @@ -109,7 +112,7 @@
 menuDescListEntries RepoNoFilesMenu[] =  {   Commit, Status, Shelve, VDiff, Separator, - Log, Update, Datamine, Thgstatus, Separator, + Log, Update, Grep, Thgstatus, Separator,   Synch, Serve, Clone, Init, Separator,   Ignore, Guess, Recover, Separator,   Repoconf, Userconf, Separator,