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

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Sun Nov 26 09:01:17 EST 2017

yuja added a comment.

  In https://phab.mercurial-scm.org/D1506#25509, @ryanmce wrote:
  > but ideally, wouldn't this be supported?
  Yeah, this case, `includepath=True`, won't be difficult to handle. If reachableroots() raised
  WdirUnsupportedError, drop wdir revision from `y` of `x::y`, add parents instead, rerun
  `x::(y - wdir() + parents(wdir()))`, and append wdir to the result.

  rHG Mercurial


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

More information about the Mercurial-devel mailing list