[PATCH] run-tests.py: ensure that hgpkg is always visible
Greg Ward
greg-hg at gerg.ca
Thu Apr 30 14:42:52 UTC 2009
On Wed, Apr 29, 2009 at 5:22 PM, Bryan O'Sullivan <bos at serpentine.com> wrote:
> # HG changeset patch
> # User Bryan O'Sullivan <bos at serpentine.com>
> # Date 1240609256 25200
> # Node ID 256b93cd1bc02209b810c881ced0f4b615a4fdda
> # Parent 6f14253416bdc9e35dc8a9c10590637322d84689
> run-tests.py: ensure that hgpkg is always visible
>
> diff -r 6f14253416bd -r 256b93cd1bc0 tests/run-tests.py
> --- a/tests/run-tests.py Wed Apr 15 10:33:58 2009 -0500
> +++ b/tests/run-tests.py Fri Apr 24 14:40:56 2009 -0700
> @@ -38,6 +38,7 @@
> SKIPPED_PREFIX = 'skipped: '
> FAILED_PREFIX = 'hghave check failed: '
> PYTHON = sys.executable
> +hgpkg = None
I'm 95% sure that you can remove the "hgpkg = None" in main() at the
same time. The one in main() is useless, since it just sets an
unreferenced local variable.
Greg
More information about the Mercurial-devel
mailing list