[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: Eric Lee <eric_at_myprojects.srhost.info>
Date: Thu, 3 Jul 2008 17:02:33 +0800

Hi,

You could use svn:keywords to recursive set author

e.g.

aderic_at_PGERIC $ svn ls trunk -v
     17 pgeric 40 Jul 02 22:48 delfile.txt
     15 pgeric 271 Jul 02 02:10 test1.txt
      8 pgeric 165 Jul 01 12:52 test2.txt

aderic_at_PGERIC $ svn propset svn:keywords author trunk -R
property 'svn:keywords' set (recursively) on 'trunk'

aderic_at_PGERIC $ svn proplist trunk -R
Properties on 'trunk\test2.txt':
  svn:keywords
  svn:eol-style
Properties on 'trunk\delfile.txt':
  svn:keywords
  svn:eol-style
Properties on 'trunk\test1.txt':
  svn:keywords
  svn:eol-style

or by use config file in %AppData%\subversion\ folder on windows.

config file

[miscellany]
enable-auto-props = yes

[auto-props]
*.c = svn:eol-style=LF;svn:keywords=Author Date Id Revision URL

Please check out this subversion book also
http://svnbook.red-bean.com/

Eric,
----------------------------------------------------
http://myprojects.srhost.info
eric[at]myprojects[dot]srhost{dot}info
  ----- Original Message -----
  From: Shannon Kerr
  To: users_at_subversion.tigris.org
  Sent: Thursday, July 03, 2008 4:42 PM
  Subject: how is svn:author set?

  Hello,

  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.

  Thank you!

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