[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: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2005-05-26 21:31:43 CEST

On Thu, 2005-05-26 at 09:11 -0500, Ben Collins-Sussman wrote:
>On May 26, 2005, at 9:04 AM, John Szakmeister wrote:
>>>
>>> $ svn diff URL1@X URL2@Y --list-files
>>> M foo.c
>>> M bar.c
>>> A baz.h
>>> D blah
>>> [...]
>>>
>>> The output would be similar to what 'svn merge --dry-run' already
>>> does. I think it's just a matter of writing a new set of
>>> diff_callbacks_t for the URL-URL diff codepath. Would anyone
>>> object if
>>> I filed an enhancement request for this? I see this request over
>>> and
>>> over from users too.
>>>
>>
>> I think it's a great idea. I find myself looking for that information
>> quite a bit as well.
>
>
>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).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 26 21:33:31 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.