remote-hg: enable track-branches in hg-git mode

The user can turn this off.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Felipe Contreras 2013-05-13 23:36:26 -05:00 committed by Junio C Hamano
parent 557399e9bd
commit 679e87c02b
2 changed files with 1 additions and 1 deletions

View File

@ -909,7 +909,6 @@ def main(args):
if get_config('remote-hg.hg-git-compat') == 'true\n': if get_config('remote-hg.hg-git-compat') == 'true\n':
hg_git_compat = True hg_git_compat = True
track_branches = False
if get_config('remote-hg.track-branches') == 'false\n': if get_config('remote-hg.track-branches') == 'false\n':
track_branches = False track_branches = False
if get_config('remote-hg.force-push') == 'false\n': if get_config('remote-hg.force-push') == 'false\n':

View File

@ -102,6 +102,7 @@ setup () {
) >> "$HOME"/.hgrc && ) >> "$HOME"/.hgrc &&
git config --global receive.denycurrentbranch warn git config --global receive.denycurrentbranch warn
git config --global remote-hg.hg-git-compat true git config --global remote-hg.hg-git-compat true
git config --global remote-hg.track-branches false
HGEDITOR=/usr/bin/true HGEDITOR=/usr/bin/true