Re: [viewvc-users] can someone tell me how to enable subversion keywords?
rob anderson <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <AANLkTimmD7bKtyumJRt46EaWU-RYcV70DWXZMA3jwh3m__13736.6074057811$1287606223$gmane$org@mail.gmail.com> |
Ok, thanks for the info, I appreciate the quick response. Rob On Wed, Oct 20, 2010 at 2:03 PM, C. Michael Pilato <[email protected]>wrote: > 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=2673961 To unsubscribe from this discussion, e-mail: [[email protected]].