Show More
@@ -109,11 +109,14 b' colortable = {' | |||||
109 | } |
|
109 | } | |
110 |
|
110 | |||
111 | # date like in cvs' $Date |
|
111 | # date like in cvs' $Date | |
112 | utcdate = lambda x: util.datestr((x[0], 0), '%Y/%m/%d %H:%M:%S') |
|
112 | def utcdate(text): | |
|
113 | return util.datestr((text[0], 0), '%Y/%m/%d %H:%M:%S') | |||
113 | # date like in svn's $Date |
|
114 | # date like in svn's $Date | |
114 | svnisodate = lambda x: util.datestr(x, '%Y-%m-%d %H:%M:%S %1%2 (%a, %d %b %Y)') |
|
115 | def svnisodate(text): | |
|
116 | return util.datestr(text, '%Y-%m-%d %H:%M:%S %1%2 (%a, %d %b %Y)') | |||
115 | # date like in svn's $Id |
|
117 | # date like in svn's $Id | |
116 | svnutcdate = lambda x: util.datestr((x[0], 0), '%Y-%m-%d %H:%M:%SZ') |
|
118 | def svnutcdate(text): | |
|
119 | return util.datestr((text[0], 0), '%Y-%m-%d %H:%M:%SZ') | |||
117 |
|
120 | |||
118 | # make keyword tools accessible |
|
121 | # make keyword tools accessible | |
119 | kwtools = {'templater': None, 'hgcmd': ''} |
|
122 | kwtools = {'templater': None, 'hgcmd': ''} |
@@ -163,6 +163,9 b' def showbranches(**args):' | |||||
163 | return showlist('branch', [branch], plural='branches', **args) |
|
163 | return showlist('branch', [branch], plural='branches', **args) | |
164 |
|
164 | |||
165 | def showbookmarks(**args): |
|
165 | def showbookmarks(**args): | |
|
166 | """:bookmarks: List of strings. Any bookmarks associated with the | |||
|
167 | changeset. | |||
|
168 | """ | |||
166 | bookmarks = args['ctx'].bookmarks() |
|
169 | bookmarks = args['ctx'].bookmarks() | |
167 | return showlist('bookmark', bookmarks, **args) |
|
170 | return showlist('bookmark', bookmarks, **args) | |
168 |
|
171 |
General Comments 0
You need to be logged in to leave comments.
Login now