D5743: patch: handle 0 context lines (diff.unified=0) when parsing patches

2019-02-13 Thread akshjain.jain74 (Akshit Jain)
akshjain.jain74 updated this revision to Diff 14078. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5743?vs=13571&id=14078 REVISION DETAIL https://phab.mercurial-scm.org/D5743 AFFECTED FILES mercurial/patch.py tests/test-commit-interactive.t tests

D5743: patch: handle 0 context lines (diff.unified=0) when parsing patches

2019-01-30 Thread spectral (Kyle Lippincott)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd1d3094b54f9: patch: handle 0 context lines (diff.unified=0) when parsing patches (authored by spectral, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm

D5743: patch: handle 0 context lines (diff.unified=0) when parsing patches

2019-01-29 Thread spectral (Kyle Lippincott)
spectral created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Previously, if there were no context lines, we would just keep updating the ranges and the hunk, but not actually storing the hunk (just overwriting it each ti