diff -urN hg-git-0b8fb9c9ceca65d48e1e0d848dab56fd7d64bb52-orig/hggit/bundle.py hg-git-0b8fb9c9ceca65d48e1e0d848dab56fd7d64bb52/hggit/bundle.py --- hg-git-0b8fb9c9ceca65d48e1e0d848dab56fd7d64bb52-orig/hggit/bundle.py 2026-03-29 07:46:24 +0900 +++ hg-git-0b8fb9c9ceca65d48e1e0d848dab56fd7d64bb52/hggit/bundle.py 2026-09-20 18:19:50 +0900 @@ -58,17 +58,13 @@ @eh.wrapfunction(bundle2, '_addpartsfromopts') -def _addpartsfromopts(orig, ui, repo, bundler, source, outgoing, opts): - orig(ui, repo, bundler, source, outgoing, opts) +def _addpartsfromopts(orig, repo, bundler, source, outgoing, opts): + orig(repo, bundler, source, outgoing, opts) - if opts.get(CAPABILITY_MAP, False) or ui.configbool( - b'experimental', b'hg-git-bundle' - ): + if opts.get(CAPABILITY_MAP, False): addpartrevgitmap(repo, bundler, outgoing) - if opts.get(CAPABILITY_TAGS, False) or ui.configbool( - b'experimental', b'hg-git-bundle' - ): + if opts.get(CAPABILITY_TAGS, False): addpartrevgittags(repo, bundler, outgoing)