83 Source: /path/to/basename,v |
83 Source: /path/to/basename,v |
84 Id: basename,v csetid %Y/%m/%d %H:%M:%S username |
84 Id: basename,v csetid %Y/%m/%d %H:%M:%S username |
85 Header: /path/to/basename,v csetid %Y/%m/%d %H:%M:%S username |
85 Header: /path/to/basename,v csetid %Y/%m/%d %H:%M:%S username |
86 ''' |
86 ''' |
87 |
87 |
88 try: |
88 from mercurial.i18n import gettext as _ |
89 from mercurial.demandload import * # stable |
89 from mercurial import commands, fancyopts, templater, util |
90 from mercurial.i18n import gettext as _ |
90 from mercurial import cmdutil, context, filelog |
91 demandload(globals(), 'mercurial:commands,fancyopts,templater,util') |
91 import os, re, sys, time |
92 demandload(globals(), 'mercurial:cmdutil,context,filelog') |
|
93 demandload(globals(), 'os re sys time') |
|
94 except ImportError: # demandimport |
|
95 from mercurial.i18n import _ |
|
96 from mercurial import commands, fancyopts, templater, util |
|
97 from mercurial import cmdutil, context, filelog |
|
98 import os, re, sys, time |
|
99 |
92 |
100 deftemplates = { |
93 deftemplates = { |
101 'Revision': '{node|short}', |
94 'Revision': '{node|short}', |
102 'Author': '{author|user}', |
95 'Author': '{author|user}', |
103 'Date': '{date|utcdate}', |
96 'Date': '{date|utcdate}', |