author Connor Sheehan <>
Tue, 24 Aug 2021 16:03:49 +0000
changeset 7726 177006efefb39dca50b218119cdb14d69c000085
parent 7541 525d21339c70db7268e6d9340a7dc46a96f79e94
permissions -rwxr-xr-x
clonebundles: remove `replicatesync` logging message from `test-clonebundles.t` (Bug 1727344) r=zeid This was removed after bug 1714463. Depends on D123482 Differential Revision:

#!/usr/bin/env python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

import os
import sys

HERE = os.path.abspath(os.path.dirname(__file__))

def main(args):
    if 'VIRTUAL_ENV' not in os.environ:
        activate = os.path.join(HERE, 'venv', 'bin', '')
        with open(activate) as f:
            exec(, dict(__file__=activate))
        sys.executable = os.path.join(HERE, 'venv', 'bin', 'python')

    from mach.main import Mach

    m = Mach(os.getcwd())

    m.define_category('treestatus', 'Treestatus',
        'Control and interact with Treestatus', 50)
    import vcttesting.treestatus_mach_commands


if __name__ == '__main__':