RepoWrapper.commit without paths
Currently, RepoWrapper.commit()
makes the rel_paths
argument mandatory.
In somne tests, this forces to list all relevant paths (quite cumbersome). It is even unusable in case of merge commits, even listing all the files, because it ends in mercurial.error.Abort: cannot partially commit a merge (do not specify files or patterns)
The code emitting this in Mercurial explicitely checks for the matcher to be an "always matcher":
if not force and merge and not match.always():
raise error.Abort(
_(
b'cannot partially commit a merge '
b'(do not specify files or patterns)'
)
)