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

shellext: add init and clone commands

Changeset 7faffe6669bc

Parent 243940fe4a1d

by Steve Borho

Changes to one file · Browse files at 7faffe6669bc Showing diff from parent 243940fe4a1d Diff from another changeset...

 
15
16
17
 
 
 
 
 
 
18
19
20
 
235
236
237
 
 
 
 
238
239
240
 
 
241
242
243
 
15
16
17
18
19
20
21
22
23
24
25
26
 
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
@@ -15,6 +15,12 @@
  {"commit", "HG Commit...",   "Commit changes in repository",   "menucommit.ico", 0}, + {"init", "Create Repository Here", + "Create a new repository in this directory", + "menucreaterepos.ico", 0}, + {"clone", "Clone a Repository", + "Create clone here from source", + "menuclone.ico", 0},   {"status", "View File Status",   "Repository status & changes",   "menushowchanged.ico", 0}, @@ -235,9 +241,15 @@
  }   InsertMenuItemByName(hSubMenu, "repoconf", indexSubMenu++, idCmd++, idCmdFirst);   } + else + { + InsertMenuItemByName(hSubMenu, "init", indexSubMenu++, idCmd++, idCmdFirst); + }     InsertMenuItemByName(hSubMenu, "userconf", indexSubMenu++, idCmd++, idCmdFirst);   InsertMenu(hSubMenu, indexSubMenu++, MF_SEPARATOR | MF_BYPOSITION, 0, NULL); + InsertMenuItemByName(hSubMenu, "clone", indexSubMenu++, idCmd++, idCmdFirst); + InsertMenu(hSubMenu, indexSubMenu++, MF_SEPARATOR | MF_BYPOSITION, 0, NULL);   InsertMenuItemByName(hSubMenu, "about", indexSubMenu++, idCmd++, idCmdFirst);   }