sapling/setup.py
Martijn Pieters f0aac1fe38 New extension: Suppress the output generated by a broken commmand.
Summary:
When a command fails, the commandfailure signal is logged. Use the information
provided by this log call to suppress the warning and all traceback
information.

In combination with the logtoprocessui extension, this should replace the less
generic errorredirect extension.

Depends on D3082490

Test Plan: run $HG/tests/runtest.py test-suppresscommandfailure.t

Reviewers: #sourcecontrol, quark, ttung, durham

Reviewed By: durham

Subscribers: mjpieters, #sourcecontrol

Differential Revision: https://phabricator.fb.com/D3084144

Signature: t1:3084144:1458755837:39fea58ed89d03a611bfcfffa88af68a2d55fddc
2016-03-23 14:36:01 -07:00

62 lines
1.3 KiB
Python

try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='fbhgext',
version='0.1.1',
author='Durham Goode',
maintainer='Durham Goode',
maintainer_email='durham@fb.com',
url='',
description='Facebook specific mercurial extensions',
long_description="",
keywords='fb hg mercurial',
license='',
py_modules=[
'arcdiff',
'automv',
'backups',
'bundle2hooks',
'catnotate',
'chistedit',
'commitextras',
'dirsync',
'errorredirect',
'extutil',
'fbamend',
'fbconduit',
'fbhistedit',
'githelp',
'gitlookup',
'gitrevset',
'inhibitwarn',
'logtoprocess',
'manifestdiskcache',
'mergedriver',
'morestatus',
'perftweaks',
'phabdiff',
'phrevset',
'phabstatus',
'pullcreatemarkers',
'pushrebase',
'pushvars',
'rage',
'reflog',
'reset',
'show',
'simplecache',
'smartlog',
'sparse',
'statprof',
'suppresscommandfailure',
'tweakdefaults',
'upgradegeneraldelta',
],
packages=[
'copytrace',
]
)