Rewritten patch scripts
Removed support for repo-patch-diff-apply