Show More
@@ -109,11 +109,14 colortable = { | |||
|
109 | 109 | } |
|
110 | 110 | |
|
111 | 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 | 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 | 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 | 121 | # make keyword tools accessible |
|
119 | 122 | kwtools = {'templater': None, 'hgcmd': ''} |
@@ -163,6 +163,9 def showbranches(**args): | |||
|
163 | 163 | return showlist('branch', [branch], plural='branches', **args) |
|
164 | 164 | |
|
165 | 165 | def showbookmarks(**args): |
|
166 | """:bookmarks: List of strings. Any bookmarks associated with the | |
|
167 | changeset. | |
|
168 | """ | |
|
166 | 169 | bookmarks = args['ctx'].bookmarks() |
|
167 | 170 | return showlist('bookmark', bookmarks, **args) |
|
168 | 171 |
General Comments 0
You need to be logged in to leave comments.
Login now