mercurial/__init__.py
author Durham Goode <durham@fb.com>
Tue, 01 Sep 2015 16:46:05 -0700
changeset 26143 42bb1812686f
parent 0 9117c6561b0b
child 27220 4374d819ccd5
permissions -rw-r--r--
revset: fix resolving strings from a list When using multiple revsets that get optimized into a list (like hg log -r r1235 -r r1237 in hgsubversion), the revset list code was assuming the strings were resolvable via repo[X]. hgsubversion and other extensions override def stringset() to allow processing different revision identifiers (such as r1235 or g<githash>), and there for the _list() implementation was circumventing that resolution. The fix is to just call stringset(). The default implementaiton does the same thing that _list was already doing (namely repo[X]). This has always been broken, but it was recently exposed by 4ee4f7415095 which made "--rev X --rev Y" produce a combined revset "X | Y".
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines: