Replace 1.9 test with one that works with demandimport
authorPaul Crowley <paul@lshift.net>
Tue, 06 Sep 2011 10:22:36 +0100
changeset 306 f832a8aeef44
parent 305 bf58227c168a
child 307 9009a37ad45b
Replace 1.9 test with one that works with demandimport
src/hg-ssh
--- 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