comparison mercurial/dispatch.py @ 10793:16df09a54113 stable

expand paths in aliases
author Alexander Solovyov <piranha@piranha.org.ua>
date Sat, 27 Mar 2010 13:39:45 +0200
parents 6ded6243bde2
children 8f4c95368313 6c2c766afefe
comparison
equal deleted inserted replaced
10791:48c8eb9de0c8 10793:16df09a54113
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