hgkw/keyword.py
branchkwmap-templates
changeset 170 1a17c8f20f22
parent 169 6df702b4601e
child 171 8713a7a3f5ab
equal deleted inserted replaced
169:6df702b4601e 170:1a17c8f20f22
    96         'Source': '{root}/{file},v',
    96         'Source': '{root}/{file},v',
    97         'Id': '{file|basename},v {node|short} {date|utcdate} {author|user}',
    97         'Id': '{file|basename},v {node|short} {date|utcdate} {author|user}',
    98         'Header': '{root}/{file},v {node|short} {date|utcdate} {author|user}',
    98         'Header': '{root}/{file},v {node|short} {date|utcdate} {author|user}',
    99         }
    99         }
   100 
   100 
   101 nokwcommands = ('rollback', 'incoming', 'outgoing', 'export', 'bundle', 'push')
   101 nokwcommands = ('add', 'remove', 'addremove', 'rollback',
       
   102                 'incoming', 'outgoing', 'export', 'bundle', 'push')
   102 
   103 
   103 def utcdate(date):
   104 def utcdate(date):
   104     '''Returns hgdate in cvs-like UTC format.'''
   105     '''Returns hgdate in cvs-like UTC format.'''
   105     return time.strftime('%Y/%m/%d %H:%M:%S', time.gmtime(date[0]))
   106     return time.strftime('%Y/%m/%d %H:%M:%S', time.gmtime(date[0]))
   106 
   107