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

Re: svn commit: rev 2976 - trunk/subversion/include

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-08-21 01:20:19 CEST

kfogel@tigris.org writes:

> * subversion/include/svn_error_codes.h
> (SVN_ERR_CATEGORY_FIRST): Removed, all callers changed.
> (SVN_ERRDEF): Take an offset argument; all callers changed.
>
>
> Modified: trunk/subversion/include/svn_error_codes.h
> ==============================================================================
> --- trunk/subversion/include/svn_error_codes.h (original)
> +++ trunk/subversion/include/svn_error_codes.h Thu Aug 15 10:47:56 2002

[snip]

> /* entry errors */
>
> - SVN_ERR_CATEGORY_FIRST (SVN_ERR_ENTRY_NOT_FOUND,
> - SVN_ERR_ENTRY_CATEGORY_START,
> - "Can't find an entry")
> + SVN_ERRDEF (SVN_ERR_ENTRY_NOT_FOUND,
> + SVN_ERR_ENTRY_CATEGORY_START + 0,
> + "Can't find an entry")

There is a gap here, + 1 is missing.

>
> SVN_ERRDEF (SVN_ERR_ENTRY_EXISTS,
> + SVN_ERR_ENTRY_CATEGORY_START + 2,
> "Entry already exists")
>
> SVN_ERRDEF (SVN_ERR_ENTRY_MISSING_REVISION,
> + SVN_ERR_ENTRY_CATEGORY_START + 3,
> "Entry has no revision")
>
> SVN_ERRDEF (SVN_ERR_ENTRY_MISSING_URL,
> + SVN_ERR_ENTRY_CATEGORY_START + 4,
> "Entry has no url")
>
> SVN_ERRDEF (SVN_ERR_ENTRY_ATTRIBUTE_INVALID,
> + SVN_ERR_ENTRY_CATEGORY_START + 5,
> "Entry has an invalid attribute")

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 21 01:20:53 2002

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.