There is no reason to not assume that status:null isn't 'M'.
Rietveld self-corrupts its status all the time, there is not point in bailing just because of that. So just assume it's an 'M' and it'll work fine. In any case, the diff is properly parsed to detect what was the real operation. Add unit test that correctly process a deleted file with status:null. TBR=nsylvain@chromium.org BUG= TEST=A corrupted patchset can still be committed with the Commit Queue. Review URL: http://codereview.chromium.org/10272024 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@134733 0039d316-1c4b-4281-b951-d872f2087c98experimental/szager/collated-output
parent
b9d08cece4
commit
264952ad00
Loading…
Reference in New Issue