[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: Shannon Kerr <shannonckerr_at_gmail.com>
Date: Thu, 3 Jul 2008 04:39:13 -0500

oooooh, I see. Makes total sense. So, svn:author is always set on commit
and you retrieve this by using --revprop and specifying a revision:

$ svn proplist -v --revprop -r 31 test.txt
Unversioned properties on revision 31:
  svn:log : testing auto-prop setting a list of keywords
  svn:author : sckerr
  svn:date : 2008-07-02T23:43:38.444948Z

Wonderful! Thank you Ryan. This is exactly what I needed and I also
understand what's going on here.

Shannon

On Thu, Jul 3, 2008 at 4:22 AM, Ryan Schmidt <
subversion-2008c_at_ryandesign.com> wrote:

> 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
>
>
Received on 2008-07-03 11:39:43 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.