Fwd: Question regarding to hg diff command

Steve (Gadget) Barnes gadgetsteve at hotmail.com
Wed May 20 16:38:22 UTC 2015



On 20/05/2015 12:16, Emanuel Agustin Ocampo wrote:
> Hello!
>
> How to get the complete methods(not only modified line) that contain 
> changes in diff file?
> I need only the modified methods.
> I tried with hg diff -p but does not work.
>
> Best regards.
>
> Emanuel A. Ocampo
>
>
>
> -- 
> Atte.
>
> Emanuel A. Ocampo
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
Emmanuel,

It might help to mention which version of hg you are using and which 
languages the code you are controlling is in.  I have just tried with 
some python code and it worked fine there with the exception for what 
you are asking for that it output the diff and the procedures headers 
that they were in.

Gadget/Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150520/1c4f4757/attachment-0002.html>


More information about the Mercurial mailing list