| Summary | diff.php in svn mode cannot find previous version |
| Queue | Chora |
| Queue Version | HEAD |
| Type | Enhancement |
| State | Resolved |
| Priority | 1. Low |
| Owners | |
| Requester | helly (at) php (dot) net |
| Created | 05/11/2007 (372 days ago) |
| Due | |
| Updated | 05/11/2007 (372 days ago) |
| Assigned | |
| Resolved | 05/11/2007 (372 days ago) |
| Attachments | diff.php-HEAD-2007-05-11.diff.txt ![]() |
| Milestone | |
| Patch |
State ⇒ Resolved
Makes sense to me - probably applicable in other cases also and I don't think there's harm, so I took out the svn check. Thanks!Type ⇒ Enhancement
Summary ⇒ diff.php in svn mode cannot find previous version
New Attachment: diff.php-HEAD-2007-05-11.diff.txt
Queue ⇒ Chora
Priority ⇒ 1. Low
State ⇒ New
When i generate a diff link from a post-commit script in a subversion repository i might get the new version as r2 and the old version r1 as r2-1. For subversion this is no problem as one simply needs to search for the newest version rn < = r1. The attached patch does this.