diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2007-09-07 23:59:02 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2007-09-07 23:59:02 +0000 |
commit | ca5b2e60de9d4f1bcaa031d842998b6f4cd5a3f6 (patch) | |
tree | ae1c2f88d44ec43848d28254de1d70f5444c48ac /usr.bin/cvs/update.c | |
parent | ce6a8ef113e868a0659d9c7027674e04cdf40533 (diff) |
Properly send out rcs info header with "E " in server mode (stderr in
local mode). Format style change also enables opencvs to be used with
cvsweb (+ adjustment).
OK joris@
Diffstat (limited to 'usr.bin/cvs/update.c')
-rw-r--r-- | usr.bin/cvs/update.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c index 0897f6f78ce..db0b10427ad 100644 --- a/usr.bin/cvs/update.c +++ b/usr.bin/cvs/update.c @@ -1,4 +1,4 @@ -/* $OpenBSD: update.c,v 1.108 2007/09/07 23:05:04 joris Exp $ */ +/* $OpenBSD: update.c,v 1.109 2007/09/07 23:59:01 tobias Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -321,10 +321,13 @@ cvs_update_local(struct cvs_file *cf) if (print_stdout && cf->file_status != FILE_UNKNOWN) { rcsnum_tostr(cf->file_rcsrev, rbuf, sizeof(rbuf)); - if (verbosity > 1) - cvs_printf("%s\nChecking out %s\n" - "RCS:\t%s\nVERS:\t%s\n***************\n", - RCS_DIFF_DIV, cf->file_path, cf->file_rpath, rbuf); + if (verbosity > 1) { + cvs_log(LP_RCS, RCS_DIFF_DIV); + cvs_log(LP_RCS, "Checking out %s", cf->file_path); + cvs_log(LP_RCS, "RCS: %s", cf->file_rpath); + cvs_log(LP_RCS, "VERS: %s", rbuf); + cvs_log(LP_RCS, "***************"); + } cvs_checkout_file(cf, cf->file_rcsrev, CO_DUMP); return; } |