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

Re: svn diff bug !?!?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-09-27 14:39:55 CEST

Michael Wood <mwood@its.uct.ac.za> writes:

> I get the tmp.XXXX.XXX things too, but my patch does the right thing
> anyway. This is on FreeBSD 4.6.x, where patch --version says:
> Patch version 2.1
>
> and also on Debian Woody, where patch --version says:
> patch 2.5.4
> Copyright 1984-1988 Larry Wall

Daniele's reproduction recipe doesn't strike me as anything new or
special; he's just running 'svn diff' when there's a file scheduled
for addition. We do this all the time, and the 'patch' program never
has problems understanding the output.

I'm under the impression that modern patch programs simply pay
attention to the "Index:" line. The extra 2 filenamse below the index
line are just metadata that's normally ignored.

I think the problem here is that he's got some very old (or very
strange) version of 'patch'. Daniele, what you can tell us about it?

(That's not to say that we *shouldn't* be using two real metadata
filenames in our output -- it would certainly look nicer. But didn't
we have a problem getting 'diff' to put arbitrary name labels into its
output?)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 27 14:42:25 2002

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.