=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/update.c,v retrieving revision 1.175 retrieving revision 1.176 diff -c -r1.175 -r1.176 *** src/usr.bin/cvs/update.c 2017/05/29 17:18:56 1.175 --- src/usr.bin/cvs/update.c 2017/06/01 08:08:24 1.176 *************** *** 1,4 **** ! /* $OpenBSD: update.c,v 1.175 2017/05/29 17:18:56 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * --- 1,4 ---- ! /* $OpenBSD: update.c,v 1.176 2017/06/01 08:08:24 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * *************** *** 142,148 **** argc -= optind; argv += optind; ! if (current_cvsroot->cr_method == CVS_METHOD_LOCAL) { cr.enterdir = cvs_update_enterdir; cr.leavedir = prune_dirs ? cvs_update_leavedir : NULL; cr.fileproc = cvs_update_local; --- 142,148 ---- argc -= optind; argv += optind; ! if (cvsroot_is_local()) { cr.enterdir = cvs_update_enterdir; cr.leavedir = prune_dirs ? cvs_update_leavedir : NULL; cr.fileproc = cvs_update_local; *************** *** 180,186 **** else cvs_file_run(1, &arg, &cr); ! if (current_cvsroot->cr_method != CVS_METHOD_LOCAL) { cvs_client_send_files(argv, argc); cvs_client_senddir("."); cvs_client_send_request("update"); --- 180,186 ---- else cvs_file_run(1, &arg, &cr); ! if (cvsroot_is_remote()) { cvs_client_send_files(argv, argc); cvs_client_senddir("."); cvs_client_send_request("update");