rpms/cvs/devel cvs-1.11.21-diff.patch,NONE,1.1 cvs.spec,1.38,1.39
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Dec 15 14:32:13 UTC 2005
- Previous message (by thread): rpms/mysql/devel my_config.h,1.1,1.2 mysql.spec,1.66,1.67
- Next message (by thread): rpms/gnome-volume-manager/devel .cvsignore, 1.13, 1.14 gnome-volume-manager.spec, 1.24, 1.25 sources, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: stransky
Update of /cvs/dist/rpms/cvs/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv16400
Modified Files:
cvs.spec
Added Files:
cvs-1.11.21-diff.patch
Log Message:
fix for cvs diff with two -r switches (#18161)
cvs-1.11.21-diff.patch:
diff.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
--- NEW FILE cvs-1.11.21-diff.patch ---
--- cvs-1.11.21/src/diff.c.old 2005-05-27 19:17:03.000000000 +0200
+++ cvs-1.11.21/src/diff.c 2005-12-15 15:22:05.000000000 +0100
@@ -955,14 +955,16 @@
/* The first revision does not exist. If EMPTY_FILES is
true, treat this as an added file. Otherwise, warn
about the missing tag. */
- if( use_rev2 == NULL || RCS_isdead( vers->srcfile, use_rev2 ) )
+ if( use_rev2 == NULL || RCS_isdead( vers->srcfile, use_rev2 ) ) {
/* At least in the case where DIFF_REV1 and DIFF_REV2
* are both numeric (and non-existant (NULL), as opposed to
* dead?), we should be returning some kind of error (see
* basicb-8a0 in testsuite). The symbolic case may be more
* complicated.
*/
- return DIFF_SAME;
+ error (0, 0, "no revision in file %s or missing file %s", finfo->fullname, finfo->fullname);
+ return DIFF_ERROR;
+ }
if( empty_files )
return DIFF_ADDED;
if( use_rev1 != NULL )
Index: cvs.spec
===================================================================
RCS file: /cvs/dist/rpms/cvs/devel/cvs.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- cvs.spec 14 Dec 2005 15:45:08 -0000 1.38
+++ cvs.spec 15 Dec 2005 14:32:11 -0000 1.39
@@ -24,6 +24,7 @@
Patch9: cvs-1.11.19-comp.patch
Patch11: cvs-1.11.19-tmp.patch
Patch12: cvs-1.11.21-pam.patch
+Patch13: cvs-1.11.21-diff.patch
Prereq: /sbin/install-info
Requires: vim-minimal
Prefix: %{_prefix}
@@ -67,6 +68,8 @@
%patch12 -p1 -b .pam
%endif
+%patch13 -p1 -b .diff
+
# Apply a patch to the generated files, OR
# run autoreconf and require autoconf >= 2.58, automake >= 1.7.9
#%patch5 -p1 -b .extzlib2
@@ -135,6 +138,7 @@
%changelog
* Wed Dec 14 2005 Martin Stransky <stransky at redhat.com> 1.11.21-2
+- fix for cvs diff with two -r switches (#18161)
- pam patch (#48937)
- CVS_RSH is set to ssh (#58699)
- Previous message (by thread): rpms/mysql/devel my_config.h,1.1,1.2 mysql.spec,1.66,1.67
- Next message (by thread): rpms/gnome-volume-manager/devel .cvsignore, 1.13, 1.14 gnome-volume-manager.spec, 1.24, 1.25 sources, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list