Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2005 13:26:56 -0700
From:      Jack Cummings <jack@mudshark.org>
To:        freebsd-questions@FreeBSD.org
Subject:   Applying a patch against an empty file fails. 
Message-ID:  <20050914202656.GI19766@ice.mudshark.org>

next in thread | raw e-mail | index | archive | help

--boAH8PqvUi1v1f55
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Hello,=20

I'm tracking down a failure in the monotone (venge.net/monotone) testsuite
under FreeBSD 5.4.=20

Applying the patch:

--snip--
#=20
# old_revision [2d5e7ffab45a186a70d824a723da014b9cae9506]
#=20
# patch "foo"
#  from [83f5a5c359f3dc8317519240e32f1f51f68bc051]
#    to [da39a3ee5e6b4b0d3255bfef95601890afd80709]
#=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- foo 83f5a5c359f3dc8317519240e32f1f51f68bc051
+++ foo da39a3ee5e6b4b0d3255bfef95601890afd80709
@@ -1,2 +0,0 @@
-1
-2
--snip--

using 'patch -p0 -R < monodiff' to an empty file 'foo' fails.=20

--Jack=20

--
Jack (John) Cummings                           http://mudshark.org/
PGP fingerprint: 0774 D073 E386 B70B 6B16  2D2B 1DD8 F8B0 CCF0 FAEE
Now playing on Prime:    The Answer -- Incubus
Now playing on Remedial: Lie in Our Graves -- Dave Matthews Band

--boAH8PqvUi1v1f55
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFDKIeQHdj4sMzw+u4RAglkAJ94NeUmmNBLgqfF8SMzPoWeGj2ZNwCfZ2WT
1KfKmBIDkJOyhJ5w2DHmnMQ=
=wi/+
-----END PGP SIGNATURE-----

--boAH8PqvUi1v1f55--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050914202656.GI19766>