hgkw/keyword.py
branchstable
changeset 676 c15f0019c15b
parent 674 0efa9d6ac11f
child 685 6d26c4bafda3
equal deleted inserted replaced
674:0efa9d6ac11f 676:c15f0019c15b
    95 # not when reading filelog, and unexpand when reading from working dir
    95 # not when reading filelog, and unexpand when reading from working dir
    96 restricted = ('merge record resolve qfold qimport qnew qpush qrefresh qrecord'
    96 restricted = ('merge record resolve qfold qimport qnew qpush qrefresh qrecord'
    97               ' transplant')
    97               ' transplant')
    98 
    98 
    99 # provide cvs-like UTC date filter
    99 # provide cvs-like UTC date filter
   100 utcdate = lambda x: util.datestr(x, '%Y/%m/%d %H:%M:%S')
   100 utcdate = lambda x: util.datestr((x[0], 0), '%Y/%m/%d %H:%M:%S')
   101 
   101 
   102 # make keyword tools accessible
   102 # make keyword tools accessible
   103 kwtools = {'templater': None, 'hgcmd': '', 'inc': [], 'exc': ['.hg*']}
   103 kwtools = {'templater': None, 'hgcmd': '', 'inc': [], 'exc': ['.hg*']}
   104 
   104 
   105 
   105