diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2009-02-23 21:32:09 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2009-02-23 21:32:09 +0000 |
commit | d582c5bbe2db38d76ad80bab3374a05349a1be3e (patch) | |
tree | e96d4a8e2bfa03c0c0694590cdb0bdaf84423345 /usr.bin/cvs/util.c | |
parent | 32bbc74a8d7222739fd008bd216ab8446454d7f8 (diff) |
we no longer push out Set-sticky to the client when writing
our Tag file on the server or in cvs_mkpath(), this caused
problems for the "fast checkout" mechanism when a tag was supplied.
instead, write out any directory sticky tag when we are checking
out a file in that directory, this way we can use our "fast checkout"
mechanism (no /tmp required) even for -r and -d without breaking
working copies because they were missing CVS/Tag files.
"looks good" tobias@
Diffstat (limited to 'usr.bin/cvs/util.c')
-rw-r--r-- | usr.bin/cvs/util.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.bin/cvs/util.c b/usr.bin/cvs/util.c index ca3c7d88d0a..1aac6f567a5 100644 --- a/usr.bin/cvs/util.c +++ b/usr.bin/cvs/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.148 2009/02/21 13:39:59 joris Exp $ */ +/* $OpenBSD: util.c,v 1.149 2009/02/23 21:32:08 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * Copyright (c) 2005, 2006 Joris Vink <joris@openbsd.org> @@ -678,14 +678,6 @@ cvs_mkpath(const char *path, char *tag) if (p != NULL) *p = '/'; } - - if (cvs_server_active == 1 && strcmp(rpath, ".")) { - if (tag != NULL) { - (void)xsnprintf(sticky, sizeof(sticky), - "T%s", tag); - cvs_server_set_sticky(rpath, sticky); - } - } } xfree(dir); |