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

Re: Changed files list

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-01-26 15:58:53 CET

On Jan 26, 2005, at 8:48 AM, William Nagel wrote:

> On Jan 25, 2005, at 11:51 PM, Alexander Leschinsky wrote:
>
>> Hello,
>>
>> Probably easy question, but even after RTFM I couldn't find answer
>>
>> "How to get list of files, which was changed (in repo or WC) between
>> revisions A and B (B - mostly HEAD)?"
>
> Try:
>
> svn log --quiet --verbose --revision A:B
>
> That will give you all the files that have changed in each revision.
> You may need to do some processing to filter out multiples if files
> have been changed in more than one revision, though.
>
> Off the top of my head, I can't think of any command that will give
> you a condensed list of files that have changed in a range of
> revisions with multiples already removed. Of course, it's still early
> here, and I haven't had any coffee yet, so I may be forgetting
> something.
>

The log idea, as you say, might show redundant files.

Another strategy is

     svn diff -r A:X URL | grep Index:

The problem with that, of course, is that it won't show adds/removals
of directories, nor will it be easy to see whether the files are being
changed, added, or removed.

Really, we should add a switch to 'svn diff' that shows a list of
file-codes, just like the way 'svn up' does.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 26 16:02:45 2005

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.