equal
deleted
inserted
replaced
104 return result |
104 return result |
105 |
105 |
106 def reportpackmetrics(ui, prefix, *stores): |
106 def reportpackmetrics(ui, prefix, *stores): |
107 dicts = [s.getmetrics() for s in stores] |
107 dicts = [s.getmetrics() for s in stores] |
108 dict = prefixkeys(sumdicts(*dicts), prefix + '_') |
108 dict = prefixkeys(sumdicts(*dicts), prefix + '_') |
109 ui.log(prefix + "_packsizes", "", **pycompat.strkwargs(dict)) |
109 ui.log(prefix + "_packsizes", "\n", **pycompat.strkwargs(dict)) |
110 |
110 |
111 def _parsepackmeta(metabuf): |
111 def _parsepackmeta(metabuf): |
112 """parse datapack meta, bytes (<metadata-list>) -> dict |
112 """parse datapack meta, bytes (<metadata-list>) -> dict |
113 |
113 |
114 The dict contains raw content - both keys and values are strings. |
114 The dict contains raw content - both keys and values are strings. |