Jamie, the problem you have is that the patch you've backported passes "repo" as the first parameter to context.memfilectx() but in the mercurial version that you have, context.memfilectx() only receives the path and text. Just drop the "repo" argument in the tests as I've done for Debian Wheezy[0] and they will run.
Jamie, the problem you have is that the patch you've backported passes "repo" as the first parameter to context. memfilectx( ) but in the mercurial version that you have, context. memfilectx( ) only receives the path and text. Just drop the "repo" argument in the tests as I've done for Debian Wheezy[0] and they will run.
[0] http:// anonscm. debian. org/viewvc/ python- apps/packages/ mercurial/ branches/ wheezy/ debian/ patches/
This is not the best explanation ever, I'll send a patch later today.