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

Daniel Shahaf d.s at daniel.shahaf.name
Sun Feb 10 14:01:04 CST 2013


C. Michael Pilato wrote on Sat, Feb 09, 2013 at 17:53:20 -0500:
> That.  Is.  Cool.  Wish the stupid book authors would have noted that feature.
> 

It is documented in ~/.subversion/README.txt.

Agreed that it'd be useful for the book to point that out.

Daniel

> 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
> > % 
> 
> 
> _______________________________________________
> svnbook-dev mailing list
> svnbook-dev at red-bean.com
> http://www.red-bean.com/mailman/listinfo/svnbook-dev




More information about the svnbook-dev mailing list