equal
deleted
inserted
replaced
682 |
682 |
683 |
683 |
684 def _pull(orig, ui, repo, source=b"default", **opts): |
684 def _pull(orig, ui, repo, source=b"default", **opts): |
685 opts = pycompat.byteskwargs(opts) |
685 opts = pycompat.byteskwargs(opts) |
686 # Copy paste from `pull` command |
686 # Copy paste from `pull` command |
687 source, branches = urlutil.parseurl( |
687 source, branches = urlutil.get_unique_pull_path( |
688 ui.expandpath(source), opts.get(b'branch') |
688 b"infinite-push's pull", |
|
689 repo, |
|
690 ui, |
|
691 source, |
|
692 default_branches=opts.get(b'branch'), |
689 ) |
693 ) |
690 |
694 |
691 scratchbookmarks = {} |
695 scratchbookmarks = {} |
692 unfi = repo.unfiltered() |
696 unfi = repo.unfiltered() |
693 unknownnodes = [] |
697 unknownnodes = [] |