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

'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 03:44:21 CET

Hello,

I replaced a file in my working copy:

$ svn rm foo.c
$ touch foo.c
$ svn add foo.c
$ svn proplist -v foo.c
Properties on 'foo.c':
  svn:mime-type : text/plain
  svn:eol-style : native

I have the check-mime-type.pl run on the server in the pre-commit hook.
It basically checks to make sure that the svn:mime-type property is set.

Now when I commit I get:

svn: 'pre-commit' hook failed with error output:
check-mime-type.pl:
trunk/foo.c : svn:mime-type is not set
.....

What check-mime-type.pl is doing is calling the command-line 'svnlook' like:

svnlook proplist <repo> -t <transaction> --verbose <path>

I'm not getting any output from this command.

The client is using subversion 1.4.3 on Linux. The server is using
subversion 1.3.1 on Linux (access over http, via Apache 2.2).

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 03:44:47 2007

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.