[Webkit-unassigned] [Bug 39170] Add support function to parse SVN single-line and multi-line property value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 16 15:10:52 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39170





--- Comment #12 from Daniel Bates <dbates at webkit.org>  2010-05-16 15:10:52 PST ---
(In reply to comment #11)
> FYI, I just discovered that prepare-ChangeLog has some code to parse property changes from an SVN diff.  It would be worth studying that to see what code can be shared, etc:
> 
> http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/prepare-ChangeLog?rev=58327#L1342

Notice, this code is used to determine the names of the properties that have been added, deleted, or modified on a file. But, it doesn't parse a change for its value (*), which is necessary to apply or unapply the change using svn-apply and svn-unapply, respectively.

(*) Disregarding the "Name" and "Modified" type properties, this code would work to determine the value of the svn:executable bit since the svn:executable property has no defined value as per <http://svnbook.red-bean.com/en/1.5/svn.advanced.props.file-portability.html#svn.advanced.props.special.executable>. Hence, we can infer whether it was added or removed from its property type. Clearly, this code cannot detect the value of the svn:executable property for SVN version < 1.5. Notice, Leopard 10.5.8 ships with SVN 1.4.4.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list