annotate tests/__init__.py @ 602:7c44bc259505

wrappers.pull: fix calculation of progress totals. The previous calculation was wrong and could lead to negative totals; it substracted a revision number from totals, from which the start revision has already been subtracted.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 31 Mar 2010 14:04:31 +0200
parents 537de0300510
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
347
537de0300510 Remove the 'outgoing' wrapper, and use the Mercurial infrastructure instead.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 317
diff changeset
1 import imp, os, sys
537de0300510 Remove the 'outgoing' wrapper, and use the Mercurial infrastructure instead.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 317
diff changeset
2
537de0300510 Remove the 'outgoing' wrapper, and use the Mercurial infrastructure instead.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 317
diff changeset
3 sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))