Subversion
Defines
Keyword definitions

Keyword substitution. More...

Defines

#define SVN_KEYWORD_MAX_LEN   255
 The maximum size of an expanded or un-expanded keyword.
#define SVN_KEYWORD_REVISION_LONG   "LastChangedRevision"
 The most recent revision in which this file was changed.
#define SVN_KEYWORD_REVISION_SHORT   "Rev"
 Short version of LastChangedRevision.
#define SVN_KEYWORD_REVISION_MEDIUM   "Revision"
 Medium version of LastChangedRevision, matching the one CVS uses.
#define SVN_KEYWORD_DATE_LONG   "LastChangedDate"
 The most recent date (repository time) when this file was changed.
#define SVN_KEYWORD_DATE_SHORT   "Date"
 Short version of LastChangedDate.
#define SVN_KEYWORD_AUTHOR_LONG   "LastChangedBy"
 Who most recently committed to this file.
#define SVN_KEYWORD_AUTHOR_SHORT   "Author"
 Short version of LastChangedBy.
#define SVN_KEYWORD_URL_LONG   "HeadURL"
 The URL for the head revision of this file.
#define SVN_KEYWORD_URL_SHORT   "URL"
 Short version of HeadURL.
#define SVN_KEYWORD_ID   "Id"
 A compressed combination of the other four keywords.
#define SVN_KEYWORD_HEADER   "Header"
 A full combination of the first four keywords.

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 623 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 617 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 639 of file svn_types.h.

#define SVN_KEYWORD_ID   "Id"

A compressed combination of the other four keywords.

Definition at line 635 of file svn_types.h.

#define SVN_KEYWORD_MAX_LEN   255

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

Definition at line 604 of file svn_types.h.

#define SVN_KEYWORD_REVISION_LONG   "LastChangedRevision"

The most recent revision in which this file was changed.

Definition at line 607 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 614 of file svn_types.h.

#define SVN_KEYWORD_URL_LONG   "HeadURL"

The URL for the head revision of this file.

Definition at line 629 of file svn_types.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines