diff -r a26580f0890a -r 709f9a3b120e zshrc.d/30-functions-hg.zrc --- 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 }