1
2
function hg_pull_and_see() {
3
if ! $HG_ROOT_CMD > /dev/null; then
4
print "Not a Mercurial repository!"
5
return -1
6
fi
7
8
local i=$(hg id -i)
9
hg pull -u
10
local j=$(hg id -i)
11
12
if [[ $i != $j ]];then
13
hg log --quiet -r${i}:tip --style=changelog
14
15
}