23 Mar
2011
23 Mar
'11
5:20 p.m.
On Wed, 23 Mar 2011, Satish Balay wrote:
Well this is what I have:
function bsmithdiff { hg diff -c `hg log -l 1 --template '{node}' $1` }
bsmithdiff src/makefile
This one [bash function] is slightly better function bsmithdiff { hg diff -c `hg log -l $1 --template '{node}\n' $2| tail -1` $2 } bsmithdiff 1 src/makefile bsmithdiff 2 src/makefile satish