contrib/hg-ssh
changeset 33891 42bc7f39376b
parent 32050 77eaf9539499
child 37944 dc1ed7fe33e4
--- a/contrib/hg-ssh	Tue Aug 22 12:59:21 2017 -0400
+++ b/contrib/hg-ssh	Tue Aug 22 14:11:48 2017 -0400
@@ -28,13 +28,19 @@
 You can also add a --read-only flag to allow read-only access to a key, e.g.:
 command="hg-ssh --read-only repos/*"
 """
+from __future__ import absolute_import
+
+import os
+import shlex
+import sys
 
 # enable importing on demand to reduce startup time
-from mercurial import demandimport; demandimport.enable()
+import hgdemandimport ; hgdemandimport.enable()
 
-from mercurial import dispatch, ui as uimod
-
-import sys, os, shlex
+from mercurial import (
+    dispatch,
+    ui as uimod,
+)
 
 def main():
     cwd = os.getcwd()