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

Re: quick survey: diff --summarize output

From: Neels J. Hofmeyr <neels_at_elego.de>
Date: Sun, 19 Oct 2008 03:48:18 +0200

Hyrum K. Wright wrote:
> Neels J. Hofmeyr wrote:
>> Hi all,
>>
>> which `diff --summarize' output do you prefer?
>>
[...]
>> 2) New implementation I'd like to merge to trunk:
>> Only print the paths relative to the target.
>> [[[
>> $ svn diff --summarize \
>> --old=$VERYLONGURL/foo/@2 \
>> --new=$VERYLONGURL/quux_at_3
>>
>> MM modified_file
>> M modified_dir
>> M modified_dir/file_in_modified_dir
>> ]]]
>
> What about using our relative repo syntax for displaying the output? You'd get
> something like:
> [[[
> $ svn diff --summarize \
> --old=$VERYLONGURL/foo/@2 \
> --new=$VERYLONGURL/quux_at_3
>
> MM ^/foo/modified_file
> M ^/foo/modified_dir
> M
> ]]]
>
> (I've got no particular opinion on any of the suggestions, just pointing out
> additional possibilities.)

Interesting, I didn't know this existed. It shows the path relative to the
repository root?

This raises the question, though, of which side to show the path. The old or
the new path? I guess style 2) above is most clear about the paths being
relative to *both* of the supplied URLs...

The general opinion so far tends towards 2) above.

Thanks everyone.
~Neels

-- 
Neels Hofmeyr -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23458696  mobile: +49 177 2345869  fax: +49 30 23458695
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelsreg: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194

Received on 2008-10-19 03:48:38 CEST

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.