##// END OF EJS Templates
expand paths in aliases
Alexander Solovyov -
r10793:16df09a5 stable
parent child Browse files
Show More
@@ -194,6 +194,7 b' class cmdalias(object):'
194 194
195 195 args = shlex.split(self.definition)
196 196 cmd = args.pop(0)
197 args = map(util.expandpath, args)
197 198
198 199 try:
199 200 tableentry = cmdutil.findcmd(cmd, cmdtable, False)[1]
@@ -13,6 +13,7 b' lognull = log -r null'
13 13 shortlog = log --template '{rev} {node|short} | {date|isodate}\n'
14 14 dln = lognull --debug
15 15 nousage = rollback
16 put = export -r 0 -o "\$PWD/%R.diff"
16 17
17 18 [defaults]
18 19 mylog = -q
@@ -59,3 +60,7 b' hg lognull'
59 60
60 61 echo '% properly recursive'
61 62 hg dln
63
64 echo '% path expanding'
65 hg put
66 cat 0.diff
@@ -30,3 +30,16 b' user:'
30 30 date: Thu Jan 01 00:00:00 1970 +0000
31 31 extra: branch=default
32 32
33 % path expanding
34 # HG changeset patch
35 # User test
36 # Date 0 0
37 # Node ID e63c23eaa88ae77967edcf4ea194d31167c478b0
38 # Parent 0000000000000000000000000000000000000000
39 foo
40
41 diff -r 000000000000 -r e63c23eaa88a foo
42 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
43 +++ b/foo Thu Jan 01 00:00:00 1970 +0000
44 @@ -0,0 +1,1 @@
45 +foo
General Comments 0
You need to be logged in to leave comments. Login now