diff -r b1c62c754bf8 -r 81adf7777f8f mercurial/revset.py --- a/mercurial/revset.py Sun Sep 18 10:07:51 2011 +0200 +++ b/mercurial/revset.py Sun Sep 18 22:54:11 2011 +0200 @@ -235,8 +235,8 @@ n = getstring(x, _("author requires a string")).lower() return [r for r in subset if n in repo[r].user().lower()] -def bisected(repo, subset, x): - """``bisected(string)`` +def bisect(repo, subset, x): + """``bisect(string)`` Changesets marked in the specified bisect state (good, bad, skip). """ state = getstring(x, _("bisect requires a string")).lower() @@ -245,6 +245,11 @@ marked = set(repo.changelog.rev(n) for n in hbisect.load_state(repo)[state]) return [r for r in subset if r in marked] +# Backward-compatibility +# - no help entry so that we do not advertise it any more +def bisected(repo, subset, x): + return bisect(repo, subset, x) + def bookmark(repo, subset, x): """``bookmark([name])`` The named bookmark or all bookmarks. @@ -837,6 +842,7 @@ "ancestor": ancestor, "ancestors": ancestors, "author": author, + "bisect": bisect, "bisected": bisected, "bookmark": bookmark, "branch": branch,