mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
ac486dcc7e
Summary: This will be used by the next change testing whether `{files|count}` is exceeding a threshold for deciding which commit template to use. Reviewed By: phillco Differential Revision: D8101518 fbshipit-source-id: 51e918c6d8ab7d6e8b71708d9291945b2a09a632
11 lines
299 B
Perl
11 lines
299 B
Perl
$ newrepo
|
|
|
|
Test ifgt function
|
|
|
|
$ hg log -T '{ifgt(2, 1, "GT", "NOTGT")} {ifgt(2, 2, "GT", "NOTGT")} {ifgt(2, 3, "GT", "NOTGT")}\n' -r null
|
|
GT NOTGT NOTGT
|
|
|
|
$ hg log -T '{ifgt("2", "1", "GT", "NOTGT")} {ifgt("2", "2", "GT", "NOTGT")} {ifgt("2", 3, "GT", "NOTGT")}\n' -r null
|
|
GT NOTGT NOTGT
|
|
|