Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hg.py @ 13231:b335882c2f21 stable
url: expand path for web.cacerts
author | Eduard-Cristian Stefan <alexandrul.ct@gmail.com> |
---|---|
date | Sun, 02 Jan 2011 15:30:12 +0200 |
parents | 4d03707916d3 |
children | 0935ff767285 8dc488dfcdb4 |
comparison
equal
deleted
inserted
replaced
13230:827a1cc127bf | 13231:b335882c2f21 |
---|---|
549 for sect in ('auth', 'http_proxy'): | 549 for sect in ('auth', 'http_proxy'): |
550 for key, val in src.configitems(sect): | 550 for key, val in src.configitems(sect): |
551 dst.setconfig(sect, key, val) | 551 dst.setconfig(sect, key, val) |
552 v = src.config('web', 'cacerts') | 552 v = src.config('web', 'cacerts') |
553 if v: | 553 if v: |
554 dst.setconfig('web', 'cacerts', v) | 554 dst.setconfig('web', 'cacerts', util.expandpath(v)) |
555 | 555 |
556 return dst | 556 return dst |