##// END OF EJS Templates
downgrade: if a compression is removed, consider that too...
Pulkit Goyal -
r46847:1fcab88a default
parent child Browse files
Show More
@@ -467,6 +467,13 b' def find_format_downgrades(repo):'
467 467 downgrades = []
468 468
469 469 for fv in allformatvariant:
470 if fv.name == b'compression':
471 # If there is a compression change between repository
472 # and config, destination repository compression will change
473 # and current compression will be removed.
474 if fv.fromrepo(repo) != fv.fromconfig(repo):
475 downgrades.append(fv)
476 continue
470 477 # format variant exist in repo but does not exist in new repository
471 478 # config
472 479 if fv.fromrepo(repo) and not fv.fromconfig(repo):
General Comments 0
You need to be logged in to leave comments. Login now