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

Re: Command-line output changes in 1.3

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-10-12 22:23:19 CEST

On Wed, 12 Oct 2005, Julian Foad wrote:

> Peter N. Lundblad wrote:
> >
> >>Have there been any command-line output changes in 1.3 (since 1.2
> >
> > We have r14855, which fixes issue #2233.
>
> Note that it doesn't do quite what Peter's plan in the issue says; that
> confused me for a while.
>
It was discussed on the list after I annotated the issue while grabbing
it. I'm not very good at putting links to further discussions into the
tracker:-(

> This is relevant to the present discussion about what "svn diff" ought to be
> doing <http://svn.haxx.se/dev/archive-2005-10/0359.shtml>. We should consider
> whether the same interface and functionality is wanted for "svn diff".
>
Yes, thats why I pointed it out in that thread somewhere:-)
>
> > It makes svnlook print always diffs for added files by default.
>
> That is, without any flags, it makes "svnlook diff" print an
> all-lines-added diff for an added or copied (added with history) file.
> Previously, it had been inconsistent.
>
>
> > It also adds --diff-copy-from to print diffs against copyfrom source instead
> > of the empty stream.
>
Yep.

> I assume that for a copied but unmodified file this will print a header
> indicating that it is copied, but obviously no diff of the contents.
>
Yep.

> I think we need a bit more documentation than the current "--help" output:
>
> > diff: usage: svnlook diff REPOS_PATH
> >
> > Print GNU-style diffs of changed files and properties.
> >
> > [...]
> > --no-diff-deleted : do not print differences for deleted files
> > --no-diff-added : do not print differences for added files
> > --diff-copy-from : print differences against the copy source
>
Most svnlook help strings are a bit terse, so yes, I agree. But a detailed
description might be better off in the book or something.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 12 22:25:46 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.