Mercurial > public > mercurial-scm > hg
comparison mercurial/dispatch.py @ 10795:8f4c95368313
Merge with stable
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 31 Mar 2010 17:32:19 +0200 |
parents | 5f091fc1bab7 16df09a54113 |
children | 8d5f5122a732 |
comparison
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 |