File: 01_ignoretrunk.patch

package info (click to toggle)
cvsps 2.1-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 620 kB
  • sloc: ansic: 4,724; makefile: 60; sh: 26
file content (16 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (4)
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);
     }