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

Re: svn st without the X lines for externals?

From: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Sun, 1 Jul 2018 10:31:08 -0400

On Fri, Jun 29, 2018 at 11:04 AM Julian Foad <julianfoad_at_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 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

Received on 2018-07-01 16:31:31 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.