summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/trigger.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/trigger.c')
-rw-r--r--usr.bin/cvs/trigger.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/cvs/trigger.c b/usr.bin/cvs/trigger.c
index a45e8ac7d86..4040e351869 100644
--- a/usr.bin/cvs/trigger.c
+++ b/usr.bin/cvs/trigger.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trigger.c,v 1.7 2008/06/10 03:55:50 joris Exp $ */
+/* $OpenBSD: trigger.c,v 1.8 2008/06/10 04:01:41 joris Exp $ */
/*
* Copyright (c) 2008 Tobias Stoeckmann <tobias@openbsd.org>
* Copyright (c) 2008 Jonathan Armani <dbd@asystant.net>
@@ -89,6 +89,14 @@ expand_args(BUF *buf, struct file_info_list *file_info, const char *repo,
return (0);
}
+ if (cvs_cmdop == CVS_OP_IMPORT) {
+ cvs_buf_append(buf, "- Imported sources",
+ strlen("- Imported sources"));
+ if (quote)
+ cvs_buf_putc(buf, '"');
+ return (0);
+ }
+
for (;;) {
for (p = format; *p != '\0';) {
val = NULL;