From bc81b8353dafffd4657e8f588977334d5ecc84d5 Mon Sep 17 00:00:00 2001 From: Adam Simpkins Date: Fri, 1 Nov 2019 17:38:10 -0700 Subject: [PATCH] update copyright statements in some additional files Summary: Update additional files in other locations that haven't been covered by previous diffs. Reviewed By: sfilipco Differential Revision: D18277575 fbshipit-source-id: d82458d7439d977aea29821e01bc897e9d1e2656 --- CMakeLists.txt | 5 +++++ Makefile | 10 ++++++++++ contrib/bdiff-torture.py | 10 ++++++++++ contrib/casesmash.py | 10 ++++++++++ contrib/check-code.py | 8 ++++++-- contrib/check-config.py | 8 ++++++-- contrib/check-py3-compat.py | 8 ++++++-- contrib/debugcmdserver.py | 10 ++++++++++ contrib/dirstatenonnormalcheck.py | 10 ++++++++++ contrib/fix-code.py | 9 +++++++++ contrib/genosxversion.py | 9 +++++++++ contrib/hgclient.py | 10 ++++++++++ contrib/hggitperf.py | 10 ++++++++++ contrib/lint.py | 9 +++++++++ contrib/memory.py | 7 ++++++- contrib/perf.py | 10 ++++++++++ contrib/python-hook-examples.py | 10 ++++++++++ contrib/python3-ratchet.py | 8 +++++++- contrib/revsetbenchmarks.py | 9 +++++++++ contrib/synthrepo.py | 9 +++++++-- contrib/traceprof.py | 9 +++++++++ distutils_rust/__init__.py | 7 +++++-- doc/check-seclevel.py | 9 +++++++++ doc/gendoc.py | 10 ++++++++++ edenscm/__init__.py | 4 ++-- edenscm/hgdemandimport/__init__.py | 7 ++++++- edenscm/hgdemandimport/demandimportpy2.py | 5 +++++ edenscm/hgdemandimport/demandimportpy3.py | 7 ++++++- edenscmnative/clindex.pyx | 4 ++-- edenscmnative/linelog.pyx | 4 ++-- edenscmnative/patchrmdir.pyx | 6 ++---- edenscmnative/traceprof.pyx | 10 +++++----- gen_version.py | 6 +++++- i18n/check-translation.py | 4 ++++ setup.py | 10 ++++++++++ .../201904-segmented-changelog/segmented-changelog.py | 4 ++-- tests/test-run-tests.t | 11 +++++------ 37 files changed, 258 insertions(+), 38 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ef99c596e..24372979e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,8 @@ +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + cmake_minimum_required(VERSION 3.7) # CMake include directories diff --git a/Makefile b/Makefile index 2af41afd3f..47ccbe36f5 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,13 @@ +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. + # If you want to change PREFIX, do not just edit it below. The changed # value wont get passed on to recursive make calls. You should instead # override the variable on the command like: diff --git a/contrib/bdiff-torture.py b/contrib/bdiff-torture.py index 81ed5a69a2..e94e98e387 100644 --- a/contrib/bdiff-torture.py +++ b/contrib/bdiff-torture.py @@ -1,3 +1,13 @@ +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. + # Randomized torture test generation for bdiff from __future__ import absolute_import, print_function diff --git a/contrib/casesmash.py b/contrib/casesmash.py index 9835586c1f..cca9faa8f2 100644 --- a/contrib/casesmash.py +++ b/contrib/casesmash.py @@ -1,3 +1,13 @@ +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. + from __future__ import absolute_import import __builtin__ diff --git a/contrib/check-code.py b/contrib/check-code.py index 36d56f6b22..a3c243907a 100755 --- a/contrib/check-code.py +++ b/contrib/check-code.py @@ -1,12 +1,16 @@ #!/usr/bin/env python +# Portions Copyright (c) Facebook, Inc. and its affiliates. # -# check-code - a style and portability checker for Mercurial -# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + # Copyright 2010 Matt Mackall # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. +# check-code - a style and portability checker for Mercurial + """style and portability checker for Mercurial when a rule triggers wrong, do one of the following (prefer one from top): diff --git a/contrib/check-config.py b/contrib/check-config.py index a87b019ebf..01121c6eed 100755 --- a/contrib/check-config.py +++ b/contrib/check-config.py @@ -1,12 +1,16 @@ #!/usr/bin/env python +# Portions Copyright (c) Facebook, Inc. and its affiliates. # -# check-config - a config flag documentation checker for Mercurial -# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + # Copyright 2015 Matt Mackall # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. +# check-config - a config flag documentation checker for Mercurial + from __future__ import absolute_import, print_function import re diff --git a/contrib/check-py3-compat.py b/contrib/check-py3-compat.py index 77fe51bac7..acb9f0522d 100755 --- a/contrib/check-py3-compat.py +++ b/contrib/check-py3-compat.py @@ -1,12 +1,16 @@ #!/usr/bin/env python +# Portions Copyright (c) Facebook, Inc. and its affiliates. # -# check-py3-compat - check Python 3 compatibility of Mercurial files -# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + # Copyright 2015 Gregory Szorc # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. +# check-py3-compat - check Python 3 compatibility of Mercurial files + from __future__ import absolute_import, print_function import ast diff --git a/contrib/debugcmdserver.py b/contrib/debugcmdserver.py index 74d55b2655..3ec5fc1132 100755 --- a/contrib/debugcmdserver.py +++ b/contrib/debugcmdserver.py @@ -1,4 +1,14 @@ #!/usr/bin/env python +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. + # # Dumps output generated by Mercurial's command server in a formatted style to a # given file or stderr if '-' is specified. Output is also written in its raw diff --git a/contrib/dirstatenonnormalcheck.py b/contrib/dirstatenonnormalcheck.py index 2c62386ffb..4f40acc15d 100644 --- a/contrib/dirstatenonnormalcheck.py +++ b/contrib/dirstatenonnormalcheck.py @@ -1,3 +1,13 @@ +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. + # dirstatenonnormalcheck.py - extension to check the consistency of the # dirstate's non-normal map # diff --git a/contrib/fix-code.py b/contrib/fix-code.py index e7c2ecb0ab..636127fc96 100755 --- a/contrib/fix-code.py +++ b/contrib/fix-code.py @@ -1,4 +1,13 @@ #!/usr/bin/env python +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. """Automatically fix code diff --git a/contrib/genosxversion.py b/contrib/genosxversion.py index 19ca5a9a80..20aa4cd909 100755 --- a/contrib/genosxversion.py +++ b/contrib/genosxversion.py @@ -1,4 +1,13 @@ #!/usr/bin/env python2 +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. from __future__ import absolute_import, print_function import argparse diff --git a/contrib/hgclient.py b/contrib/hgclient.py index 126ec4b07c..1b5d851b94 100644 --- a/contrib/hgclient.py +++ b/contrib/hgclient.py @@ -1,3 +1,13 @@ +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. + # A minimal client for Mercurial's command server from __future__ import absolute_import, print_function diff --git a/contrib/hggitperf.py b/contrib/hggitperf.py index dbf7f57510..9c408e63ca 100644 --- a/contrib/hggitperf.py +++ b/contrib/hggitperf.py @@ -1,3 +1,13 @@ +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. + # hggitperf.py - performance test routines """helper extension to measure performance of hg-git operations diff --git a/contrib/lint.py b/contrib/lint.py index 266821b5ce..8a21e714b5 100755 --- a/contrib/lint.py +++ b/contrib/lint.py @@ -1,4 +1,13 @@ #!/usr/bin/env python +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. """ Convert mercurial check-code errors into a format that plays nicely with arc lint """ diff --git a/contrib/memory.py b/contrib/memory.py index dbcb040a2e..86effb7a6e 100644 --- a/contrib/memory.py +++ b/contrib/memory.py @@ -1,10 +1,15 @@ -# memory.py - track memory usage +# Portions Copyright (c) Facebook, Inc. and its affiliates. # +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + # Copyright 2009 Matt Mackall and others # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. +# memory.py - track memory usage + """helper extension to measure memory usage Reads current and peak memory usage from ``/proc/self/status`` and diff --git a/contrib/perf.py b/contrib/perf.py index 440d0f113d..349d253581 100644 --- a/contrib/perf.py +++ b/contrib/perf.py @@ -1,3 +1,13 @@ +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. + # perf.py - performance test routines """helper extension to measure performance""" diff --git a/contrib/python-hook-examples.py b/contrib/python-hook-examples.py index 79663d82ac..5e047276d1 100644 --- a/contrib/python-hook-examples.py +++ b/contrib/python-hook-examples.py @@ -1,3 +1,13 @@ +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. + """ Examples of useful python hooks for Mercurial. """ diff --git a/contrib/python3-ratchet.py b/contrib/python3-ratchet.py index 061ac9acb4..86e1af5326 100644 --- a/contrib/python3-ratchet.py +++ b/contrib/python3-ratchet.py @@ -1,7 +1,13 @@ -# Copyright 2012 Facebook +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. + """Find tests that newly pass under Python 3. The approach is simple: we maintain a whitelist of Python 3 passing diff --git a/contrib/revsetbenchmarks.py b/contrib/revsetbenchmarks.py index e0844fddf2..3c8c95bbf1 100755 --- a/contrib/revsetbenchmarks.py +++ b/contrib/revsetbenchmarks.py @@ -1,4 +1,13 @@ #!/usr/bin/env python +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. # Measure the performance of a list of revsets against multiple revisions # defined by parameter. Checkout one by one and run perfrevset with every diff --git a/contrib/synthrepo.py b/contrib/synthrepo.py index 3cfdd27424..55accc41cd 100644 --- a/contrib/synthrepo.py +++ b/contrib/synthrepo.py @@ -1,10 +1,15 @@ -# synthrepo.py - repo synthesis +# Portions Copyright (c) Facebook, Inc. and its affiliates. # -# Copyright 2012 Facebook +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. +# synthrepo.py - repo synthesis + """synthesize structurally interesting change history This extension is useful for creating a repository with properties diff --git a/contrib/traceprof.py b/contrib/traceprof.py index 44b0e812ce..c690a0fb7e 100755 --- a/contrib/traceprof.py +++ b/contrib/traceprof.py @@ -1,4 +1,13 @@ #!/usr/bin/env python +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. from __future__ import absolute_import, print_function diff --git a/distutils_rust/__init__.py b/distutils_rust/__init__.py index 2e262c151b..a73ef8a7e4 100644 --- a/distutils_rust/__init__.py +++ b/distutils_rust/__init__.py @@ -1,6 +1,9 @@ -# distutils_rust.py - distutils extension for building Rust extension modules +# Copyright (c) Facebook, Inc. and its affiliates. # -# Copyright 2017 Facebook, Inc. +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# distutils_rust.py - distutils extension for building Rust extension modules from __future__ import absolute_import diff --git a/doc/check-seclevel.py b/doc/check-seclevel.py index bcbdeeb5c4..9f50d4d760 100755 --- a/doc/check-seclevel.py +++ b/doc/check-seclevel.py @@ -1,5 +1,14 @@ #!/usr/bin/env python +# Portions Copyright (c) Facebook, Inc. and its affiliates. # +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. + # checkseclevel - checking section title levels in each online help document from __future__ import absolute_import diff --git a/doc/gendoc.py b/doc/gendoc.py index dcea8ff407..ca124f83b7 100755 --- a/doc/gendoc.py +++ b/doc/gendoc.py @@ -1,4 +1,14 @@ #!/usr/bin/env python +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. + """usage: %s DOC ... where DOC is the name of a document diff --git a/edenscm/__init__.py b/edenscm/__init__.py index 9feda40b50..67e975c540 100644 --- a/edenscm/__init__.py +++ b/edenscm/__init__.py @@ -1,7 +1,7 @@ -# Copyright Facebook, Inc. 2019 +# Copyright (c) Facebook, Inc. and its affiliates. # # This software may be used and distributed according to the terms of the -# GNU General Public License version 2 or any later version. +# GNU General Public License version 2. from __future__ import absolute_import diff --git a/edenscm/hgdemandimport/__init__.py b/edenscm/hgdemandimport/__init__.py index d776667263..e48ef8c65a 100644 --- a/edenscm/hgdemandimport/__init__.py +++ b/edenscm/hgdemandimport/__init__.py @@ -1,6 +1,11 @@ +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + # hgdemandimport - global demand-loading of modules for Mercurial # -# Copyright 2017 Facebook Inc. +# Copyright Matt Mackall and others # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. diff --git a/edenscm/hgdemandimport/demandimportpy2.py b/edenscm/hgdemandimport/demandimportpy2.py index d285fa56bb..85392adacd 100644 --- a/edenscm/hgdemandimport/demandimportpy2.py +++ b/edenscm/hgdemandimport/demandimportpy2.py @@ -1,3 +1,8 @@ +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + # demandimport.py - global demand-loading of modules for Mercurial # # Copyright 2006, 2007 Matt Mackall diff --git a/edenscm/hgdemandimport/demandimportpy3.py b/edenscm/hgdemandimport/demandimportpy3.py index b7753c7026..96e5ea3c5e 100644 --- a/edenscm/hgdemandimport/demandimportpy3.py +++ b/edenscm/hgdemandimport/demandimportpy3.py @@ -1,6 +1,11 @@ +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + # demandimportpy3 - global demand-loading of modules for Mercurial # -# Copyright 2017 Facebook Inc. +# Copyright Matt Mackall and others # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. diff --git a/edenscmnative/clindex.pyx b/edenscmnative/clindex.pyx index 80a0da0bbf..b0badf3c26 100644 --- a/edenscmnative/clindex.pyx +++ b/edenscmnative/clindex.pyx @@ -1,7 +1,7 @@ -# Copyright 2017 Facebook, Inc. +# Copyright (c) Facebook, Inc. and its affiliates. # # This software may be used and distributed according to the terms of the -# GNU General Public License version 2 or any later version. +# GNU General Public License version 2. """alternative changelog index diff --git a/edenscmnative/linelog.pyx b/edenscmnative/linelog.pyx index 706b15a471..ab7aa45bd0 100644 --- a/edenscmnative/linelog.pyx +++ b/edenscmnative/linelog.pyx @@ -1,7 +1,7 @@ -# Copyright 2016 Facebook, Inc. +# Copyright (c) Facebook, Inc. and its affiliates. # # This software may be used and distributed according to the terms of the -# GNU General Public License version 2 or any later version. +# GNU General Public License version 2. from libc.errno cimport errno from libc.stdint cimport uint32_t, uint8_t diff --git a/edenscmnative/patchrmdir.pyx b/edenscmnative/patchrmdir.pyx index 5d41c651de..041c6963e3 100644 --- a/edenscmnative/patchrmdir.pyx +++ b/edenscmnative/patchrmdir.pyx @@ -1,9 +1,7 @@ -# patchrmdir.py -# -# Copyright 2017 Facebook, Inc. +# Copyright (c) Facebook, Inc. and its affiliates. # # This software may be used and distributed according to the terms of the -# GNU General Public License version 2 or any later version. +# GNU General Public License version 2. """patch rmdir diff --git a/edenscmnative/traceprof.pyx b/edenscmnative/traceprof.pyx index 3409b7e039..dfacdcb45d 100644 --- a/edenscmnative/traceprof.pyx +++ b/edenscmnative/traceprof.pyx @@ -1,11 +1,11 @@ +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + # distutils: language = c++ # traceprof.pyx - C++ to Python bridge for the traceprof Mercurial extension -# -# Copyright 2017 Facebook, Inc. -# -# This software may be used and distributed according to the terms of the -# GNU General Public License version 2 or any later version. """accurate callgraph profiling diff --git a/gen_version.py b/gen_version.py index cb0492dd14..0e2bd3f91a 100755 --- a/gen_version.py +++ b/gen_version.py @@ -1,5 +1,9 @@ #!/usr/bin/env python -# Copyright 2004-present Facebook. All Rights Reserved. +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + import argparse import errno import hashlib diff --git a/i18n/check-translation.py b/i18n/check-translation.py index 8b70ae222b..e6d40cedc1 100755 --- a/i18n/check-translation.py +++ b/i18n/check-translation.py @@ -1,4 +1,8 @@ #!/usr/bin/env python +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. # Copyright 2013 Mercurial Contributors # diff --git a/setup.py b/setup.py index a5bd13f9c1..98458d97d3 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,13 @@ +# Portions Copyright (c) Facebook, Inc. and its affiliates. +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2. + +# Copyright Matt Mackall and others +# +# This software may be used and distributed according to the terms of the +# GNU General Public License version 2 or any later version. + # This is the mercurial setup script. # # 'python setup.py install', or diff --git a/slides/201904-segmented-changelog/segmented-changelog.py b/slides/201904-segmented-changelog/segmented-changelog.py index 1a38ce5af7..9ae72f2fbb 100644 --- a/slides/201904-segmented-changelog/segmented-changelog.py +++ b/slides/201904-segmented-changelog/segmented-changelog.py @@ -1,7 +1,7 @@ -# Copyright 2019 Facebook, Inc. +# Copyright (c) Facebook, Inc. and its affiliates. # # This software may be used and distributed according to the terms of the -# GNU General Public License version 2 or any later version. +# GNU General Public License version 2. import hashlib import sys diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t index 4234c9e06b..cc9ad56bac 100644 --- a/tests/test-run-tests.t +++ b/tests/test-run-tests.t @@ -1205,12 +1205,11 @@ running is placed. > If this prints a path, that means RUNTESTDIR didn't equal > TESTDIR as it should have. > $ test "\$RUNTESTDIR" = "$TESTDIR" || echo "\$RUNTESTDIR" - > This should print the start of check-code. If this passes but the - > previous check failed, that means we found a copy of check-code at whatever - > RUNTESTSDIR ended up containing, even though it doesn't match TESTDIR. - > $ head -n 3 "\$RUNTESTDIR"/../contrib/check-code.py | sed 's@.!.*python@#!USRBINENVPY@' - > #!USRBINENVPY - > # + > Make sure we can find check-code.py relative to $RUNTESTDIR + > If this passes but the previous check failed, that means we found a copy of + > check-code at whatever RUNTESTSDIR ended up containing, even though it + > doesn't match TESTDIR. + > $ grep 'a style and portability checker' "\$RUNTESTDIR"/../contrib/check-code.py > # check-code - a style and portability checker for Mercurial > EOF $ rt test-runtestdir.t