diff tests/run.py @ 615:edd112855189

tests/run.py: make sure our hgsubversion loads correctly
author Augie Fackler <durin42@gmail.com>
date Tue, 18 May 2010 14:46:50 -0500
parents 4f6017ba4d3d
children c38fe89a5cbc
line wrap: on
line diff
--- a/tests/run.py
+++ b/tests/run.py
@@ -62,6 +62,9 @@ if __name__ == '__main__':
     else:
         testargs = {'descriptions': 2}
 
+    # make sure our copy of hgsubversion gets imported
+    sys.path.append(os.path.dirname(os.path.dirname(__file__)))
+
     if options.demandimport:
         from mercurial import demandimport
         demandimport.enable()