D6027: mq: make unshelve to apply on modified mq patch (issue4318)
navaneeth.suresh (Navaneeth Suresh)
phabricator at mercurial-scm.org
Tue Mar 26 14:21:43 EDT 2019
navaneeth.suresh added a comment.
> It doesn't make sense to check the existence of 'shelvedstate' in a static
> Can't we somehow get around the mq in a similar way to shelve.getcommitfunc()?
> I don't think it's good idea to rely on state files saved on disk.
I felt that the only workaround to stop aborting unshelve on a modified mq patch should be adding a check on `mq.abortifwdirpatched()`. Will try to investigate in `shelve.getcommitfunc()` for sure. Thanks.
To: navaneeth.suresh, martinvonz, #hg-reviewers
Cc: yuja, mercurial-devel
More information about the Mercurial-devel