tests: cover revision conversion logic in githelp tests
There was no test involving actual conversion of option values when they
contain a git revision name (to be converted as a hg one by
hgext.githelp.convert()). Adding one. This test would fail on Python 3
without https://phab.mercurial-scm.org/D7537.
Differential Revision: https://phab.mercurial-scm.org/D7540
--- a/tests/test-githelp.t Sat Nov 30 03:15:17 2019 -0500
+++ b/tests/test-githelp.t Mon Dec 02 10:18:18 2019 +0100
@@ -264,6 +264,10 @@
$ hg githelp -- git commit --reuse-message deadbeef
hg commit -M deadbeef
+githelp for reuse message using HEAD
+ $ hg githelp -- git commit --reuse-message HEAD~
+ hg commit -M .~1
+
githelp for apply with no options
$ hg githelp -- apply
hg import --no-commit