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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1404035 Title: Errors in handling case-sensitive directories allow for remote code execution on pull To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1404035/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs