mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
90d76a6ec9
This way other applications can choose if and when they want this feature, because it might be problematic if those applications rely on ImportError.
15 lines
421 B
Python
Executable File
15 lines
421 B
Python
Executable File
#!/usr/bin/env python
|
|
#
|
|
# mercurial - scalable distributed SCM
|
|
#
|
|
# Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
|
|
#
|
|
# This software may be used and distributed according to the terms
|
|
# of the GNU General Public License, incorporated herein by reference.
|
|
|
|
# enable importing on demand to reduce startup time
|
|
from mercurial import demandimport; demandimport.enable()
|
|
|
|
import mercurial.dispatch
|
|
mercurial.dispatch.run()
|