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

Re: [RFC] Distinguish Between Paths/File For Summarized Diff Output

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-10-15 18:58:22 CEST

On 10/15/07, Jeremy Whitlock <jcscoobyrs@gmail.com> wrote:
> Hi All,
> When writing a script I recently ran across a situation that
> caused me a good bit of heart ache. When you run "svn diff
> --summarize" and you get the output, there is no way to distinguish
> between files and directories. Here is an example:
> $ svn diff --summarize
> http://svn.collab.net/repos/svn/branches/ctypes-python-bindings
> -r24577:HEAD
> .....
> A http://svn.collab.net/repos/svn/branches/ctypes-python-bindings/test
> .....
> There is no way to tell in a scripted/automatic fashion whether "test"
> is a file or directory. I would like to propose that we make our
> commands display visible differences between files and directories.
> The way it would work is that all directories would end with a
> trailing slash. This makes viewing the output and making a better
> analysis more exact and it also gives script writers the ability to
> distinguish between files and directories without having to do a
> server round trip. The only way to do this now is with some sort of
> server round trip and it shouldn't be necessary. What do you think?
> If you are interested in seeing this in the core, I can submit a
> patch.

I know people have complained about this with log output as well. I
am not sure why we stuck with current output, but I imagine diff
--summarize is just being consistent.

Mark Phippard
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 15 18:58:34 2007

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.