##// 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 downgrades = []
467 downgrades = []
468
468
469 for fv in allformatvariant:
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 # format variant exist in repo but does not exist in new repository
477 # format variant exist in repo but does not exist in new repository
471 # config
478 # config
472 if fv.fromrepo(repo) and not fv.fromconfig(repo):
479 if fv.fromrepo(repo) and not fv.fromconfig(repo):
General Comments 0
You need to be logged in to leave comments. Login now