comparison mercurial/utils/urlutil.py @ 49720:bcb172e360d0

path: remove outdated documentation point from `get_unique_push_path` This is no longer true.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 02 Dec 2022 01:41:27 +0100
parents d4926e08507d
children 9f249dee8ce8
comparison
equal deleted inserted replaced
49719:06083c5f9e29 49720:bcb172e360d0
520 """return a unique `path` or abort if multiple are found 520 """return a unique `path` or abort if multiple are found
521 521
522 This is useful for command and action that does not support multiple 522 This is useful for command and action that does not support multiple
523 destination (yet). 523 destination (yet).
524 524
525 Note that for now, we cannot get multiple destination so this function is "trivial".
526
527 The `action` parameter will be used for the error message. 525 The `action` parameter will be used for the error message.
528 """ 526 """
529 if dest is None: 527 if dest is None:
530 dests = [] 528 dests = []
531 else: 529 else: