mercurial/utils/urlutil.py
changeset 49720 bcb172e360d0
parent 49716 d4926e08507d
child 49721 9f249dee8ce8
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: