Commit 9621f957 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

HgGitRepository: better description of `hg_env_for_write` duties

branch : heptapod
parent c58b804d83a6
......@@ -383,6 +383,11 @@ def hg_branchmap_branch(hg_branch, topic)
# Return a suitable environment for write operations (merge etc.)
# This method assumes that write permission is already granted,
# it adds the publish permission if the given user has the appropriate
# role (at least Maintainer as of this writing, but we should have
# a new Publisher role soon)
def hg_env_for_write(user)
hg_perm_user =
if @hg_project_for_perms.nil?
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