zshrc.d/30-functions-hg.zrc
changeset 25 709f9a3b120e
parent 10 ed98b8ea395d
child 42 2431e6a9344a
--- a/zshrc.d/30-functions-hg.zrc	Fri Jul 20 22:51:57 2012 +0200
+++ b/zshrc.d/30-functions-hg.zrc	Sat Aug 04 11:47:56 2012 +0200
@@ -14,7 +14,7 @@
     local j_h=$(hg id -r tip --id)
 
     if (( $i != $j ));then
-        hg log --quiet --style=changelog -r "not ancestors($i)"
+        hg log --quiet --style=changelog -r "$i:$j and not $i"
         print "\nPulled from ${i_h} to ${j_h}."
     fi
 }