]> git.pld-linux.org Git - packages/cvs.git/blob - cvs-debian-extra-tags.patch
- patches from debian
[packages/cvs.git] / cvs-debian-extra-tags.patch
1 --- cvs-1.12.13.orig/debian/patches/56_extra_tags
2 +++ cvs-1.12.13/debian/patches/56_extra_tags
3 @@ -0,0 +1,29 @@
4 +#
5 +# Add extra tag keyword expansion options
6 +#
7 +# Patch by Steve McIntyre <steve@einval.com>
8 +diff -ruN cvs-1.12.13-old/src/logmsg.c cvs-1.12.13/src/logmsg.c
9 +--- cvs-1.12.13-old/src/logmsg.c       2006-02-26 22:54:52.000000000 +0800
10 ++++ cvs-1.12.13/src/logmsg.c   2006-02-26 22:56:36.000000000 +0800
11 +@@ -642,7 +642,11 @@
12 +               break;
13 +           case 'T':
14 +               li = p->data;
15 +-              arg = li->tag ? li->tag : "";
16 ++              arg = li->tag ? li->tag : "TRUNK";
17 ++              break;
18 ++          case 'S':
19 ++              arg = xmalloc(strlen(p->key) + 5);
20 ++              sprintf(arg, "\\\"%s\\\"", p->key);
21 +               break;
22 +           case 'V':
23 +               li = p->data;
24 +@@ -814,7 +818,7 @@
25 + #endif /* SERVER_SUPPORT */
26 +                             "p", "s", srepos,
27 +                             "r", "s", current_parsed_root->directory,
28 +-                            "sVv", ",", changes,
29 ++                            "SsTVv", ",", changes,
30 +                             logmsg_list_to_args_proc, (void *) NULL,
31 +                             (char *) NULL);
32 +     if (!cmdline || !strlen (cmdline))
This page took 0.041044 seconds and 4 git commands to generate.