You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Nuutti Kotivuori <na...@iki.fi> on 2002/08/20 14:46:35 UTC

Re: svn commit: rev 2992 - trunk/subversion/clients/cmdline

cmpilato@tigris.org wrote:
> Author: cmpilato
> Date: 2002-08-20 09:11:38 -0500 (Tue, 20 Aug 2002)
> New Revision: 2992
> 
> Modified:
>    trunk/subversion/clients/cmdline/info-cmd.c
> Log:
> Create a pair of generic functions for reading and writing those
> little files that have nothing in them but a non-negative integer
> version number.

[...]

> Modified: trunk/subversion/clients/cmdline/info-cmd.c
> ==============================================================================
> --- trunk/subversion/clients/cmdline/info-cmd.c (original)
> +++ trunk/subversion/clients/cmdline/info-cmd.c	Tue Aug 20 09:11:42 2002
> @@ -248,7 +248,12 @@
>        if (! entry)
>          {
>            /* Print non-versioned message and extra newline separator. */
> -          printf ("%s:  (Not a versioned resource)\n\n", target);
> + const char *native; /* Get a non-UTF8 version of the target. */
> +SVN_ERR (svn_utf_cstring_from_utf8 (&native, target, pool));
> +
> +          printf ("%s: (Not a versioned resource)\n\n", native);
>            continue;
>          }

Time to tweak the log message?

-- Naked

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: rev 2992 - trunk/subversion/clients/cmdline

Posted by cm...@collab.net.
Nuutti Kotivuori <na...@iki.fi> writes:

> cmpilato@tigris.org wrote:
> > Author: cmpilato
> > Date: 2002-08-20 09:11:38 -0500 (Tue, 20 Aug 2002)
> > New Revision: 2992
> > 
> > Modified:
> >    trunk/subversion/clients/cmdline/info-cmd.c
> > Log:
> > Create a pair of generic functions for reading and writing those
> > little files that have nothing in them but a non-negative integer
> > version number.
> 
> [...]
> 
> > Modified: trunk/subversion/clients/cmdline/info-cmd.c
> > ==============================================================================
> > --- trunk/subversion/clients/cmdline/info-cmd.c (original)
> > +++ trunk/subversion/clients/cmdline/info-cmd.c	Tue Aug 20 09:11:42 2002
> > @@ -248,7 +248,12 @@
> >        if (! entry)
> >          {
> >            /* Print non-versioned message and extra newline separator. */
> > -          printf ("%s:  (Not a versioned resource)\n\n", target);
> > + const char *native; /* Get a non-UTF8 version of the target. */
> > +SVN_ERR (svn_utf_cstring_from_utf8 (&native, target, pool));
> > +
> > +          printf ("%s: (Not a versioned resource)\n\n", native);
> >            continue;
> >          }
> 
> Time to tweak the log message?

Heh...oops.  I -F'ed the wrong file. :-)  Will fix now.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org