Show More
@@ -112,6 +112,7 b' from i18n import _' | |||||
112 | # bumped version and fix the situation, breaking the transitivity of |
|
112 | # bumped version and fix the situation, breaking the transitivity of | |
113 | # "bumped" here. |
|
113 | # "bumped" here. | |
114 | bumpedfix = 1 |
|
114 | bumpedfix = 1 | |
|
115 | usingsha256 = 2 | |||
115 |
|
116 | |||
116 | ## Parsing and writing of version "0" |
|
117 | ## Parsing and writing of version "0" | |
117 | # |
|
118 | # | |
@@ -193,6 +194,8 b' def _fm0readmarkers(data, off=0):' | |||||
193 |
|
194 | |||
194 | def _fm0encodeonemarker(marker): |
|
195 | def _fm0encodeonemarker(marker): | |
195 | pre, sucs, flags, metadata, date, parents = marker |
|
196 | pre, sucs, flags, metadata, date, parents = marker | |
|
197 | if flags & usingsha256: | |||
|
198 | raise util.Abort(_('cannot handle sha256 with old obsstore format')) | |||
196 | metadata = dict(metadata) |
|
199 | metadata = dict(metadata) | |
197 | metadata['date'] = '%d %i' % date |
|
200 | metadata['date'] = '%d %i' % date | |
198 | if parents is not None: |
|
201 | if parents is not None: |
General Comments 0
You need to be logged in to leave comments.
Login now