From 7cffd7e4aa84e89ded922aaf94b707e0bf49a362 Mon Sep 17 00:00:00 2001 From: joris Date: Thu, 28 Jun 2007 17:45:49 +0000 Subject: When commiting to a server in a remote setup classify the files based upon their entry in CVS/Entries instead of using the local classifying code and trying to locate the RCSfile on our local disks, which ofc does not work correctly. OK niallo@ --- usr.bin/cvs/commit.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'usr.bin/cvs/commit.c') diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index 2d686047b7a..afa9c6ed9a0 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.107 2007/06/18 17:54:13 joris Exp $ */ +/* $OpenBSD: commit.c,v 1.108 2007/06/28 17:45:49 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * Copyright (c) 2006 Xavier Santolaria @@ -153,7 +153,10 @@ cvs_commit_check_files(struct cvs_file *cf) { cvs_log(LP_TRACE, "cvs_commit_check_files(%s)", cf->file_path); - cvs_file_classify(cf, NULL); + if (current_cvsroot->cr_method != CVS_METHOD_LOCAL) + cvs_remote_classify_file(cf); + else + cvs_file_classify(cf, NULL); if (cf->file_type == CVS_DIR) { if (verbosity > 1) -- cgit v1.2.3-59-g8ed1b