Commit 78e7f0c1 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

HgGitRepository: fixed get/set hgrc

(the set method relies on the get method for comparisons).

So, that was a piece of Python in Ruby. Obviously not covered
either, except by functional tests.

branch : heptapod
parent 8da45bec56a5
......@@ -1477,7 +1477,7 @@ def get_hg_heptapod_config(local: false)
hg_env.update({ 'HGUSER' => 'Heptapod system',
del hg_env['HGRCPATH'] if local
hg_env.delete('HGRCPATH') if local
hg_exe = Gitlab.config.mercurial.bin_path
out, status = popen([hg_exe, 'config', 'heptapod'],
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