Marcel Gosselin wrote:
> Patch updated with Peter's suggestions:
[...]
> Index: subversion/clients/cmdline/info-cmd.c
> ===================================================================
> --- subversion/clients/cmdline/info-cmd.c (revision 13824)
> +++ subversion/clients/cmdline/info-cmd.c (working copy)
> @@ -202,9 +202,10 @@
> /* NOTE: The stdio will handle newline translation. */
> comment_lines = svn_cstring_count_newlines (info->lock->comment) + 1;
> SVN_ERR (svn_cmdline_printf (pool,
> - _("Lock Comment (%i %s):\n%s\n"),
> + (comment_lines != 0)
> + ? _("Lock Comment (%i lines):\n%s\n")
> + : _("Lock Comment (%i line):\n%s\n"),
> comment_lines,
> - (comment_lines > 1) ? "lines" : "line",
> info->lock->comment));
> }
> }
Still wrong. Should output "0 lines", "1 line", "2 lines", "3 lines", etc.
- Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 1 15:45:31 2005