hgkw/keyword.py
changeset 395 9c51c755118b
parent 394 fe13fe09ba2e
child 396 c5dfb272ff4f
equal deleted inserted replaced
394:fe13fe09ba2e 395:9c51c755118b
    99 def utcdate(date):
    99 def utcdate(date):
   100     '''Returns hgdate in cvs-like UTC format.'''
   100     '''Returns hgdate in cvs-like UTC format.'''
   101     return time.strftime('%Y/%m/%d %H:%M:%S', time.gmtime(date[0]))
   101     return time.strftime('%Y/%m/%d %H:%M:%S', time.gmtime(date[0]))
   102 
   102 
   103 
   103 
   104 _kwtemplater, _cmd, _cmdoptions = None, None, None
   104 _kwtemplater = _cmd = _cmdoptions = None
   105  
   105  
   106 # store originals of monkeypatches
   106 # store originals of monkeypatches
   107 _patchfile_init = patch.patchfile.__init__
   107 _patchfile_init = patch.patchfile.__init__
   108 _dispatch_parse = dispatch._parse
   108 _dispatch_parse = dispatch._parse
   109 
   109