[PATCH 3 of 3] revsets: add a sample query to the help for getting active branches

Brodie Rao brodie at bitheap.org
Sat Oct 9 12:01:09 CDT 2010


# HG changeset patch
# User Brodie Rao <brodie at bitheap.org>
# Date 1286643325 18000
# Node ID 3be59d064748c3f3fa28273153bbbe93627bedea
# Parent  cbdfd6488f5f7ea98cbdc2301716ce1118192add
revsets: add a sample query to the help for getting active branches

diff --git a/mercurial/help/revsets.txt b/mercurial/help/revsets.txt
--- a/mercurial/help/revsets.txt
+++ b/mercurial/help/revsets.txt
@@ -178,6 +178,10 @@ Some sample queries:
 
     hg log -r 'branch(default) and 1.5:: and not merge()'
 
+- Active branch heads::
+
+    hg log -r 'head() and not closed()'
+
 - Changesets between tags 1.3 and 1.5 mentioning "bug" that affect
   hgext/*::
 


More information about the Mercurial-devel mailing list