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