Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 64A3BD3AC for ; Wed, 3 Oct 2012 14:11:42 +0000 (UTC) Received: (qmail 10546 invoked by uid 500); 3 Oct 2012 14:11:42 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 10487 invoked by uid 500); 3 Oct 2012 14:11:41 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 10476 invoked by uid 99); 3 Oct 2012 14:11:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 14:11:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 14:11:39 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 18C25238896F; Wed, 3 Oct 2012 14:10:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1393499 - /subversion/trunk/subversion/svn/mergeinfo-cmd.c Date: Wed, 03 Oct 2012 14:10:55 -0000 To: commits@subversion.apache.org From: julianfoad@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121003141055.18C25238896F@eris.apache.org> Author: julianfoad Date: Wed Oct 3 14:10:54 2012 New Revision: 1393499 URL: http://svn.apache.org/viewvc?rev=1393499&view=rev Log: In the 'svn mergeinfo' summary diagram, shorten the ellipsis (that indicates that part of the history is not shown) to save horizontal space. * subversion/svn/mergeinfo-cmd.c: (mergeinfo_diagram): Adjust. Modified: subversion/trunk/subversion/svn/mergeinfo-cmd.c Modified: subversion/trunk/subversion/svn/mergeinfo-cmd.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/mergeinfo-cmd.c?rev=1393499&r1=1393498&r2=1393499&view=diff ============================================================================== --- subversion/trunk/subversion/svn/mergeinfo-cmd.c (original) +++ subversion/trunk/subversion/svn/mergeinfo-cmd.c Wed Oct 3 14:10:54 2012 @@ -80,37 +80,30 @@ mergeinfo_diagram(svn_client__pathrev_t int col_width[COLS]; int row, col; - /* The YCA (that is, the branching point) */ - g[0][0] = apr_psprintf(pool, " %-8ld", yca->rev); - g[1][0] = " | "; + /* The YCA (that is, the branching point). And an ellipsis, because we + * don't show information about earlier merges */ + g[0][0] = apr_psprintf(pool, " %-8ld ", yca->rev); + g[1][0] = " | "; if (strcmp(yca->url, right->url) == 0) { - g[2][0] = "----------"; - g[3][0] = " \\ "; - g[4][0] = " \\ "; - g[5][0] = " -----"; + g[2][0] = "-------| |--"; + g[3][0] = " \\ "; + g[4][0] = " \\ "; + g[5][0] = " --| |--"; } else if (strcmp(yca->url, target->url) == 0) { - g[2][0] = " -----"; - g[3][0] = " / "; - g[4][0] = " / "; - g[5][0] = "----------"; + g[2][0] = " --| |--"; + g[3][0] = " / "; + g[4][0] = " / "; + g[5][0] = "-------| |--"; } else { - g[2][0] = " -----"; - g[3][0] = "... / "; - g[4][0] = " \\ "; - g[5][0] = " -----"; - } - - /* An ellipsis, because we don't show information about earlier merges */ - { - g[2][1] = "| ... |---"; - g[3][1] = " "; - g[4][1] = " "; - g[5][1] = "| ... |---"; + g[2][0] = " --| |--"; + g[3][0] = "... / "; + g[4][0] = " \\ "; + g[5][0] = " --| |--"; } /* The last full merge */ @@ -166,9 +159,9 @@ mergeinfo_diagram(svn_client__pathrev_t /* Column headings */ SVN_ERR(svn_cmdline_fputs( - _(" youngest last repos.\n" - " common full tip of path of\n" - " ancestor merge branch branch\n" + _(" youngest last repos.\n" + " common full tip of path of\n" + " ancestor merge branch branch\n" "\n"), stdout, pool));