Skip to content
Snippets Groups Projects
Commit ddc25d39 authored by Georges Racinet's avatar Georges Racinet
Browse files

OperationService: implement UserSquash

The breakthrough is that HGitaly is able to control internal Git mirroring
and this can be tested from HGitaly (ordinary) integration tests.

The presence of the `commit_author` and `timestamp` attributes raise some
questions more explicitely than it was the case in the Rails app, where the
feature has been implemented long ago by spawning a Mercurial subprocess.
We decided to behave identically, and in particular to postpone the question of
representing the difference between committer and author to another time,
as such a distinction does not exist currently in Mercurial (could be an extension
around providing that, though).

The `UserSquash` method in itself was only chosen because it does not
have many options and is at its core very simple to implement.

Closes #163
parent 15f7720b
No related branches found
No related tags found
2 merge requests!211gRPC engines upgrade and stable branch merge,!205UserSquash, the first repository mutation done by HGitaly
Pipeline #74469 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment