annotate tests/__init__.py @ 284:f8f9a2993705

Implement parseurl support (#revision in repository urls) Note: Normally when using parseurl, hg clone will treat the revision after # as if it was passed in as --rev, treats that rev as a head and won't clone beyond that. This wasn't implemented here, hence all the TODO's in the comments. All we do is use the checkout parameter where appropriate to update the wc to the selected revision.
author Martijn Pieters <mj@zopatista.com>
date Mon, 27 Apr 2009 09:39:39 -0500
parents 79b0e059319d
children f423a8780832
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__)))