hgkw/keyword.py
changeset 406 2069334ec1d0
parent 404 45d3ea301c03
child 407 60c993ce6acb
equal deleted inserted replaced
405:e15e7ec5b3c3 406:2069334ec1d0
   101 def utcdate(date):
   101 def utcdate(date):
   102     '''Returns hgdate in cvs-like UTC format.'''
   102     '''Returns hgdate in cvs-like UTC format.'''
   103     return time.strftime('%Y/%m/%d %H:%M:%S', time.gmtime(date[0]))
   103     return time.strftime('%Y/%m/%d %H:%M:%S', time.gmtime(date[0]))
   104 
   104 
   105 
   105 
   106 _kwtemplater = _cmd = _cmdoptions = None
   106 _kwtemplater = _cmd = None
   107  
   107  
   108 # store originals of monkeypatches
   108 # store originals of monkeypatches
   109 _patchfile_init = patch.patchfile.__init__
   109 _patchfile_init = patch.patchfile.__init__
   110 _patch_diff = patch.diff
   110 _patch_diff = patch.diff
   111 _dispatch_parse = dispatch._parse
   111 _dispatch_parse = dispatch._parse