Mercurial > hg
changeset 43747:5470e63686ca stable
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
author | Denis Laxalde <denis@laxalde.org> |
---|---|
date | Mon, 02 Dec 2019 10:18:18 +0100 |
parents | 10662ac7849e |
children | a50fecefa691 |
files | tests/test-githelp.t |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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