From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58525: 28.1: `vc-dir' (key sequence: C-x v d) fails when used with a CVS repository Date: Mon, 17 Oct 2022 19:34:53 +0300 Message-ID: <83pmeq1k9e.fsf@gnu.org> References: <2011444375.1250404.1665768998367.ref@mail.yahoo.com> <2011444375.1250404.1665768998367@mail.yahoo.com> <83wn926yqv.fsf@gnu.org> <1786309111.1655909.1665958001583@mail.yahoo.com> <837d0z3rwh.fsf@gnu.org> <9490cc5d-5d0f-4ef6-d00b-0629853aaa22@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16111"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58525@debbugs.gnu.org, idirectscm@aim.com To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 17 18:36:27 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1okT6I-00042Q-LQ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 18:36:26 +0200 Original-Received: from localhost ([::1]:49434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okT6H-0004Vy-AI for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 12:36:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okT5w-0004UV-Db for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 12:36:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okT5u-0000n1-6V for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 12:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okT5u-0005dH-2m for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 12:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2022 16:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58525 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 58525-submit@debbugs.gnu.org id=B58525.166602451921594 (code B ref 58525); Mon, 17 Oct 2022 16:36:02 +0000 Original-Received: (at 58525) by debbugs.gnu.org; 17 Oct 2022 16:35:19 +0000 Original-Received: from localhost ([127.0.0.1]:49744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okT5C-0005cC-Kb for submit@debbugs.gnu.org; Mon, 17 Oct 2022 12:35:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okT55-0005be-Gf for 58525@debbugs.gnu.org; Mon, 17 Oct 2022 12:35:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44300) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okT50-0000ZS-28; Mon, 17 Oct 2022 12:35:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+0frybRNVfa+aRXlQh+o1zkD5akKbGcGRETSoYi27O4=; b=DBx93uGQLChE bFxSQoQTuIGxd+W1fi4w+3Wu9DQeZnc7cVe/gOZagCwm9P0nkwP0AZSATqCaAcc7Nlljfx650Xqjk jrDQTvzIAl29PNLeNhEvemWiqeCQtG7E38I92zPeJIxoBmMQQgFz/ClQX5t0F6PYmvq1Mr1TaLEJE URFEshiAWPzFpcrbVxndZ8ippcicoHVu+ZqIBgM972pQ/gjSzJ96E+3FdHRAWCI7EpuBTKeDqcDQD lPbVUgRcoOHGV1ODinMZ6hp2e8CVNNwdiFv1SDuGIN+dG5uXGGZFj/b+SbmgUwpY5sll4rmK/obkN hXb+8qi4It1VoItWZ4epsA==; Original-Received: from [87.69.77.57] (port=4490 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okT4z-0003he-3h; Mon, 17 Oct 2022 12:35:05 -0400 In-Reply-To: <9490cc5d-5d0f-4ef6-d00b-0629853aaa22@yandex.ru> (message from Dmitry Gutov on Mon, 17 Oct 2022 16:00:25 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245744 Archived-At: > Date: Mon, 17 Oct 2022 16:00:25 +0300 > Cc: 58525@debbugs.gnu.org > From: Dmitry Gutov > > On 17.10.2022 09:06, Eli Zaretskii wrote: > > AFAIK, the VC's support for CVS is based on detecting the CVS > > subdirectory of a directory where you invoke vc-dir. If that > > subdirectory is not found, VC will assume the backend is not CVS. In > > which case your assumptions seem to be mistaken. > > > > But I will let VC expert to chime in here, because I may be wrong or > > confused. > > Here's the basic logic: > > (defun vc-cvs-registered (f) > "Return non-nil if file F is registered with CVS." > (when (file-readable-p (expand-file-name > "CVS/Entries" (file-name-directory f))) > ... Thanks. So after performing the steps in the original report, I do have ~/tmp3/project1/CVS/Entries here.