sapling/eden/scm/tests/test-alias2.t
Xavier Deguillard e0e01cbc81 bundle2: backout D19656773
Summary: This broke a bunch of tests. Revert it and re-enable all the tests.

Reviewed By: DurhamG

Differential Revision: D19665042

fbshipit-source-id: c3c17e3ac7e2ea028be5b5836bc8349cdf56184e
2020-01-31 10:48:19 -08:00

25 lines
484 B
Perl

#chg-compatible
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
This is foo\n (no-eol)
$ 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
This is log\n (no-eol)