On 8/3/06, Jukka Salmi <j+dwm_AT_2006.salmi.ch> wrote:
>
> Jukka Salmi --> dwm (2006-08-03 18:18:59 +0200):
> > P.S.: why does `hg diff' generate such a stupid diff (s. attachment)?
>
> To be more precise: the first attachment is the output of `hg diff
> client.c', the second one is that from `diff -u client.c client.c.orig'
> after 'hg revert client.c'. You'll notice the difference...
>
>
> Cheers, Jukka
>
> --
> bashian roulette:
> $ ((RANDOM%6)) || rm -rf ~
Actually Jukka it seems you are running diff backwards, you are doing:
diff -u client.c client.c.orig
It should be:
diff -u client.c.orig client.c
And you will basically get a similar output to hg diff. I know in
the linux kernel this happens a lot when done manually, that's
why now they prefer people use git diff.
Thanks,
Juan Fuentes
Received on Thu Aug 03 2006 - 18:43:06 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:29:54 UTC