summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2008-02-09 17:52:33 +0000
committerJoris Vink <joris@cvs.openbsd.org>2008-02-09 17:52:33 +0000
commit467aa195178984bd1c7abca6e9b8c6b1495eca21 (patch)
tree0c38a5de3aca0e6430a501f21e90f416969012f2
parent5f9c473e450434cf7642f1ca681191738b7aec98 (diff)
in cvs_update_enterdir() write the CVS/Tag file if the
cvs_specified_date is != 0 as well;
-rw-r--r--usr.bin/cvs/update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c
index 19559cdcead..02a2f6d1eb5 100644
--- a/usr.bin/cvs/update.c
+++ b/usr.bin/cvs/update.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: update.c,v 1.127 2008/02/09 17:01:43 tobias Exp $ */
+/* $OpenBSD: update.c,v 1.128 2008/02/09 17:52:32 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -204,7 +204,7 @@ cvs_update_enterdir(struct cvs_file *cf)
cf->file_path, CVS_PATH_TAG);
(void)unlink(fpath);
} else {
- if (cvs_specified_tag != NULL)
+ if (cvs_specified_tag != NULL || cvs_specified_date != 0)
cvs_write_tagfile(cf->file_path,
cvs_specified_tag, NULL);
}