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