##// END OF EJS Templates
contrib: update hg-ssh to conform with import style checks
Augie Fackler -
r33892:42bc7f39 default
parent child Browse files
Show More
@@ -28,13 +28,19 b' command="cd repos && hg-ssh user/thomas/'
28 You can also add a --read-only flag to allow read-only access to a key, e.g.:
28 You can also add a --read-only flag to allow read-only access to a key, e.g.:
29 command="hg-ssh --read-only repos/*"
29 command="hg-ssh --read-only repos/*"
30 """
30 """
31 from __future__ import absolute_import
32
33 import os
34 import shlex
35 import sys
31
36
32 # enable importing on demand to reduce startup time
37 # enable importing on demand to reduce startup time
33 from mercurial import demandimport; demandimport.enable()
38 import hgdemandimport ; hgdemandimport.enable()
34
39
35 from mercurial import dispatch, ui as uimod
40 from mercurial import (
36
41 dispatch,
37 import sys, os, shlex
42 ui as uimod,
43 )
38
44
39 def main():
45 def main():
40 cwd = os.getcwd()
46 cwd = os.getcwd()
General Comments 0
You need to be logged in to leave comments. Login now