[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: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2002-09-27 11:25:35 CEST

On Thu, Sep 26, 2002 at 10:58:20PM +0200, Daniele Nicolodi wrote:
> I thing that the current svn diff output is broken if it is intended
> to be patch compliant. If you add a file to the repo and then try to
> obtain a patch to replicate that modify in an another working copy you
> get a broken patch file.
>
> Reproducing that is quite simple:
>
[snip]
> If you look at the patch you can see that file names inside id aren't
> translated correctly int working copy file names but they are
> something like "tmp.XXXX.XXX".
[snip]

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
Copyright 1989-1999 Free Software Foundation, Inc.

This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

written by Larry Wall and Paul Eggert

The patch file looks like this:
Index: test
===================================================================
--- test
+++ tmp.27952.00001 Fri Sep 27 11:20:00 2002
@@ -0,0 +1 @@
+test

svn --version on the FreeBSD box:
Subversion Client, version 0.14.3 (dev build)
   compiled Sep 24 2002, 00:15:35
[...]

And on the Linux box:
Subversion Client, version 0.14.2 (dev build)
   compiled Sep 10 2002, 16:00:18
[...]

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 27 11:26:28 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.