python-patch icon indicating copy to clipboard operation
python-patch copied to clipboard

Library to parse and apply unified diffs

Results 39 python-patch issues
Sort by recently updated
recently updated
newest added

``` I noticed that patch.py does not support patches that add or remove files. Following patch against v245 adds support for this. ``` Original issue reported on code.google.com by `[email protected]`...

auto-migrated
P2
Type-Bug

Exported changesets from version control systems, such as Mercurial and Git often include binary files, so it would be nice if library could create them too.

After creating files and directories introduce --strict mode to cope with previous behavior. Or just skip it?

``` What steps will reproduce the problem? 1.python diff.py -u patch.py.merge-left.r40 patch.py.merge-right.r41 > portfix.diff What is the expected output? What do you see instead? filenames in diff header are not...

Priority-Medium
Type-Defect
auto-migrated

``` I'm using patch in an app that needs to accept patch files and apply them safely contained within a certain directory. Namely, it needs to vet each file that...

auto-migrated
P2
Type-Bug

``` What steps will reproduce the problem? 1. run patch.py two times What is the expected output? What do you see instead? file 4/4: templates/issue.html hunk no.2 doesn't match source...

auto-migrated
P2
Type-Bug

``` What steps will reproduce the problem? 1. Add new or change existing binary file in svn repository. 2. Create svn diff. 3. Try to parse/apply patch with patch.py What...

auto-migrated
P2
Type-Bug

``` Revise documentation on unified diff format and include diagrams for at least classic, svn and hg diff. ``` Original issue reported on code.google.com by `[email protected]` on 25 Aug 2009...

auto-migrated
P1
Type-Story

``` What steps will reproduce the problem? 1.Produce patches for files named with spaces using "diff", "hg" and "svn" 2.Try patch.py on these ``` Original issue reported on code.google.com by...

Priority-Medium
Type-Defect
auto-migrated