summaryrefslogtreecommitdiff
path: root/cvsps/01_ignoretrunk.patch
blob: 2f58ddbf0a42e1a220bfb623e088e209cf6d2887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
     }