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

Re: author of a file

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-05-15 20:06:46 CEST

Robert <robertLinux@gmx.de> writes:

> No I typed:
> svn propset --revprop -r HEAD svn:author "welz"
> http://localhost:65535/svn/repos/trunk/Hallo_Welt/perl/hallo_welt
> and got the answer:
> property `svn:author' set on repository revision '40'

Good, it set the revprop on r40.

> svn log
> http://localhost:65535/svn/repos/trunk/Hallo_Welt/perl/hallo_welt
> ------------------------------------------------------------------------
> rev 8: (no author) | 2003-05-08 16:20:48 +0200 (Thu, 08 May 2003) | 1
> line
> ------------------------------------------------------------------------

The log isn't showing you r40, it's showing you r8, which is the last
rev in which hallo_welt changed. Try running 'svn log -r40' to see
your new author.

> svn propset --revprop -r COMITTED svn:author "welz"
> http://localhost:65535/svn/repos/trunk/Hallo_Welt/perl/hallo_welt
> subversion/clients/cmdline/main.c:620: (apr_err=205000)
> svn: Client error in parsing arguments
> svn: Syntax error in revision argument "COMITTED"

You misspelled COMMITTED. Hence the 'syntax error'.

> svn propset --revprop -r BASE svn:author "welz"
> http://localhost:65535/svn/repos/trunk/Hallo_Welt/perl/hallo_welt
> subversion/libsvn_client/revisions.c:82: (apr_err=195000)
> svn: A path under revision control is needed for this operation
> svn: svn_client__get_revision_number: need a version-controlled path
> to fetch local revision info.

BASE means, "the BASE revision of some versioned item in the working
copy". But you're not talking about a working item here, you're
talking about a URL, hence the error.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 15 20:08:07 2003

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.