Bug 80762 - VCSUtils.pm doesn't support SVN 1.7 diff files
Summary: VCSUtils.pm doesn't support SVN 1.7 diff files
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Daniel Bates
URL:
Keywords:
: 80104 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-10 11:39 PST by Ashod Nakashian
Modified: 2012-10-09 13:36 PDT (History)
6 users (show)

See Also:


Attachments
Patch and unit tests (17.83 KB, patch)
2012-10-08 22:47 PDT, Daniel Bates
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ashod Nakashian 2012-03-10 11:39:48 PST
VCSUtils.pm doesn't support SVN 1.7 diff files. In particular, SVN properties aren't completely supported and the 1.7 version specific markers aren't supported at all.

This bug is to address this issue, adding support for SVN 1.7 diff files as much as reasonably possible. Specifically, the following FIXME in VCSUtils.pm:1007 is to be addressed:


        # FIXME: We should expand this code to support other properties.  In the future,
        #        parseSvnDiffProperties may return a hash whose keys are the properties.
Comment 1 Daniel Bates 2012-10-08 22:47:55 PDT
Created attachment 167692 [details]
Patch and unit tests
Comment 2 Eric Seidel (no email) 2012-10-08 23:03:17 PDT
Comment on attachment 167692 [details]
Patch and unit tests

Seems reasonable to me, but I feel neither a perl nor svn expert.  If you need a more detailed review, I recommend you find one. :)
Comment 3 Daniel Bates 2012-10-08 23:13:20 PDT
(In reply to comment #0)
> [...]
> This bug is to address this issue, adding support for SVN 1.7 diff files as much as reasonably possible. Specifically, the following FIXME in VCSUtils.pm:1007 is to be addressed:
> 
> 
>         # FIXME: We should expand this code to support other properties.  In the future,
>         #        parseSvnDiffProperties may return a hash whose keys are the properties.

This FIXME is to implement support for recognizing additional SVN properties (*). It isn't necessary to fix this FIXME to support SVN 1.7 formatted diffs. Filed <https://bugs.webkit.org/show_bug.cgi?id=98723> to recognize additional SVN properties.

(*) Currently, we only recognize the property svn:executable.
Comment 4 Daniel Bates 2012-10-08 23:13:42 PDT
*** Bug 80104 has been marked as a duplicate of this bug. ***
Comment 5 Daniel Bates 2012-10-09 13:36:07 PDT
Comment on attachment 167692 [details]
Patch and unit tests

Clearing flags on attachment: 167692

Committed r130805: <http://trac.webkit.org/changeset/130805>
Comment 6 Daniel Bates 2012-10-09 13:36:10 PDT
All reviewed patches have been landed.  Closing bug.