rbtools.clients.base.patch¶
Classes for representing patch results in SCM clients.
New in version 4.0.
Classes
|
The author of a patch or commit. |
|
The result of a patch operation. |
- class rbtools.clients.base.patch.PatchAuthor(full_name, email)[source]¶
Bases:
object
The author of a patch or commit.
This wraps the full name and e-mail address of a commit or patch’s author primarily for use in
BaseSCMClient.apply_patch
.Changed in version 4.0:
Moved from
rbtools.clients
. That module still provides compatibility imports.
- class rbtools.clients.base.patch.PatchResult(applied, has_conflicts=False, conflicting_files=[], patch_output=None)[source]¶
Bases:
object
The result of a patch operation.
This stores state on whether the patch could be applied (fully or partially), whether there are conflicts that can be resolved (as in conflict markers, not reject files), which files conflicted, and the patch output.
Changed in version 4.0:
Moved from
rbtools.clients
. That module still provides compatibility imports.