##// END OF EJS Templates
actions: introduce function to calculate downgrades...
Pulkit Goyal -
r46829:c97d8e04 default
parent child Browse files
Show More
@@ -428,6 +428,21 b' def find_format_upgrades(repo):'
428 428 return upgrades
429 429
430 430
431 def find_format_downgrades(repo):
432 """returns a list of format downgrades which will be performed on the repo
433 because of disabled config option for them"""
434
435 downgrades = []
436
437 for fv in allformatvariant:
438 # format variant exist in repo but does not exist in new repository
439 # config
440 if fv.fromrepo(repo) and not fv.fromconfig(repo):
441 downgrades.append(fv)
442
443 return downgrades
444
445
431 446 ALL_OPTIMISATIONS = []
432 447
433 448
General Comments 0
You need to be logged in to leave comments. Login now