Mercurial > hg
diff i18n/ja.po @ 30178:d61c42c1a35c
revset: make follow() reject more than one start revisions
Taking only the last revision is inconsistent because ancestors(set) follows
all revisions given, and theoretically follow(startrev=set) == ancestors(set).
I'm planning to add a support for multiple start revisions, but that won't fit
to the 4.0 time frame. So reject multiple revisions now to avoid future BC.
len(revs) might be slow if revs were large, but we don't care since a valid
revs should have only one element.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 10 Oct 2016 22:30:09 +0200 |
parents | 716c01161852 |
children | 8b2056d9a7dd |