You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Joel N. Weber II" <jw...@joelweber.com> on 2011/05/09 00:11:30 UTC

svn log --diff --depth=empty

The --diff option expected to be added to svn log in svn 1.7 looks
useful.

Would it be possible for svn log --diff to accept the same --depth
argument that svn diff does?  An svn client I built from trunk last
week does not recognize --depth in conjuction with svn log --diff


Re: svn log --diff --depth=empty

Posted by Stefan Sperling <st...@elego.de>.
On Sun, May 15, 2011 at 08:45:15PM -0400, Joel N. Weber II wrote:
> > > Would it be possible for svn log --diff to accept the same --depth
> > > argument that svn diff does?  An svn client I built from trunk last
> > > week does not recognize --depth in conjuction with svn log --diff
> > 
> > It now does as of r1100830. Let me know if it works as expected.
> > Thanks for the suggestion!
> 
> Thanks, this does work the way I expected.

Great :)

> The svn help log output includes the following fragment; it might be
> good for the --depth help text to explicitly explain that it only
> affects --diff output, and requires the --diff option, and it might be
> best to list --depth after --diff.
> 
>   --depth ARG              : limit operation by depth ARG ('empty', 'files',
>                              'immediates', or 'infinity')
>   --diff                   : produce diff output
>   --diff-cmd ARG           : use ARG as diff command

The order of the list cannot be changed since option descriptions are
global for all subcommands and are ordered the same way everywhere.
I will add a note to the help text for svn diff though. Thanks!

Re: svn log --diff --depth=empty

Posted by "Joel N. Weber II" <jw...@joelweber.com>.
> > Would it be possible for svn log --diff to accept the same --depth
> > argument that svn diff does?  An svn client I built from trunk last
> > week does not recognize --depth in conjuction with svn log --diff
> 
> It now does as of r1100830. Let me know if it works as expected.
> Thanks for the suggestion!

Thanks, this does work the way I expected.

The svn help log output includes the following fragment; it might be
good for the --depth help text to explicitly explain that it only
affects --diff output, and requires the --diff option, and it might be
best to list --depth after --diff.

  --depth ARG              : limit operation by depth ARG ('empty', 'files',
                             'immediates', or 'infinity')
  --diff                   : produce diff output
  --diff-cmd ARG           : use ARG as diff command

Re: svn log --diff --depth=empty

Posted by Stefan Sperling <st...@elego.de>.
On Sun, May 08, 2011 at 06:11:30PM -0400, Joel N. Weber II wrote:
> The --diff option expected to be added to svn log in svn 1.7 looks
> useful.
> 
> Would it be possible for svn log --diff to accept the same --depth
> argument that svn diff does?  An svn client I built from trunk last
> week does not recognize --depth in conjuction with svn log --diff

It now does as of r1100830. Let me know if it works as expected.
Thanks for the suggestion!