From users-return-27273-archive-asf-public=cust-asf.ponee.io@subversion.apache.org Sun Jul 1 16:31:25 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 34A93180654 for ; Sun, 1 Jul 2018 16:31:25 +0200 (CEST) Received: (qmail 69442 invoked by uid 500); 1 Jul 2018 14:31:24 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 69431 invoked by uid 99); 1 Jul 2018 14:31:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jul 2018 14:31:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 625AF1A28AD for ; Sun, 1 Jul 2018 14:31:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.192 X-Spam-Level: X-Spam-Status: No, score=0.192 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1.697, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id gFM4tfWKf3U3 for ; Sun, 1 Jul 2018 14:31:21 +0000 (UTC) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id DD4975F432 for ; Sun, 1 Jul 2018 14:31:20 +0000 (UTC) Received: by mail-lj1-f173.google.com with SMTP id t22-v6so10648851ljc.11 for ; Sun, 01 Jul 2018 07:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=chPbFgErcn1WWO2R3pqfPgYbZsHql11zre9Mc2SRU0s=; b=NAs5+81+f9YLJbkndiR5aW888Dqf7W4QY/b3retqrlJYmB7pXpdSvGj2UJp6owJEj/ HQvXXxq3vHNUvoR0K2rETDq1SMg08sgSr89ocQv/3w5HQChLXP5wJiTilw99nIeLNspD /oPDnkqY3doBVxm7uyuiZFjgp2y7V0Y6kc9KfeMtbUUSQgIe2hRYh7i9GlyvHqN2D9yE w/n7Z7TLApTbSXSHSAVxZZbueq1IiwOOZV75XaeeurexTAOA5d/zrn+DlZung7uFv65D djuCz+4x86qnbwkUJOyuNGIq6i6sMoJVtZuqYCoQwiqDYJVYdpsBnGZOhymMMDNgl4K4 DD1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=chPbFgErcn1WWO2R3pqfPgYbZsHql11zre9Mc2SRU0s=; b=L59nFKhQr/i2whcqoGyyhM9Cj2+v9EUsp+47cyxGcFFQoRB7m88zmeTq5OfEPyoknU eg/je9+bHj/e812J89eQC/Y31vuj0L3LXDNqMV3d/p0XEJhQ46pgJqOHg19lqR968+Jv h2hsBSW9lZQGBTxytcBwtN17QZS9G8Ts/v12s5Lb0T0/b9h9aC/Ki0A5Mupe2RO4y3d+ D337I4bR2fMIgorTtfTPrDjexRQRDuczywRkMoLSsR3Bs0ugMA70xhsyCDot2cv6/o/l GOAbjU1uaVrc9yucgSFQulhbjbRljpaDNnwGJe/32J4yYYwhO5eoIacy0AKkCVlfGpeC ENbg== X-Gm-Message-State: APt69E0H7xEqFJxc1acU6VlDLVxBEvRJ/8/lVPvrB6jocgi4e78SaJHO S+bMskZOxjbDQDmHakc5Ac/PhHXYwMir2MhPIJE= X-Google-Smtp-Source: AAOMgpdPU7YC3JdAMNQkcmre9WLiF5jBdh/aYYCr2IHoCJ3j2z5SSmIx0TR57QBSk6vnhH2j2j6OHvrxPjF8aJLCi+8= X-Received: by 2002:a2e:741:: with SMTP id i1-v6mr14240780ljd.87.1530455479719; Sun, 01 Jul 2018 07:31:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Nathan Hartman Date: Sun, 1 Jul 2018 10:31:08 -0400 Message-ID: Subject: Re: svn st without the X lines for externals? To: Julian Foad Cc: users@subversion.apache.org Content-Type: multipart/alternative; boundary="000000000000369a43056ff0ef1d" --000000000000369a43056ff0ef1d Content-Type: text/plain; charset="UTF-8" On Fri, Jun 29, 2018 at 11:04 AM Julian Foad wrote: > Nathan Hartman wrote: > > We make extensive use of externals, so "svn st" outputs many lines > > beginning with X. Running "svn st --ignore-externals" gets rid of the > > "Performing status on external item at" output, but not the "X" lines. > > Is it possible to avoid those as well? > > I would consider supporting a proposal for "svn status" to be > improved/changed, if you'd like to make such a proposal. I am thinking about what the proposal should be. Perhaps to sort by type of change? On *nix I have become accustomed to typing "svn st | sort -r" to print modified "M", then deleted "D", then added "A" but this is far from perfect for a variety of reasons. And it doesn't work on Windows unless one installs a *nix version of sort that has the -r switch. Meanwhile, I have been using this output-colouring wrapper script for a > while, which also hides the X lines: > > https://github.com/thejoshwolfe/svn-color > > Overall I really like it. It is not perfect: it inserts color formatting > even when output is not to a tty, which means e.g. "svn diff > patchfile" > produces a file that 'patch' can't read, and I also find it runs svn > --non-interactive so if a repo access would need a password it just fails > instead. In those cases, I re-try using (in Bash) "command svn ..." instead > of "svn ...". Thank you for mentioning this. I will look into it and perhaps it can be fixed. > --000000000000369a43056ff0ef1d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jun 29, 2018 at 11:04 AM Julian Foad <julianfoad@apache.org> wrote:
Nathan Hartman wrote:
> We make extensive use of externals, so "svn st" outputs many= lines
> beginning with X. Running "svn st --ignore-externals" gets r= id of the
> "Performing status on external item at" output, but not the = "X" lines.
> Is it possible to avoid those as well?

I would consider supporting a proposal for "svn status" to be imp= roved/changed, if you'd like to make such a proposal.

I am thinking about what the propo= sal should be. Perhaps to sort by type of change? On *nix I have become acc= ustomed to typing "svn st | sort -r" to print modified "M&qu= ot;, then deleted "D", then added "A" but this is far f= rom perfect for a variety of reasons. And it doesn't work on Windows un= less one installs a *nix version of sort that has the -r switch.

Meanwhile, I have bee= n using this output-colouring wrapper script for a while, which also hides = the X lines:

=C2=A0 https://github.com/thejoshwolfe/svn-color

Overall I really like it. It is not perfect: it inserts color formatting ev= en when output is not to a tty, which means e.g. "svn diff > patchf= ile" produces a file that 'patch' can't read, and I also f= ind it runs svn --non-interactive so if a repo access would need a password= it just fails instead. In those cases, I re-try using (in Bash) "comm= and svn ..." instead of "svn ...".

Thank you for mentioning this. I will look= into it and perhaps it can be fixed.
<= /blockquote>
--000000000000369a43056ff0ef1d--