Commit dd3f3650 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

hg-pull (lib side): returning the expected type

The callers actually expect this Gitaly Response object
to be returned straight to them. Being a pure data
object, that doesn't come as a shock.

--HG--
branch : heptapod
parent 4998db038102
......@@ -548,6 +548,10 @@ def hg_pull(user, remote_url, gitlab_branches: nil, env: nil,
"'#{output}' command was #{cmd}"
end
hg_git_invalidate_maps!
# there's only one possible field at this point: `divergent_ref` (not
# really meaningful for hg)
Gitaly::UpdateRemoteMirrorResponse.new
end
# Low level method to create a tag.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment