[svnbook] r4420 committed - Finish issue 178 ("document ephemeral txnprops (new in 1.8) and how...

C. Michael Pilato cmpilato at red-bean.com
Sat Feb 9 16:53:20 CST 2013


That.  Is.  Cool.  Wish the stupid book authors would have noted that feature.

On 02/09/2013 05:17 PM, Daniel Shahaf wrote:
> Daniel Shahaf wrote on Sun, Feb 10, 2013 at 00:04:04 +0200:
>> C. Michael Pilato wrote on Sat, Feb 09, 2013 at 16:49:52 -0500:
>>> One question though:  does Subversion INI parsing code support %()s ?!  That
>>> would totally be news to me!
>> Yes, see
>> subversion/tests/libsvn_subr/config-test.cfg
>> subversion/tests/libsvn_subr/config-test.c
> Example:
>
> % rm -rf d
> % mkdir d
> % cd d
> % c=$PWD/cfg         
> % $svn --config-dir=$c help >/dev/null 
> % cat > $c/config
> [miscellany]      
> enable-auto-props=yes
>
> [DEFAULT]
> foo=bar
> [default]
> foo=bar
>
> [auto-props]
> * = %(foo)s=v
> % $svnadmin create r
> % $svn co -q file://$PWD/r wc
> % touch wc/iota
> % $svn --config-dir=$c add wc/iota
> A         wc/iota
> % $svn pl -v wc/iota
> Properties on 'wc/iota':
>   bar
>     v
> % 





More information about the svnbook-dev mailing list