[petsc-dev] hg diff question
Barry Smith
bsmith at mcs.anl.gov
Wed Mar 23 18:11:59 CDT 2011
On Mar 23, 2011, at 5:20 PM, Satish Balay wrote:
> 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
>
What good is this? It doesn't show any changes. I want to see the last two sets of changes.
Barry
> satish
More information about the petsc-dev
mailing list