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

Re: [Issue 2233] Show only changes of copied files in "svnlook diff"

From: <kfogel_at_collab.net>
Date: 2005-05-20 17:47:31 CEST

"Peter N. Lundblad" <peter@famlundblad.se> writes:
> Does anyone have any objections to the followining proposal? It's quite
> simple, but it does change the output of svnlook. I think that's
> acceptable, since the current output is buggy.
>
> > http://subversion.tigris.org/issues/show_bug.cgi?id=2233
> >
> > To summarize the current situation:
> >
> > svnlook diff will show no diffs for added or copied files without
> > modifications. For copied files with modifications it will show
> > diffs against the empty file, but with headers indicating the diff
> > is against the copyfrom file. This is what the original reporter
> > describes above. svnlook --no-diff-added will show no diffs for
> > added or copied files whatsoever.
> >
> > Unless objections are raised, I am changing this to the following:
> >
> > svnlook diff always shows diffs for added files against the empty file,
> > and with headers consistent with svn diff, i.e.
> > --- a (revision 0)
> > --- a (revision 147)
> > This is consistent with svn diff (except when diffing against a wc).
> >
> >
> > svnlook diff --no-diff-added will no show diffs for added or copied files
> > without modifications, BUT, for copied files with modifications,
> > it will show diffs against the copy source, with headers
> > indicating that. The reasoning behind this is that what you don't
> > want when you say --no-diff-added is the full file contents. OTOH,
> > you still may want to know about file modifications.

It looks like then there is no way to get this behavior:

   * Diffs of purely added files being against the empty file.
   * Diffs of copy+modified files being against the copy source.

Don't we want that?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 20 18:25:29 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.