diff mercurial/copies.py @ 42960:763028fc6a69

stack: use repo.revs() instead of revsetlang.formatspec() + scmutil.revrange() Using scmutil.revrange() it's possible to use multiple revsets at the same time, but we're not using that functionality in stack. I thought maybe that function could be used to make stack definition customizable (by combining various parts into one set), but scmutil.revrange() gives the union of all provided revsets, which is not very useful in stack's case (we want "and" between parts, not "or").
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 22 Sep 2019 14:33:56 +0700
parents 3cffc7bbec26
children f3bcae1e9e23
line wrap: on
line diff