mercurial/dispatch.py
changeset 10795 8f4c95368313
parent 10651 5f091fc1bab7
parent 10793 16df09a54113
child 10962 8d5f5122a732
equal deleted inserted replaced
10792:3152f2732ef5 10795:8f4c95368313
   192 
   192 
   193             return
   193             return
   194 
   194 
   195         args = shlex.split(self.definition)
   195         args = shlex.split(self.definition)
   196         cmd = args.pop(0)
   196         cmd = args.pop(0)
       
   197         args = map(util.expandpath, args)
   197 
   198 
   198         try:
   199         try:
   199             tableentry = cmdutil.findcmd(cmd, cmdtable, False)[1]
   200             tableentry = cmdutil.findcmd(cmd, cmdtable, False)[1]
   200             if len(tableentry) > 2:
   201             if len(tableentry) > 2:
   201                 self.fn, self.opts, self.help = tableentry
   202                 self.fn, self.opts, self.help = tableentry