Show More
@@ -194,6 +194,7 b' class cmdalias(object):' | |||||
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] |
@@ -13,6 +13,7 b' lognull = log -r null' | |||||
13 | shortlog = log --template '{rev} {node|short} | {date|isodate}\n' |
|
13 | shortlog = log --template '{rev} {node|short} | {date|isodate}\n' | |
14 | dln = lognull --debug |
|
14 | dln = lognull --debug | |
15 | nousage = rollback |
|
15 | nousage = rollback | |
|
16 | put = export -r 0 -o "\$PWD/%R.diff" | |||
16 |
|
17 | |||
17 | [defaults] |
|
18 | [defaults] | |
18 | mylog = -q |
|
19 | mylog = -q | |
@@ -59,3 +60,7 b' hg lognull' | |||||
59 |
|
60 | |||
60 | echo '% properly recursive' |
|
61 | echo '% properly recursive' | |
61 | hg dln |
|
62 | hg dln | |
|
63 | ||||
|
64 | echo '% path expanding' | |||
|
65 | hg put | |||
|
66 | cat 0.diff |
@@ -30,3 +30,16 b' user:' | |||||
30 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
30 | date: Thu Jan 01 00:00:00 1970 +0000 | |
31 | extra: branch=default |
|
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