cvsps (2.1-6) 01_ignoretrunk.patch

Summary

 cvsps.c |    5 +++++
 1 file changed, 5 insertions(+)

    
download this patch

Patch contents

Author: <crafterm@debian.org>
Description: Ignore TRUNK branch name patch
--- a/cvsps.c
+++ b/cvsps.c
@@ -2104,6 +2104,11 @@
     
     if (!get_branch_ext(rev, eot, &leaf))
     {
+	if (strcmp(tag, "TRUNK") == 0)
+	{
+	    debug(DEBUG_STATUS, "ignoring the TRUNK branch/tag");
+	    return;
+	}
 	debug(DEBUG_APPERROR, "malformed revision");
 	exit(1);
     }