Subversion
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Keyword definitions

Keyword substitution. More...

Macros

#define SVN_KEYWORD_MAX_LEN   255
 The maximum size of an expanded or un-expanded keyword. More...
 
#define SVN_KEYWORD_REVISION_LONG   "LastChangedRevision"
 The most recent revision in which this file was changed. More...
 
#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. More...
 
#define SVN_KEYWORD_DATE_LONG   "LastChangedDate"
 The most recent date (repository time) when this file was changed. More...
 
#define SVN_KEYWORD_DATE_SHORT   "Date"
 Short version of LastChangedDate.
 
#define SVN_KEYWORD_AUTHOR_LONG   "LastChangedBy"
 Who most recently committed to this file. More...
 
#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. More...
 
#define SVN_KEYWORD_URL_SHORT   "URL"
 Short version of HeadURL.
 
#define SVN_KEYWORD_ID   "Id"
 A compressed combination of the other four keywords. More...
 
#define SVN_KEYWORD_HEADER   "Header"
 A full combination of the first four keywords. More...
 

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.

Macro Definition Documentation

#define SVN_KEYWORD_AUTHOR_LONG   "LastChangedBy"

Who most recently committed to this file.

Definition at line 677 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 671 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 693 of file svn_types.h.

#define SVN_KEYWORD_ID   "Id"

A compressed combination of the other four keywords.

Definition at line 689 of file svn_types.h.

#define SVN_KEYWORD_MAX_LEN   255

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

Definition at line 658 of file svn_types.h.

#define SVN_KEYWORD_REVISION_LONG   "LastChangedRevision"

The most recent revision in which this file was changed.

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

#define SVN_KEYWORD_URL_LONG   "HeadURL"

The URL for the head revision of this file.

Definition at line 683 of file svn_types.h.