rpms/cvs/F-9 cvs-1.11.22-diff-rm-try2.patch,NONE,1.1

Jiří Moskovčák (jmoskovc) fedora-extras-commits at redhat.com
Fri Jun 6 09:35:46 UTC 2008


Author: jmoskovc

Update of /cvs/extras/rpms/cvs/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8667

Added Files:
	cvs-1.11.22-diff-rm-try2.patch 
Log Message:
Forgot to commit new patch to cvs.


cvs-1.11.22-diff-rm-try2.patch:

--- NEW FILE cvs-1.11.22-diff-rm-try2.patch ---
--- cvs-1.11.22/src/rcs.c	2008-05-28 16:11:44.000000000 +0200
+++ cvs-1.11.22/src/rcs.c.old	2008-05-28 16:11:55.000000000 +0200
@@ -5750,6 +5750,11 @@
 
 	if (rev2 != NULL)
 	{
+      //We sholdn't ask for '-' rev, but we do if we locally remove file and then ask for -r BASE
+        if(rev1[0] == '-')
+            rev1++;
+        if(rev2[0] == '-')
+            rev2++;
 	    /* Open & cache rev1 */
 	    tmpfile = cvs_temp_name();
 	    if (RCS_checkout (rcs, NULL, rev1, NULL, options, tmpfile,




More information about the fedora-extras-commits mailing list