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

Re: how is svn:author set?

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Thu, 3 Jul 2008 04:22:19 -0500

On Jul 3, 2008, at 03:42, Shannon Kerr wrote:

> I'm new to Subversion. When I do a proplist for an element I don't
> see that svn:author is set. My setup is Subversion 1.5.0 + Apache
> + SSL. In fact the only property I see set is the one that I am
> setting in the TortoiseSVN config file which is mime-type. Is
> svn:author, the author of the latest revision for that element,
> something that I have to set? If so, where is the appropriate
> location to set this property? Basically, I don't see svn:author
> set and I want it set for each revision.

svn:mime-type is an example of a file (versioned) property. You set
such properties on files (or Subversion sets them for you using auto-
props). To see the properties that are set on a file, you can use
"svn proplist -v $FILE" where $FILE is the file you want to inspect
(either a path in a working copy, or a URL in the repository). For
example:

$ svn proplist -v http://svn.collab.net/repos/svn/trunk/README
Properties on 'http://svn.collab.net/repos/svn/trunk/README':
   svn:keywords : LastChangedDate
   svn:eol-style : native

svn:author, on the other hand, is an example of a revision
(unversioned) property. Subversion sets these properties for you on
revisions (or you can add other revision properties or change
existing ones). To see the properties that are set on a revision, you
can use "svn proplist -v --revprop -r $REV $LOC" where $REV is the
revision number you want to inspect, and $LOC is the location (either
a path in a working copy, or a URL in the repository). For example:

$ svn proplist -v --revprop -r 123 http://svn.collab.net/repos/svn/
Unversioned properties on revision 123:
   svn:log : apr_proc_wait() now has an exit code parameter. Pass
NULL since we
don't want the value (yet).

* libsvn_subr/io.c (svn_io_run_cmd): pass NULL to apr_proc_wait()
* libsvn_wc/get_editor.c (close_file): pass NULL to apr_proc_wait()

   svn:author : gstein
   svn:date : 2001-09-20T09:12:47.412381Z

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-03 11:22:50 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.