# HG changeset patch # User Yuya Nishihara # Date 2017-08-30 14:53:30 # Node ID 62cc1f17c571d7ff917421afed061a48ba00b6cc # Parent 96f249dce03ef5d308c7ab8e406e0527b91aae0b revset: fix example describing how ordering is determined It was 'X & !Y' before. diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -64,13 +64,13 @@ fullreposet = smartset.fullreposet # # 'any' means the order doesn't matter. For instance, # -# (X & Y) | ancestors(Z) -# ^ ^ -# any any +# (X & !Y) | ancestors(Z) +# ^ ^ +# any any # -# For 'X & Y', 'X' decides order so the order of 'Y' does not matter. For -# 'ancestors(Z)', Z's order does not matter since 'ancestors' does not care -# about the order of its argument. +# For 'X & !Y', 'X' decides the order and 'Y' is subtracted from 'X', so the +# order of 'Y' does not matter. For 'ancestors(Z)', Z's order does not matter +# since 'ancestors' does not care about the order of its argument. # # Currently, most revsets do not care about the order, so 'define' is # equivalent to 'follow' for them, and the resulting order is based on the