Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When performing a subversion status update

svn st -u

All changes both remote and local are displayed. Is there a way to filter this list to show only remotely modified files?

(without using awk, sed or the like)

share|improve this question


svn diff --summarize -rCOMMITTED:HEAD

--summarize causes svn diff to emit status-style output.

However, this will not compare each file to the repository as svn status -u does, but rather compare the revision which the current directory is at to HEAD. Therefore if you have a mixed-revision working copy, such as if you committed but did not update, this will report your committed files as modified.

share|improve this answer
+1 @Kevin : Unfortunately I need to do this because I have a mixed-revision working copy. Thanks for the answer - I'm sure it will come in useful somewhere else! – bguiz Apr 12 '11 at 1:55
If you want a thoroughly engineered solution, I suggest svn status -u --xml | xsltproc my-filter.xslt. – Kevin Reid Apr 12 '11 at 10:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .