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

Re: svn commit: r9468 - trunk/subversion/libsvn_fs_fs

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-04-23 21:13:04 CEST

ghudson@tigris.org writes:

> Author: ghudson
> Date: Thu Apr 22 23:36:33 2004
> New Revision: 9468
>
> Modified: trunk/subversion/libsvn_fs_fs/make-revs.c
> ==============================================================================
> --- trunk/subversion/libsvn_fs_fs/make-revs.c (original)
> +++ trunk/subversion/libsvn_fs_fs/make-revs.c Thu Apr 22 23:36:33 2004
> @@ -569,7 +569,7 @@
> static const char *
> txn_revstr(struct parse_baton *pb, svn_revnum_t rev, apr_pool_t *pool)
> {
> - return (rev == pb->current_rev) ? "this"
> + return (rev == pb->current_rev) ? "-1"

Perhaps

  return (rev == pb->current_rev) ? APR_STRINGIFY(SVN_INVALID_REVNUM)

or do you deliberately allowing it to be different?

> : apr_psprintf(pool, "%" SVN_REVNUM_T_FMT, rev);
> }

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 23 21:13:24 2004

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.