blob: 96ee71b911a4a96ee7f9507c994ab09544dd40d4 [file] [log] [blame]
# Copyright 2005-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
"""Scan for failed merges and fix them."""
module_spec = {
'name': 'merges',
'description': __doc__,
'provides': {
'merges': {
'name': "merges",
'class': "MergesHandler",
'description': __doc__,
'functions': ['check', 'fix', 'purge'],
'func_desc': {
'purge': {
'short': '-P', 'long': '--purge-tracker',
'help': 'Removes the list of previously failed merges.' +
' WARNING: Only use this option if you plan on' +
' manually fixing them or do not want them'
' re-installed.',
'status': "Removing %s",
'action': 'store_true',
'func': 'purge'
}
}
}
}
}