Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.6, 0.7, and 0.7.1

hg-crew-tip fixed the uses of cmdutil.findcmd()

Changeset 3bed1e2aa396

Parent f2bdc2e91665

by Peter Arrenbrecht

Changes to one file · Browse files at 3bed1e2aa396 Showing diff from parent f2bdc2e91665 Diff from another changeset...

Change 1 of 2 Show Entire File contrib/​hgtk Stacked
 
46
47
48
49
 
50
51
52
 
283
284
285
286
 
287
288
289
 
46
47
48
 
49
50
51
52
 
283
284
285
 
286
287
288
289
@@ -46,7 +46,7 @@
    if args:   cmd, args = args[0], args[1:] - aliases, i = cmdutil.findcmd(ui, cmd, table) + aliases, i = cmdutil.findcmd(cmd, table)   cmd = aliases[0]   c = list(i[1])   else: @@ -283,7 +283,7 @@
  if with_version:   version_(ui)   ui.write('\n') - aliases, i = cmdutil.findcmd(ui, name, table) + aliases, i = cmdutil.findcmd(name, table)   # synopsis   ui.write("%s\n" % i[2])