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

RE: Getting list of files with changed content

From: Ian Brockbank <ian_at_scottishdance.net>
Date: 2004-12-03 17:14:45 CET

Hi All,

> How can I get a list of the files which have actually changed content
> between two branches?
> We have a vendor branch, which contains the pristine code
> received from
> our vendors, with no properties. We then copy this to a corresponding
> branch within trunk in which we do our work and make our changes. We
> have properties on in the branch, such as svn:keywords and
> svn:eol-style.
> When we create a kit, we distribute changed files only - we
> do not have
> the right to distribute the whole tree, only our modifications. I was
> wanting to check that we were distributing all changed files, so
> naturally I turned to svn diff --diff-cmd=echo. However, this gave a
> diff for almost every file because of the property changes.
> Hence my question - how can I get a list of the files with content
> changes only? (Or put another way, how can I ignore properties when
> doing a diff?)

Given a resounding silence, I assume what I was asking for isn't supported
by svn diff. I've found the following command does what I want (eventually
- it takes a while...):

svn diff --diff-cmd diff -x "-q -w -N" <URL1> <URL2> | grep differ


Ian Brockbank
Applications Software Team Leader
e: ian.brockbank@wolfsonmicro.com / apps@wolfsonmicro.com
scd: ian@scottishdance.net
t: +44 131 272 7145
f: +44 131 272 7001

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 3 19:12:34 2004

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.