Commit 9c4d61d4 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

HgGitRepository: removed remnant of Heptapod 0.12

At the time passing project id was introduced, it was
convenient to support both Heptapod 0.12 and 0.13. In these
Heptapod ≥ 0.16 times, it's quite useless.

--HG--
branch : heptapod
parent 935d15518e87
......@@ -408,9 +408,7 @@ def hg_env_for_write(user, force_system_user: false)
'HEPTAPOD_USERINFO_USERNAME' => user&.username,
'HEPTAPOD_USERINFO_NAME' => user&.name,
'HEPTAPOD_USERINFO_EMAIL' => user&.email,
'GL_REPOSITORY' => @gl_repository, # for Heptapod 0.13
# for Heptapod 0.12:
'HEPTAPOD_PROJECT_ID' => @gl_repository.rpartition('-')[-1],
'GL_REPOSITORY' => @gl_repository,
'HEPTAPOD_PROJECT_PATH' => self.name.chomp('.git'),
# TODO won't work on hashed storage
'HEPTAPOD_PROJECT_NAMESPACE_FULL_PATH' => @relative_path.rpartition('/')[0],
......
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