annotate tests/__init__.py @ 326:33736e2e25f0

alternate approach for supporting svn schemes for repository paths We now intercept the operations in the local repo class, and handle the relevant operation ourselves. This frees us from wrapping all relevant commands and replicating their functionality. The implementation is incomplete; only one test has been modified to use the standard Mercurial API with the changed URLs. Once changed, those tests will likely reveal bugs or missing features in the new wrappers. Also, new wrappers will be needed for handling conversion flags such as -A/--authormap.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Thu, 07 May 2009 20:50:53 +0200
parents 5dc8fee7fc96
children 537de0300510
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
79b0e059319d Reorganized the testing infrastructure a bit so that svnwrap is really separate from the rest of the project. Also made it easier to add more tests in the future without making the directory full of annoying files.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
1 import sys
79b0e059319d Reorganized the testing infrastructure a bit so that svnwrap is really separate from the rest of the project. Also made it easier to add more tests in the future without making the directory full of annoying files.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
2 import os
79b0e059319d Reorganized the testing infrastructure a bit so that svnwrap is really separate from the rest of the project. Also made it easier to add more tests in the future without making the directory full of annoying files.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
3 sys.path.append(os.path.dirname(os.path.dirname(__file__)))