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

svn prop* syntax weirdness

From: Rafael Garcia-Suarez <raphel.garcia-suarez_at_hexaflux.com>
Date: 2002-11-06 10:51:04 CET

"svn help pg" lists :

usage: 1. propget PROPNAME [WC_TARGETS]
       2. propget PROPNAME -r REV [URL]

First usage prints versioned prop in working copy.
Second usage prints unversioned remote prop on repos revision.

(similar notes for other prop* commands.)
(the second usage is not listed in svn(1).)

But I've not found a way to get the versioned property of a file "foo"
at a specified revision. To do this, I need to do :
        svn info foo | grep Revision: | awk '{print $2}' > /tmp/r
        svn up foo -r1
        svn pl foo
        svn up foo -r `cat /tmp/r`
while I wanted to do
        svn pl foo -r1 # get the property list that foo had at rev #1

Currently this latest command returns the (unversioned) property list for
revision #1 for the repository to which the "foo" wc-path refers.

This is a problem with the syntax of the prop* commands, but
I'm not sure how to solve it. (That also why I'm not submitting
a patch to the svn.1 manpage for now.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 6 10:54:52 2002

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.