sapling/eden/scm/tests/bundlerepologger.py
Adam Simpkins ab3a7cb21f Move fb-mercurial sources into an eden/scm subdirectory.
Summary:
In preparation for merging fb-mercurial sources to the Eden repository,
move everything from the top-level directory into an `eden/scm`
subdirectory.
2019-11-13 16:04:48 -08:00

17 lines
483 B
Python

# 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.
from edenscm.mercurial import bundlerepo, extensions
from edenscm.mercurial.i18n import _
def extsetup(ui):
extensions.wrapfunction(bundlerepo.bundlerepository, "__init__", _init)
def _init(orig, self, ui, *args, **kwargs):
ui.warn(_("creating bundlerepo"))
return orig(self, ui, *args, **kwargs)