[petsc-dev] hg diff question

Matthew Knepley knepley at gmail.com
Wed Mar 23 16:37:28 CDT 2011


On Wed, Mar 23, 2011 at 3:21 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>  hg diff src/makefile
>
>
>   How come there isn't an option to have it show the most recent set of
> changes? It seems I have to hunt down some "revision numbers" and type them
> in the request to get any useful information? How about something like
>
>  hg diff --last src/makefile


The closest I can find is

  hg diff -r-2 src/makefile

which diffs against the first revision before tip. However, if you pull a
bunch of revisions, there
is no guarantee that is right. You can generate this diff before the pull
using 'hg incoming', but
I can't yet find a command to give me the last thing pulled down.

   Matt

   Matt


>
>   Barry
>
>
>


-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110323/1de674cd/attachment.html>


More information about the petsc-dev mailing list