edenscm: add a main module

Summary:
Make it possible to run edenscm via a "python package".

This makes it possible to run monkeytype [1] via debugpyhon:

    ./hg3 debugpython -- -m monkeytype run edenscm help log --pager=off

[1]: https://github.com/Instagram/MonkeyType

Reviewed By: farnz

Differential Revision: D19655850

fbshipit-source-id: 358f9dcf976141f798af2d57fb6392f2bca6a396
This commit is contained in:
Jun Wu 2020-01-30 18:07:20 -08:00 committed by Facebook Github Bot
parent 040e01d65c
commit 94c6853e8d

View File

@ -0,0 +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.
from __future__ import absolute_import
import edenscm
edenscm.run()