Mark a merge conflict as resolved. The conflicts can be seen with the
'status' command, the corresponding files being prefixed with a
-'C'. This command also removes any <file>.{ancestor,current,patched}
-files."""
+'C'."""
directory = DirectoryHasRepository(needs_current_series = False)
options = [make_option('-a', '--all',
raise CmdException, 'No conflicts for "%s"' % filename
# resolved
- for filename in files:
- if options.interactive:
+ if options.interactive:
+ for filename in files:
interactive_merge(filename)
- resolved(filename, options.reset)
+ git.resolved([filename])
+ else:
+ git.resolved(files, options.reset)