blob: 89aa758a0b04602e35e5c59e44a7162e1749dadf [file] [log] [blame]
# Copyright 2005-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
doc = """Scan for failed merges and fix them."""
__doc__ = doc
module_spec = {
'name': 'merges',
'description': doc,
'provides': {
'merges': {
'name': "merges",
'sourcefile': "merges",
'class': "MergesHandler",
'description': doc,
'functions': ['check', 'fix', 'purge'],
'func_desc': {
'purge': {
'short': '-P', 'long': '--purge',
'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'
}
}
}
}
}