durin42 added a comment.
In https://phab.mercurial-scm.org/D1047#17724, @quark wrote: > In https://phab.mercurial-scm.org/D1047#17715, @durin42 wrote: > > > The only concern I have is that this is pretty complicated to express in a revset, but if we can figure it out that's almost certainly the way to go... > > > If this is the only concern, how about defining a `_deststabilize(src, allsrc)` revset in `rebase`? (since we already have `_destrebase` for now) Then the user-facing revset could be shorter and do not require PhD-level knowledge to write. This solves extra problems, like we can do extra work to handle the divergence case, and do some caching to improve performance on huge repos in the revset implementation. Seems fine to me, maybe write up a brief proposal so people don't have to read the whole comment thread here? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1047 To: quark, #hg-reviewers Cc: durin42, martinvonz, lothiraldan, dlax, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel