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

Re: List of all files in conflict

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Tue, 02 Mar 2010 08:53:20 -0500

Lasse Kliemann wrote:
> Is there a reliable and direct way to get a list of all files
> that are in conflict for a particular working copy? Of course,
> one can parse the output of 'svn status' or 'svn status --xml',
> but maybe there is something like 'svn status --conflicts'?

There's a thinly veiled sense of distrust in Subversion's command-line
output here whose source I'm sure would make a great anecdote, but let me
assure you that the likes of 'svn status' piped through an appropriate
'grep' will do exactly what you want.

Alternatively, you can write you own program around Subversion's public API
to harvest and report only the conflicted files.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2010-03-02 14:53:58 CET

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