Mercurial > hg
comparison mercurial/utils/urlutil.py @ 49716:d4926e08507d
path: remove outdated documentation point from `get_unique_pull_path`
This is no longer true.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 01 Dec 2022 16:58:22 +0100 |
parents | ce5f49e8d6ed |
children | bcb172e360d0 |
comparison
equal
deleted
inserted
replaced
49715:ce5f49e8d6ed | 49716:d4926e08507d |
---|---|
548 """return a unique `(url, branch)` or abort if multiple are found | 548 """return a unique `(url, branch)` or abort if multiple are found |
549 | 549 |
550 This is useful for command and action that does not support multiple | 550 This is useful for command and action that does not support multiple |
551 destination (yet). | 551 destination (yet). |
552 | 552 |
553 Note that for now, we cannot get multiple destination so this function is "trivial". | |
554 | |
555 The `action` parameter will be used for the error message. | 553 The `action` parameter will be used for the error message. |
556 """ | 554 """ |
557 urls = [] | 555 urls = [] |
558 if source is None: | 556 if source is None: |
559 if b'default' in ui.paths: | 557 if b'default' in ui.paths: |