D1506: dagop: handle IndexError when using wdir() in dag range

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Nov 24 22:54:28 EST 2017


yuja requested changes to this revision.
yuja added a comment.
This revision now requires changes to proceed.


  I think it's better to fail fast instead of trying the slow path which is supposed
  to raise WdirUnsupported exception.
  
  > $ hg status --rev '.::wdir()'
  >  abort: working directory revision cannot be specified
  
  Can you add test?

REPOSITORY
  rHG Mercurial

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

To: swhitaker, #hg-reviewers, mbthomas, yuja
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list