##// END OF EJS Templates
infinitepush: use `get_unique_pull_path`...
marmoute -
r47705:30ee1224 default
parent child Browse files
Show More
@@ -684,8 +684,12 b' def _lookupwrap(orig):'
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 = {}
General Comments 0
You need to be logged in to leave comments. Login now