changeset 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 532c545d162c
files tests/run.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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()