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>
Felipe Contreras committed
May 13, 2013 at 23:36 UTC
679e87c02bf02b34fe4dba5bd09e17269223c96f
2 files changed
+1
-1
contrib/remote-helpers/git-remote-hg
-1
@@ -909,7 +909,6 @@ def main(args):
909
910
if get_config('remote-hg.hg-git-compat') == 'true\n':
911
hg_git_compat = True
912
- track_branches = False
912
if get_config('remote-hg.track-branches') == 'false\n':
913
track_branches = False
914
if get_config('remote-hg.force-push') == 'false\n':
contrib/remote-helpers/test-hg-hg-git.sh
+1
@@ -102,6 +102,7 @@ setup () {
102
) >> "$HOME"/.hgrc &&
103
git config --global receive.denycurrentbranch warn
104
git config --global remote-hg.hg-git-compat true
105
+ git config --global remote-hg.track-branches false
106
107
HGEDITOR=/usr/bin/true
108