From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov 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 16:00:25 +0300 Message-ID: <9490cc5d-5d0f-4ef6-d00b-0629853aaa22@yandex.ru> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33291"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Cc: 58525@debbugs.gnu.org To: Eli Zaretskii , Mark Harig Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 17 15:01:50 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 1okPkb-0008X9-Oe for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 15:01:49 +0200 Original-Received: from localhost ([::1]:41904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okPka-0002va-QW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 09:01:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okPjq-0002pp-KF for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 09:01:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okPjq-0006IR-83 for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 09:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okPjq-0007vU-2e for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 09:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2022 13:01: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.166601163630424 (code B ref 58525); Mon, 17 Oct 2022 13:01:02 +0000 Original-Received: (at 58525) by debbugs.gnu.org; 17 Oct 2022 13:00:36 +0000 Original-Received: from localhost ([127.0.0.1]:47772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okPjP-0007ud-UO for submit@debbugs.gnu.org; Mon, 17 Oct 2022 09:00:36 -0400 Original-Received: from mail-wr1-f44.google.com ([209.85.221.44]:36430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okPjN-0007uF-PY for 58525@debbugs.gnu.org; Mon, 17 Oct 2022 09:00:34 -0400 Original-Received: by mail-wr1-f44.google.com with SMTP id j7so18349842wrr.3 for <58525@debbugs.gnu.org>; Mon, 17 Oct 2022 06:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=IioW+aDOREHaGt+bbS1yNKKPAOhVbYyOq6SZzZduuRk=; b=RaASRMHaWUnWb0rEQQNcII/oxvBPvPGFZ/El7zpF9K3WqhqUpgRf0xONUYzVK8Bu3u 5N23Plg9D/2/hutCBUAPClxQPcIgzyQfrrtcbDxxZG4jXYG975KcQq7NGcE4fWQ0Fnx7 3L63GaNyAnPUZx3/VCfjjqLsmdYKbDnJcmJVO5hxymcAHfTYxxWk2sVK0hxOsNv/dosl Wr9VvPIIeC0vMhcJ6fxslj32dg4QWbHRWLeZQhl7zYhdoANRLOyikic5kERIEXpoDbnJ 20e3M+JYMEoVGZ1sv/SUSxvwun4dj7mNY/nmGJNWg6/wPvWrq3wgZNCFGF7lK5/2kJ8h 0i2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IioW+aDOREHaGt+bbS1yNKKPAOhVbYyOq6SZzZduuRk=; b=0w/eREDI6dwo546GhsJ1kYbKQigTrhGzWIFAyH2gHvNBOYFg5EaAntLyXMhubbfye3 yi528pBWl3jxMFFuR7ifTQbo4oQTB9sUHvKCLFqM3MURQldqiz6Z2yD/5Yyawurf9E2r JYTvG/fLZzga/7utNqH8Q+GN/zUqf5qaVEuKZqZjpyyXCXRtqbQK7BEdvwHagcwF6nfj Rk4+AYH4iI800BpNELO5f+pVI3QBUIhg7G8fABwQt5rZQyupm3C8aqLrMrx3v7BSDBXN U1uAaAQm4DMdPrI+ku4iwAO+Dbk503tiEFdJsZI9ymo5Xh32rXsSQ4oIvTcIRPIY25N+ 2/xw== X-Gm-Message-State: ACrzQf1Zs21UroV0DrX+wo2AVfJ/b8jTd3mzhhjOpdLpAFesUyZnzCPb ekeOMK+9ETeoFRD1Qzs8CYc= X-Google-Smtp-Source: AMsMyM7RfJIODQzBC7ZVQ53DVsbhBvLMi+b2u3SNyV5mrO95RbeGwPPVSVLN2dGa8dmshe0ui8pSGw== X-Received: by 2002:adf:d228:0:b0:22e:488d:758f with SMTP id k8-20020adfd228000000b0022e488d758fmr5828284wrh.445.1666011627798; Mon, 17 Oct 2022 06:00:27 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id o39-20020a05600c512700b003b4ff30e566sm27797469wms.3.2022.10.17.06.00.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Oct 2022 06:00:27 -0700 (PDT) Content-Language: en-US In-Reply-To: <837d0z3rwh.fsf@gnu.org> 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:245731 Archived-At: 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))) ...