Thanks Nicolas, your feedback is very helpful.<div><br></div><div>I will circle around on your comments and resubmit shortly.</div><div><br></div><div>Cheers</div><div>David<br><div><br><div class="gmail_quote">On Tue, Jun 8, 2010 at 10:13 PM, Nicolas Dumazet <span dir="ltr">&lt;<a href="mailto:nicdumz@gmail.com">nicdumz@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello David, and welcome aboard!<br>
<br>
2010/6/7 David Mitchell &lt;<a href="mailto:david.mitchell@telogis.com">david.mitchell@telogis.com</a>&gt;:<br>
<div class="im">&gt; # HG changeset patch<br>
&gt; # User David Mitchell &lt;<a href="mailto:david.mitchell@telogis.com">david.mitchell@telogis.com</a>&gt;<br>
&gt; # Date 1275870701 -43200<br>
&gt; # Branch stable<br>
&gt; # Node ID a26fd6d9d9f60da713f64a92f5713d724c94adef<br>
&gt; # Parent  d3ebb1a0bc49559e1e41d37f69c2afa06722563e<br>
&gt; Add option to status to see changes in all subrepos.<br>
&gt; Only used by status command so it has no impact on the way commits are done,<br>
&gt; and therefore no effect on the default commit status comment.<br>
&gt; Doesn&#39;t show which changes are files in subrepos and which are the top level<br>
&gt; repo.<br>
<br>
</div>Thanks for the inline (patchbombed) patch. That&#39;s the proper way to<br>
ask for review here!<br>
<br>
I like the idea, but I will however not look too much at the code<br>
because... it is not tested =)<br>
If you want people to review seriously the patch, you might want to<br>
resend a version with a few tests for the new feature.<br>
<br>
Because it changes command semantics, it will also break a few tests,<br>
and in particular test-debugcomplete. It&#39;s okay with us, but you will<br>
need to submit along the changes to the output. (easy trick: &quot;python<br>
run-tests.py -i test-debugcomplete&quot; will run interactively the test<br>
and ask you if changes are the ones you want, before updating for you<br>
the expected output.) In general, running the full test suite (make<br>
tests) before sending in patches do help =)<br>
<br>
As for the log message, we usually use the following convention:<br>
&quot;&quot;&quot;<br>
component: very short description<br>
<br>
longer description after a linebreak. This is a long description<br>
and it is wrapped at 80 chars.<br>
&quot;&quot;&quot;<br>
Here for example, we&#39;d expect &quot;status: add --subrepo option to list<br>
changes in subrepos\n\netc...&quot;<br>
<div class="im"><br>
&gt; diff -r d3ebb1a0bc49 -r a26fd6d9d9f6 mercurial/commands.py<br>
</div>[...]<br>
<div class="im">&gt;      def status(self, node1=&#39;.&#39;, node2=None, match=None,<br>
&gt; -               ignored=False, clean=False, unknown=False):<br>
&gt; +               ignored=False, clean=False, unknown=False, showSubs=False):<br>
&gt;          &quot;&quot;&quot;return status of files between two nodes or node and working<br>
&gt; directory<br>
<br>
</div>We are not too fond of camelCase here ( have a peek at<br>
<a href="http://mercurial.selenic.com/wiki/BasicCodingStyle" target="_blank">http://mercurial.selenic.com/wiki/BasicCodingStyle</a> and at the more<br>
generic <a href="http://mercurial.selenic.com/wiki/ContributingChanges" target="_blank">http://mercurial.selenic.com/wiki/ContributingChanges</a><br>
explaining why we get so picky when reviewing patches, and what one<br>
should know to get through more easily :p ).<br>
&quot;subrepo&quot; might be enough, or &quot;showsubrepo&quot; if you feel that you need<br>
to precise more the semantics.<br>
<br>
Regards,<br>
<font color="#888888"><br>
--<br>
Nicolas Dumazet — NicDumZ<br>
</font></blockquote></div><br></div></div>