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

Possible bug in "svn getprop --revprop" command

From: David Weintraub <qazwart_at_gmail.com>
Date: 2005-06-30 17:30:45 CEST

Just want to verify that this is a bug before I log it.

I am attempting to check the value of "svn:log" at the time of the
commit transaction via the svnlook command. I want to reject it if it
doesn't match a predetermined string or regex. (Yes, I know I could
simply do a "svnlook -t $TXN log" instead of an "svnlook propget
--revprop -t $TXN", but it's a long story why I am doing it this
way).

When I run the command:

/usr/bin/svnlook propget --revprop -t 0-1 /home/weintraub/respos svn:log

I get:

svnlook: No such revision -1

Although this command succeeds:

/usr/bin/svnlook propget -t 0-1 /home/weintraub/repos svn:keywords utilmenu

It appears that the "svnlook propget --revprop" command is ignoring
whether I use either a "-r" or "-t" command parameter, and just
assumes that I am always referring to a revision number.

--
David Weintraub
qazwart@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 30 19:00:40 2005

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