diff --git a/contrib/base-revsets.txt b/contrib/base-revsets.txt
index 08481e11462e94b1416d8103b0953f6184dd9620_Y29udHJpYi9iYXNlLXJldnNldHMudHh0..a4483e380c3e89a939e09077b18227e8c98aa08e_Y29udHJpYi9iYXNlLXJldnNldHMudHh0 100644
--- a/contrib/base-revsets.txt
+++ b/contrib/base-revsets.txt
@@ -47,3 +47,6 @@
 # The one below is used by rebase
 (children(ancestor(tip~5, tip)) and ::(tip~5))::
 heads(commonancestors(last(head(), 2)))
+heads(-10000:-1)
+roots(-10000:-1)
+only(max(head()), min(head()))