[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How wrong can we get a short doc-string?

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 14 Aug 2008 19:01:05 +0100

How's this?

[[[
>
> -/* Get REVISION of the file at URL. SOURCE is a path that refers to that
> - file's entry in the working copy, or NULL if we don't have one. Return in
> - *FILENAME the name of a file containing the file contents, in *PROPS a hash
> - containing the properties and in *REV the revision. All allocation occurs
> - in POOL. */
> +/* Get revision REV of the file that is at the root URL of RA_SESSION.
> + Store the file's text content in a new temporary file in the same
> + directory as the path WC_TARGET. Set *FILENAME to the path to that file.
> + Set *PROPS to a hash containing the file's properties.
> + All allocation occurs in POOL. */
> static svn_error_t *
> single_file_merge_get_file(const char **filename,
> svn_ra_session_t *ra_session,
> @@ -3227,7 +3320,7 @@
> apr_file_t *fp;
> svn_stream_t *stream;
>
> - /* ### Create this temporary file under .svn/tmp/ instead of next to
> + /* ### TODO: Create this temporary file under .svn/tmp/ instead of next to
> ### the working file.*/
> SVN_ERR(svn_io_open_unique_file2(&fp, filename,
> wc_target, ".tmp",
]]]

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-14 20:01:24 CEST

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.