Re: [PATCH] commit --include-externals (v2)
From: Neels J Hofmeyr <neels_at_elego.de>
Date: Sat, 05 Nov 2011 01:17:54 +0100
On 11/04/2011 12:22 PM, Julian Foad wrote:
...yet a first class review, thanks a lot Julian!
> Looks like a good improvement.
doh!
> svn_client_commit6(): Could you extract the main chunk of added code as a separate function? That would help me (the reader) quickly understand how much of the local state it does *not* touch.
Good idea, done that.
> harvest_committables(): Would the 'is_explicit_target' parameter be better named something like 'include_file_externals'? I'm not sure if that would better reflect its purpose in that function; I haven't got my head around it well enough, so just asking.
Not sure -- while that's the only use for it currently, it does reflect a
> svn_client_commit6(): In the doc string, of instead of "If A and B, all file respectively dir externals as defined ...", I suggest "If A and/or B, all file and/or dir externals (respectively) as defined by ...". Rationale: "respectively" isn't used as a conjunction word in English: <http://www.transblawg.eu/index.php?/archives/870-Resp.-and-other-non-existent-English-wordsNicht-existente-englische-Woerter.html>.
heh interesting link; I didn't mean the German "Beziehungsweise", I meant
> In the same doc string: mention the TODO about --depth=immediates skipping dir externals, that you documented inside the function.
Done.
> svn_wc__committable_externals_below(): Document the 'immediates_only' parameter.
Refactored 'immediates_only' to a 'depth' parameter, foreshadowing future
...I also caught a wrongly placed '{' and a missing 'static'. And a "New
I'm still not committing because I have just suggested to flip default
Have attached the current patch state FYI.
Thanks again!
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.