mirror of
https://github.com/git/git
synced 2024-08-23 18:00:25 +00:00
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:
parent
557399e9bd
commit
679e87c02b
|
@ -909,7 +909,6 @@ def main(args):
|
|||
|
||||
if get_config('remote-hg.hg-git-compat') == 'true\n':
|
||||
hg_git_compat = True
|
||||
track_branches = False
|
||||
if get_config('remote-hg.track-branches') == 'false\n':
|
||||
track_branches = False
|
||||
if get_config('remote-hg.force-push') == 'false\n':
|
||||
|
|
|
@ -102,6 +102,7 @@ setup () {
|
|||
) >> "$HOME"/.hgrc &&
|
||||
git config --global receive.denycurrentbranch warn
|
||||
git config --global remote-hg.hg-git-compat true
|
||||
git config --global remote-hg.track-branches false
|
||||
|
||||
HGEDITOR=/usr/bin/true
|
||||
|
||||
|
|
Loading…
Reference in a new issue