Skip to content

Commit 679e87c

Browse files
felipecgitster
authored andcommitted
remote-hg: enable track-branches in hg-git mode
The user can turn this off. Signed-off-by: Felipe Contreras <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 557399e commit 679e87c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

contrib/remote-helpers/git-remote-hg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,6 @@ def main(args):
909909

910910
if get_config('remote-hg.hg-git-compat') == 'true\n':
911911
hg_git_compat = True
912-
track_branches = False
913912
if get_config('remote-hg.track-branches') == 'false\n':
914913
track_branches = False
915914
if get_config('remote-hg.force-push') == 'false\n':

contrib/remote-helpers/test-hg-hg-git.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ setup () {
102102
) >> "$HOME"/.hgrc &&
103103
git config --global receive.denycurrentbranch warn
104104
git config --global remote-hg.hg-git-compat true
105+
git config --global remote-hg.track-branches false
105106

106107
HGEDITOR=/usr/bin/true
107108

0 commit comments

Comments
 (0)