D5772: hg: raise Abort on invalid path

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Sat Feb 2 00:38:23 EST 2019


martinvonz added a comment.


  > Currently, some os.path functions when opening repositories may
  >  raise an uncaught TypeError or ValueError if the path is invalid.
  
  What kind of "invalid"? If the path doesn't exist? Or only if the path variable is of the wrong type (not bytes? not unicode? neither?)?

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5772

To: indygreg, #hg-reviewers
Cc: martinvonz, yuja, mercurial-devel


More information about the Mercurial-devel mailing list