<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">That seems to work, but you don't seem to need the --git, which is very good.<div><br></div><div>Mark</div><div><br><div><div>On Jan 6, 2012, at 5:17 PM, Jed Brown wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote">On Fri, Jan 6, 2012 at 16:14, Mark F. Adams <span dir="ltr"><<a href="mailto:mark.adams@columbia.edu">mark.adams@columbia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">I fear disagreeing wit you :) but:<div><br></div><div><div>ford:~/petsc-dev/src/ksp/pc/impls/gamg> ll</div><div>total 132</div><div>-rw-r--r-- 1 madams anag   374 2011-11-02 14:11 makefile</div>
<div>-rw-r--r-- 1 madams anag  1465 2011-12-31 15:11 gamg.h</div><div>-rwxr-xr-x 1 madams anag 49319 <a href="tel:2012-01-06%2012" value="+12012010612" target="_blank">2012-01-06 12</a>:49 gamg.c</div><div>-rw-r--r-- 1 madams anag 70733 <a href="tel:2012-01-06%2012" value="+12012010612" target="_blank">2012-01-06 12</a>:49 createProlongation.c</div>
<div>drwxr-xr-x 2 madams anag    35 <a href="tel:2012-01-06%2012" value="+12012010612" target="_blank">2012-01-06 12</a>:51 ftn-auto</div><div>ford:~/petsc-dev/src/ksp/pc/impls/gamg> hg diff</div><div><div>ford:~/petsc-dev/src/ksp/pc/impls/gamg> hg diff .</div>
</div><div>ford:~/petsc-dev/src/ksp/pc/impls/gamg> </div><div><br></div><div>As you can see I made gamg.c executable but it does not show up ...</div></div></div></blockquote><div><br></div><div>Oh my! I consider this a bug in mercurial, but I guess the problem is that it isn't representable in the language of plain "patch". Please, everyone, edit your ~/.hgrc and add the following two lines:</div>
<div><br></div><div><div><div><div>[diff]</div><div>git = True</div></div></div></div><div><br></div><div><br></div><div>With this,</div><div><br></div><div>$ chmod +x ex5.c</div><div>$ hg diff</div><div><div><div><div>diff --git a/src/snes/examples/tutorials/ex5.c b/src/snes/examples/tutorials/ex5.c</div>
<div>old mode 100644</div><div>new mode 100755</div></div></div></div><div><br></div><div> </div><div>Thanks for pointing this out.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div><div class="h5"><div><br></div><div><br></div><div><div>On Jan 6, 2012, at 5:08 PM, Jed Brown wrote:</div><br><blockquote type="cite"><div class="gmail_quote">On Fri, Jan 6, 2012 at 16:09, Mark F. Adams <span dir="ltr"><<a href="mailto:mark.adams@columbia.edu" target="_blank">mark.adams@columbia.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Whoops sorry about that.  I do usually use diff but diff does not seem to show the mode ...<span><font color="#888888"><div></div></font></span></div></blockquote></div><br>
<div>hg diff path/to/file.c</div><div><br></div><div>does not show the mode, but</div><div><br></div><div>hg diff</div><div><br></div><div>or</div><div><br></div><div>hg diff path/</div><div><br></div><div>does show mode changes.</div>

</blockquote></div><br></div></div></div></div></blockquote></div><br>
</blockquote></div><br></div></body></html>