subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Lyalyakin <pavel.lyalya...@visualsvn.com>
Subject Re: svn command for diffstat
Date Thu, 14 Jul 2016 16:04:17 GMT
Hello Scott,

On Thu, Jul 14, 2016 at 6:29 PM, Scott Aron Bloom <scott@towel42.com> wrote:
>
> What is the best svn diff options to use to pipe into diffstat.
>
> Essentially, Im looking for the number of new lines, deleted lines and number of modified.
>
> My main problem is when a svn diff is performed on a directory copy, I don’t want those
files counted as “added”

What about `--no-diff-added`[1] or `--notice-ancestry`[2] options?
Have you tried them? I guess that `svn diff`[3] has the options that
should help producing the required diff output, but I can't point to
the best ones for diffstat tool.

[1]: http://svnbook.red-bean.com/en/1.8/svn.ref.svn.html#svn.ref.svn.sw.no_diff_added
[2]: http://svnbook.red-bean.com/en/1.8/svn.ref.svn.html#svn.ref.svn.sw.notice_ancestry
[3]: http://svnbook.red-bean.com/en/1.8/svn.ref.svn.c.diff.html

--
With best regards,
Pavel Lyalyakin
VisualSVN Team

Mime
View raw message