[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: "svnlook pget --revprop" not preserving revprop value

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-04-28 21:04:29 CEST

John Belmonte <john@neggie.net> writes:

> $ svnadmin create repo
> $ echo '#!/bin/sh' > repo/hooks/pre-revprop-change
> $ chmod +x repo/hooks/pre-revprop-change
> $ REPO=file:///$PWD/repo
> $ svn pset --revprop -r0 foo 'bar
> ' $REPO
> property 'foo' set on repository revision 0
> $ svn pget --revprop -r0 foo $REPO
> bar
>
> $ svnlook pget --revprop -r0 ./repo foo
> bar
> $ # note missing linefeed from svnlook

There is no missing linefeed, the "svn pg" display adds an extra one.
The "svn pg" help text tells you to use --strict to suppress the extra
newline; it doesn't work on revprops which is probably a bug.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 28 21:30:28 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.