src/hg-ssh
changeset 306 f832a8aeef44
parent 305 bf58227c168a
child 374 7a1d6b228af6
--- a/src/hg-ssh	Tue Aug 30 15:45:37 2011 +0100
+++ b/src/hg-ssh	Tue Sep 06 10:22:36 2011 +0100
@@ -20,8 +20,8 @@
 from mercurial import dispatch
 
 try:
-    from mercurial.dispatch import request
-except ImportError:
+    request = dispatch.request
+except AttributeError:
     request = list
 
 import sys, os, os.path