diff options
author | 2008-02-09 17:52:32 +0000 | |
---|---|---|
committer | 2008-02-09 17:52:32 +0000 | |
commit | fb3b53c7ef1a1912558a76fb585cf15ff42089cf (patch) | |
tree | 6c5ba987efde80e182a0a096923da12ade6d6653 | |
parent | Support for checkout -D extended: (diff) | |
download | wireguard-openbsd-fb3b53c7ef1a1912558a76fb585cf15ff42089cf.tar.xz wireguard-openbsd-fb3b53c7ef1a1912558a76fb585cf15ff42089cf.zip |
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.c | 4 |
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); } |