[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: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-10-12 21:31:26 CEST

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.

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".

> 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.

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.

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

- Julian

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