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

Re: show diffs in a gui client, how to get a list of changed files?

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-05-26 22:02:24 CEST

Daniel Rall wrote:
> On Thu, 2005-05-26 at 09:11 -0500, Ben Collins-Sussman wrote:
>>Yeah, I'm getting really tired of telling users to run
>>
>> svn diff URL1@X URL2@Y | grep "Index:"
>>
>>That's not even a complete listing; it ignores directory adds/deletes.
>
>
> While reading some of the "Log Message Templates" thread, it struck me
> that we already have the code to do this -- it's used to insert the list
> of files that changed into the user's editor (when doing a commit
> without specifying -m or -F to provide a log message).

Not quite true. That function creates a list of locally modified/changed
files. What we need is a function which returns a list of changed
files/folders between two revisions/URLs in the repository.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 26 22:05:05 2005

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