Skip to content

Commit

Permalink
fixup! root & format upgrade : set opam root to 2.1 and adapt format …
Browse files Browse the repository at this point in the history
…upgrade to this new version
  • Loading branch information
rjbou committed Jun 16, 2021
1 parent c4869d8 commit 19b399d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/opamFormatUpgrade.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,7 @@ let hard_upgrade_from_2_1_intermediates ?global_lock root =
let opam_root_version = OpamFile.Config.raw_root_version config_f in
match opam_root_version with
| Some v when OpamVersion.compare v v2_0 <= 0
|| OpamVersion.compare v2_1_rc v <= 0 ->
|| OpamVersion.compare v2_1 v <= 0 ->
() (* do nothing, need to reraise parsing exception *)
| _ ->
log "Intermediate opam root detected%s, launch hard upgrade"
Expand Down

0 comments on commit 19b399d

Please sign in to comment.