comparison mercurial/httppeer.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 37debb6771f5
children 2372284d9457
comparison
equal deleted inserted replaced
42959:af2b5562fcaf 42960:763028fc6a69