• Georges Racinet's avatar
    Rebase: honouring rebase_in_progress? · d7a0e368784b
    Georges Racinet authored
    We name the temporary working directory according to the given
    rebase_id and the question whether it's in progress boils down
    to the workdir being there.
    Ideally, some other kind of persistent storage should be used
    immediately, but we can use this as a better approximation for
    the time being. In upstream GitLab, this is handled by Gitaly,
    whose rebase RPC call receives the `rebase_id` and then answers
    the question. Later on HGitaly will do the same.