Mercurial > public > mercurial-scm > hg-stable
diff tests/test-progress.t @ 21773:26d2fb899637
tests: define norepo in command decorator
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 04 May 2014 22:07:45 -0700 |
parents | 51e5c793a9f4 |
children | be4270d27a7e |
line wrap: on
line diff
--- a/tests/test-progress.t Sun May 04 22:03:11 2014 -0700 +++ b/tests/test-progress.t Sun May 04 22:07:45 2014 -0700 @@ -18,7 +18,8 @@ > [('', 'total', '', 'override for total'), > ('', 'nested', False, 'show nested results'), > ('', 'parallel', False, 'show parallel sets of results')], - > 'hg loop LOOPS') + > 'hg loop LOOPS', + > norepo=True) > def loop(ui, loops, **opts): > loops = int(loops) > total = None @@ -46,7 +47,6 @@ > 'nested', None, 'nested.done', 'nestnum', nested_steps) > ui.progress('loop', None, 'loop.done', 'loopnum', total) > - > commands.norepo += " loop" > EOF $ cp $HGRCPATH $HGRCPATH.orig