equal
deleted
inserted
replaced
3 if ! $HG_ROOT_CMD > /dev/null; then |
3 if ! $HG_ROOT_CMD > /dev/null; then |
4 print "Not a Mercurial repository!" |
4 print "Not a Mercurial repository!" |
5 return -1 |
5 return -1 |
6 fi |
6 fi |
7 |
7 |
8 local i=$(hg id -i) |
8 local i=$(hg id --num) |
|
9 local i_h=$(hg id --id) |
9 hg pull -u |
10 hg pull -u |
10 local j=$(hg id -i) |
11 local j=$(hg id --num) |
|
12 local j_h=$(hg id --id) |
11 |
13 |
12 if [[ $i != $j ]];then |
14 if (( $i != $j ));then |
13 hg log --quiet -r${i}:tip --style=changelog |
15 print "\nChangelog from ${i_h} to ${j_h}..." |
|
16 hg log --quiet --style=changelog -r "not ancestors($i)" |
14 fi |
17 fi |
15 } |
18 } |