comparison tests/test-githelp.t @ 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 7752cd3a2f83
children 94f227baa76f
comparison
equal deleted inserted replaced
43746:10662ac7849e 43747:5470e63686ca
262 262
263 githelp for reuse message using the the long version 263 githelp for reuse message using the the long version
264 $ hg githelp -- git commit --reuse-message deadbeef 264 $ hg githelp -- git commit --reuse-message deadbeef
265 hg commit -M deadbeef 265 hg commit -M deadbeef
266 266
267 githelp for reuse message using HEAD
268 $ hg githelp -- git commit --reuse-message HEAD~
269 hg commit -M .~1
270
267 githelp for apply with no options 271 githelp for apply with no options
268 $ hg githelp -- apply 272 $ hg githelp -- apply
269 hg import --no-commit 273 hg import --no-commit
270 274
271 githelp for apply with directory strip custom 275 githelp for apply with directory strip custom