diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/update.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c index f8ba7d8d61a..07790449cbc 100644 --- a/usr.bin/cvs/update.c +++ b/usr.bin/cvs/update.c @@ -1,4 +1,4 @@ -/* $OpenBSD: update.c,v 1.139 2008/03/09 01:02:38 tobias Exp $ */ +/* $OpenBSD: update.c,v 1.140 2008/03/09 13:01:22 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -197,6 +197,9 @@ cvs_update_enterdir(struct cvs_file *cf) fatal("cvs_update_enterdir: `%s': %s", cf->file_path, strerror(errno)); + if (cvs_server_active == 1 && cvs_cmdop != CVS_OP_CHECKOUT) + cvs_server_clear_sticky(cf->file_path); + if (cvs_cmdop != CVS_OP_EXPORT) { (void)xasprintf(&entry, "D/%s////", cf->file_name); |