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

Re: svn commit: r1197961 - in /subversion/trunk/subversion/libsvn_client: client.h copy.c diff.c info.c merge.c ra.c

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Mon, 7 Nov 2011 14:01:35 +0000 (GMT)

Greg Stein wrote:
> Woah. This is even crazier than what you fixed. *nobody* asks
> for the end revision. In fact, the code would have crashed since
> END_REVISION was always NULL.

No, it wasn't that broken, it was only a bit of an ugly API. Both the END_URL and END_REVISION output pointers were (and still are) allowed to be null if the corresponding END input revision is unspecified.

> Thus, ->kind must have never been
> unspecified. But no matter, as the param is useless. Also note
> that only one callsite asks for the start, and only one asks for
> the URL.

> Seems you could simplify further...

Am doing.

- Julian

> Julian Foad wrote:
> > Simplify calling svn_client__repos_locations() by returning
> > svn_revnum_t instead of svn_opt_revision_t and by allowing
> > NULL for unwanted revision number outputs.
Received on 2011-11-07 15:02:13 CET

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.