Re: [viewvc-users] can someone tell me how to enable subversion keywords?
"C. Michael Pilato" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
Subversion stores keywords in the repository in a normalized form which is unexpanded: $LastChangedBy$ rather than $LastChangedBy: randerson $ It's the Subversion client that handles keyword expansion. Since ViewVC doesn't use the Subversion client to do its repository history cruising, ViewVC gets only the unexpanded, normalized forms of the files. So, no keyword expansion for files with svn:keywords set. (And also, line endings are stored normalized to Unix LF-style end-of-line sequences for any file with svn:eol-style set on it.) On 10/20/2010 02:34 PM, rob anderson wrote: > So for instance, the keywords found below will be populated with the > corresponding information. Actually checking out the code via any > subversion client works, as described. When viewed via http (with > viewvc), the keywords are displayed, not populated with values. > > Please advise. > > Thanks, > > Rob > > > #add keywords to document > > $LastChangedBy$ > $HeadURL$ $HeadURL$ > $Id$ $Id$ > $GlobalRev$ > > #when checked out, the keywords include data like: > > $KeywordName$ > $LastChangedRevision: 167 $ > $LastChangedBy: randerson $ > $HeadURL: https://some_url $ > $Id: ra_test 167 2010-10-20 17:58:22Z randerson $ > -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2673950 To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAky/SvUACgkQokEGqRcG/W7XyACg0DcRpanhPrxe7lCBIobLLWXY KusAnioxWvT34FlNEYqWvHhUDLvH2G9x =L1nK -----END PGP SIGNATURE-----