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

Re: 'svnlook proplist -t' fails to return properties for items replaced in the working copy

From: Leo Davis <ldavis_at_fonix.com>
Date: 2007-03-14 23:24:30 CET

Leo Davis wrote:
> Malcolm Rowe wrote:
>
>> On Tue, Mar 13, 2007 at 08:44:21PM -0600, Leo Davis wrote:
>>
>>
>>> svnlook proplist <repo> -t <transaction> --verbose <path>
>>>
>>> I'm not getting any output from this command.
>>>
>>>
>> From my brief testing, 'svnlook proplist' appears to work fine on a
>> transaction. Can you provide a reproduction script that shows the
>> problem?
>>
>>
>>
> Sure. I was even able to reproduce this solely using subversion 1.4.3
> and the file: repository access scheme. Copy the attached files to some
> directory.
>
> export SVNPREFIX=<installed location of subversion>
> svnadmin create foo
> cat pre-commit | sed -e "s:/path/to:$PWD/foo/hooks:" > foo/hooks/pre-commit
> chmod +x foo/hooks/pre-commit
> cat check-mime-type.pl | sed -e "s:/path/to:$SVNPREFIX/bin:" >
> foo/hooks/check-mime-type.pl
> chmod +x foo/hooks/check-mime-type.pl
> svn co file:///$PWD/foo bar
> cd bar
> echo "this is bar" > bar
> svn add bar
> svn propset svn:mime-type text/plain bar
> svn propset svn:eol-style native bar
> svn ci -m "initial state"
> svn rm bar
> echo "this is bar, again" > bar
> svn add bar
> svn propset svn:mime-type text/plain bar
> svn propset svn:eol-style native bar
> svn proplist -v bar
> svn ci -m "checkin replacement of bar"
>
>
FWIW, I just tried this on subversion 1.3.1 on Linux, and I did not get
an error from check-mime-type.pl, so I was able to commit on the last step.

Leo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 14 23:24:47 2007

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