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

RE: svn commit: r1073043 - in /subversion/trunk/subversion: include/svn_delta.h mod_dav_svn/mod_dav_svn.c svnserve/main.c

From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 21 Feb 2011 22:17:33 +0100

> -----Original Message-----
> From: philip_at_apache.org [mailto:philip_at_apache.org]
> Sent: maandag 21 februari 2011 17:08
> To: commits_at_subversion.apache.org
> Subject: svn commit: r1073043 - in /subversion/trunk/subversion:
> include/svn_delta.h mod_dav_svn/mod_dav_svn.c svnserve/main.c
>
> Author: philip
> Date: Mon Feb 21 16:08:15 2011
> New Revision: 1073043
>
> URL: http://svn.apache.org/viewvc?rev=1073043&view=rev
> Log:
> Avoid using "best" to refer to maximum compression.
>
> * subversion/include/svn_delta.h
> (SVN_BEST_COMPRESSION_LEVEL): Renamed to ...
> (SVN_MAX_COMPRESSION_LEVEL): ... this.
>
> * subversion/svnserve/main.c
> (main): Adjust for rename.
>
> * subversion/mod_dav_svn/mod_dav_svn.c
> (SVNCompressionLevel_cmd): Adjust for rename.
> (cmds): Use "maximum" rather than "best", don't refer to "ZIP".
>
> Modified:
> subversion/trunk/subversion/include/svn_delta.h
> subversion/trunk/subversion/mod_dav_svn/mod_dav_svn.c
> subversion/trunk/subversion/svnserve/main.c
>
> Modified: subversion/trunk/subversion/include/svn_delta.h
> URL:
> http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_de
> lta.h?rev=1073043&r1=1073042&r2=1073043&view=diff
> ==========================================================
> ====================
> --- subversion/trunk/subversion/include/svn_delta.h (original)
> +++ subversion/trunk/subversion/include/svn_delta.h Mon Feb 21 16:08:15
> 2011
> @@ -56,7 +56,7 @@ extern "C" {
>
> /** This is the maximum compression level we can pass to zlib.
> */
> -#define SVN_BEST_COMPRESSION_LEVEL 9
> +#define SVN_MAX_COMPRESSION_LEVEL 9

Is this macro new in 1.7?

If it is we should document it as new and if not the old name should be properly deprecated.

        Bert
Received on 2011-02-21 22:18:25 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.