GME  13
Defines
Keyword definitions

Defines

#define SVN_KEYWORD_MAX_LEN   255
#define SVN_KEYWORD_REVISION_LONG   "LastChangedRevision"
#define SVN_KEYWORD_REVISION_SHORT   "Rev"
#define SVN_KEYWORD_REVISION_MEDIUM   "Revision"
#define SVN_KEYWORD_DATE_LONG   "LastChangedDate"
#define SVN_KEYWORD_DATE_SHORT   "Date"
#define SVN_KEYWORD_AUTHOR_LONG   "LastChangedBy"
#define SVN_KEYWORD_AUTHOR_SHORT   "Author"
#define SVN_KEYWORD_URL_LONG   "HeadURL"
#define SVN_KEYWORD_URL_SHORT   "URL"
#define SVN_KEYWORD_ID   "Id"
#define SVN_KEYWORD_HEADER   "Header"

Detailed Description

Keyword substitution.

All the keywords Subversion recognizes.

Note that there is a better, more general proposal out there, which would take care of both internationalization issues and custom keywords (e.g., $NetBSD$). See

      http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=8921
      =====
      From: "Jonathan M. Manning" <jmanning@alisa-jon.net>
      To: dev@subversion.tigris.org
      Date: Fri, 14 Dec 2001 11:56:54 -0500
      Message-ID: <87970000.1008349014@bdldevel.bl.bdx.com>
      Subject: Re: keywords 

and Eric Gillespie's support of same:

      http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=8757
      =====
      From: "Eric Gillespie, Jr." <epg@pretzelnet.org>
      To: dev@subversion.tigris.org
      Date: Wed, 12 Dec 2001 09:48:42 -0500
      Message-ID: <87k7vsebp1.fsf@vger.pretzelnet.org>
      Subject: Re: Customizable Keywords 

However, it is considerably more complex than the scheme below. For now we're going with simplicity, hopefully the more general solution can be done post-1.0.


Define Documentation

#define SVN_KEYWORD_AUTHOR_LONG   "LastChangedBy"

Who most recently committed to this file.

Definition at line 667 of file svn_types.h.

#define SVN_KEYWORD_AUTHOR_SHORT   "Author"

Short version of LastChangedBy

Definition at line 670 of file svn_types.h.

#define SVN_KEYWORD_DATE_LONG   "LastChangedDate"

The most recent date (repository time) when this file was changed.

Definition at line 661 of file svn_types.h.

#define SVN_KEYWORD_DATE_SHORT   "Date"

Short version of LastChangedDate

Definition at line 664 of file svn_types.h.

#define SVN_KEYWORD_HEADER   "Header"

A full combination of the first four keywords.

Since:
New in 1.6.

Definition at line 683 of file svn_types.h.

#define SVN_KEYWORD_ID   "Id"

A compressed combination of the other four keywords.

Definition at line 679 of file svn_types.h.

#define SVN_KEYWORD_MAX_LEN   255

The maximum size of an expanded or un-expanded keyword.

Definition at line 648 of file svn_types.h.

#define SVN_KEYWORD_REVISION_LONG   "LastChangedRevision"

The most recent revision in which this file was changed.

Definition at line 651 of file svn_types.h.

#define SVN_KEYWORD_REVISION_MEDIUM   "Revision"

Medium version of LastChangedRevision, matching the one CVS uses.

Since:
New in 1.1.

Definition at line 658 of file svn_types.h.

#define SVN_KEYWORD_REVISION_SHORT   "Rev"

Short version of LastChangedRevision

Definition at line 654 of file svn_types.h.

#define SVN_KEYWORD_URL_LONG   "HeadURL"

The URL for the head revision of this file.

Definition at line 673 of file svn_types.h.

#define SVN_KEYWORD_URL_SHORT   "URL"

Short version of HeadURL

Definition at line 676 of file svn_types.h.