RHGitaly: `GitCommit` message building helper
This parallels the Python implementation: returning a `GitCommit`, this time from a `ChangelogEntry` instead of Python `changectx` will be a common need. The user line parsing is implemented to match the Python implementation (module `stringutil`). We considered using a regular expression, but it is not so obvious to obtain the exact same result (actually first experiments where splitting the brackets with a regexp for quick validation of the first gRPC method that will use this). User line and timestamp parsing should find eventually their way into `hg-core`.
parent
33189bb5
No related branches found
No related tags found
Loading
Please register or sign in to comment