Mercurial > hg
comparison mercurial/revlog.py @ 47228:e51392acd70c
revlog: fix capitalisation of an error
We don't start error message with capital letters.
Differential Revision: https://phab.mercurial-scm.org/D10619
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 03 May 2021 12:30:14 +0200 |
parents | c2180093682a |
children | 0e9105bf54cb |
comparison
equal
deleted
inserted
replaced
47227:0dedd3d063b0 | 47228:e51392acd70c |
---|---|
3190 ) | 3190 ) |
3191 if entry[8] != 0 or entry[9] != 0: | 3191 if entry[8] != 0 or entry[9] != 0: |
3192 # rewriting entries that already have sidedata is not | 3192 # rewriting entries that already have sidedata is not |
3193 # supported yet, because it introduces garbage data in the | 3193 # supported yet, because it introduces garbage data in the |
3194 # revlog. | 3194 # revlog. |
3195 msg = b"Rewriting existing sidedata is not supported yet" | 3195 msg = b"rewriting existing sidedata is not supported yet" |
3196 raise error.Abort(msg) | 3196 raise error.Abort(msg) |
3197 | 3197 |
3198 # Apply (potential) flags to add and to remove after running | 3198 # Apply (potential) flags to add and to remove after running |
3199 # the sidedata helpers | 3199 # the sidedata helpers |
3200 new_offset_flags = entry[0] | flags[0] & ~flags[1] | 3200 new_offset_flags = entry[0] | flags[0] & ~flags[1] |