Comment 17 for bug 82693

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 82693] Re: Ability to run tests in a particular plugin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

...

>>> My code does this by setting BZR_PLUGIN_PATH based on __file__,
>>> so that it will always be testing the code that you are running
>>> it from, as well as a symlink to get it to appear as the correct
>>> name, regardless of the directory name.
>> This is what is broken - you aren't testing the commit, you're testing
>> the original tree which isn't the same thing.
>
> I don't understand what you mean by this.
>
> Thanks,
>
> James
>

branch.basis_tree() is a committed tree, which is the tree *just before*
the one you are adding.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknn38sACgkQJdeBCYSNAAMKnwCfZp0WTULoZzWvrzBSi+D43cig
c7AAoKgkOr6pHwsKxDdKCuL8Af4xPwNy
=ff3s
-----END PGP SIGNATURE-----