hg diff on a modified line
Kevin Bullock
kbullock+mercurial at ringworld.org
Fri Sep 21 16:15:09 UTC 2012
On Sep 21, 2012, at 6:35 AM, praveen_m86 wrote:
> Hello All,
>
> If I am modifying a line in a tracked file and run hg diff,
> the output is as if i have removed the line and added a new line. Y is it so
> ? Is there any option to display that particular change just as modified
> line ?
>
> e.g
>
> hg diff Hello.py
>
> -from app.test.method import *
> +from app.test.methods import *
That's how the unified diff format shows changed lines. If you want to see changes in a different way, you can always configure an external diff program: http://mercurial.selenic.com/wiki/ExtdiffExtension
pacem in terris / мир / शान्ति / سَلاَم / 平和
Kevin R. Bullock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20120921/b625eb7b/attachment-0002.html>
More information about the Mercurial
mailing list