2019-12-10 02:24:31 +03:00
|
|
|
#chg-compatible
|
|
|
|
|
2019-07-30 05:30:30 +03:00
|
|
|
Interesting corner cases.
|
|
|
|
|
|
|
|
command name matches global flag values
|
|
|
|
|
|
|
|
$ setconfig ui.allowemptycommit=1
|
|
|
|
|
|
|
|
$ hg init foo
|
|
|
|
$ hg -R foo commit -m "This is foo\n"
|
|
|
|
|
|
|
|
$ hg init log
|
|
|
|
$ hg -R log commit -m "This is log\n"
|
|
|
|
|
|
|
|
$ setconfig "alias.foo=log" "alias.log=log -T {desc} -r"
|
|
|
|
|
|
|
|
$ hg -R foo foo tip
|
2019-07-30 05:30:30 +03:00
|
|
|
This is foo\n (no-eol)
|
2019-07-30 05:30:30 +03:00
|
|
|
$ hg -R log foo tip
|
|
|
|
This is log\n (no-eol)
|
|
|
|
$ hg -R foo log tip
|
|
|
|
This is foo\n (no-eol)
|
|
|
|
$ hg -R log log tip
|
2019-07-30 05:30:30 +03:00
|
|
|
This is log\n (no-eol)
|