[MERGE] fix up test_bench_history

Martin Pool mbp at canonical.com
Wed Aug 23 05:09:51 BST 2006


On 22 Aug 2006, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:

> test_bench_history is inappropriately affected by the cwd.
> 
> Specifically, it assumes that it is being run from a bzr.dev tree, and
> will fail if 'bzr selftest test_bench_history' is run in a directory
> other than the bzr tree.

I just added some code in bzrlib.version to separate this out.  (Indeed,
you very kindly pointed out that it should get the working tree's
last revision, not the branch's last revision.)  So I think this test
should just call in to there.  Patch soon.

-- 
Martin




More information about the bazaar mailing list