Re: [PATCH] move 'svnversion' functionnality in libsvn_wc v3j
From: Fabien COELHO <fabien_at_coelho.net>
Date: 2005-11-30 10:51:18 CET
Dear Julian,
Thanks a lot for all the improvements you suggested.
>> +/** This structure reports the mix of revisions found within
Indeed, I should have moved that in the function documentation.
>> + svn_revnum_t edit_revision = SVN_INVALID_REVNUM;
Possibly.
In fact I inlined the lisvn_client function which was called in the
> I don't think we need a sub-pool here - there's no iteration going on at this
Fine with me.
> Internal style is part of the API conventions, so this line goes in the
Oops.
> That whole block (svn_wc_check_wc; if (! wc_format) {...}) should go in the
Hummm. ISTM that any client that use this function will need to check
>> + anchor = svn_wc_adm_access_path (anchor_access);
It is again a result of the incomplete inlining/simplification process.
> You can pass NULL instead of "&set_locks_baton", as you don't want it.
Idem.
> You can pass NULL instead of "traversal_info" ... or at least the doc string
Idem.
>> + SVN_INT_ERR (svn_cmdline_fputs(N_("exported"), stdout, pool));
Ok. BTW, I'm not sure that the output should be translated.
> OK. I decided to make these changes myself, and am attaching my version "3j"
Good.
They are all fine with me.
> On my version of Fabien's patch, I would like help on these specific
As the code basis is inlined/simplified from a libwc_client function, it
> * Is the "trail_url" a reasonable thing to put in an API? It seems a bit ...
I'm not really happy with it as well, but I understand why it is useful.
-- Fabien. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Wed Nov 30 11:13:47 2005 |
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.