Lorenz wrote: >Stefan Sperling wrote: >>On Fri, May 24, 2013 at 12:39:04PM +0000, Lorenz wrote: >>> I'm playing around with the new custom keyword expansion. >>> >>> I would like to create a keyword like: >>> >>> >>> SAL-EAGLE="/><attribute%_name="BRD-SVN-REV"%_value="%r"/><attribute%_name="dummy"%_value=" >>> >>> Problem is, that as soon as I incorporate a '=' character in my >>> definition, keyword expansion for that keyword stops working. >>> [...] >> >>Fixed in http://svn.apache.org/r1486072 and nominated for backport >>to the 1.8.x series. Not sure if this fix will make 1.8.0, but it >>should make 1.8.1. > >thanks for the quick fix. > >I'm using a TSVN nightly in the moment. If the fix doesn't make it >into 1.8.0 I possibly just grab a the next TSVN nightly that contains >it.
1) There still seems to be a bug in the custom keyword expansion (using the TSVN nightly which pulls from subversions 1.8.x branch from last night). When I use the attached text file with svn propset svn:keywords -F val.txt <file-path> to set the keywords, I get an incomplete expansion. The file contains <attribute name="SAL-EAGLE" value="$Sal-Eagle:$"/> which gets expanded to <attribute name="SAL-EAGLE" value="$Sal-Eagle: "/><attribute name="SVN-A" value="LL"/><attribute name="SVN-B" value="untitled.sch"/><attribute name="SVN-D" value="2013-05-27 08:27:28Z"/><attribute name="SVN-P" value="eagleTests2/untitled.sch"/><attribute name="SVN-R" value="162"/><attrib $"/> please note that the expansion is cut-off in the middle of '<attribute'. That's 256 character if I count correctly. Looks like a fixed and to small buffer size. 2) additional enhancement request would it be possible to add '%n' for newline? -- Lorenz