From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?G=C3=B6ktu=C4=9F?= Kayaalp Newsgroups: gmane.emacs.bugs Subject: bug#24082: 25.1; vc-dir for CVS repositories list all files as if from toplevel directory Date: Sun, 09 Oct 2016 15:18:42 +0300 Message-ID: <87wphh67h9.fsf@xi.bootis> References: <874m7crwv4.fsf@xi.bootis> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1476014735 25441 195.159.176.226 (9 Oct 2016 12:05:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Oct 2016 12:05:35 +0000 (UTC) Cc: 24082@debbugs.gnu.org, jca@wxcvbn.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 09 14:05:30 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btCqw-000423-Go for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Oct 2016 14:05:14 +0200 Original-Received: from localhost ([::1]:44309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btCqu-00052z-SM for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Oct 2016 08:05:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btCqo-00051Y-9R for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 08:05:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btCqj-0005oN-TC for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 08:05:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btCqj-0005oE-QB for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 08:05:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1btCqj-0006lS-J3 for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 08:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?G=C3=B6ktu=C4=9F?= Kayaalp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Oct 2016 12:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24082 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 24082-submit@debbugs.gnu.org id=B24082.147601469225981 (code B ref 24082); Sun, 09 Oct 2016 12:05:01 +0000 Original-Received: (at 24082) by debbugs.gnu.org; 9 Oct 2016 12:04:52 +0000 Original-Received: from localhost ([127.0.0.1]:49388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btCqa-0006kz-5V for submit@debbugs.gnu.org; Sun, 09 Oct 2016 08:04:52 -0400 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:54149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btCqY-0006kr-GO for 24082@debbugs.gnu.org; Sun, 09 Oct 2016 08:04:51 -0400 Original-Received: from mfilter21-d.gandi.net (mfilter21-d.gandi.net [217.70.178.149]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 641DA172098; Sun, 9 Oct 2016 14:04:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter21-d.gandi.net Original-Received: from relay4-d.mail.gandi.net ([IPv6:::ffff:217.70.183.196]) by mfilter21-d.gandi.net (mfilter21-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id PaRN1q1ZlPOi; Sun, 9 Oct 2016 14:04:47 +0200 (CEST) X-Originating-IP: 88.235.171.29 Original-Received: from localhost (unknown [88.235.171.29]) (Authenticated sender: self@gkayaalp.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 06D97172094; Sun, 9 Oct 2016 14:04:46 +0200 (CEST) In-Reply-To: <7ebca0e9-bb76-8329-7848-0d1ec0016176@yandex.ru> (message from Dmitry Gutov on Sat, 8 Oct 2016 23:06:10 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124266 Archived-At: On 2016-10-08 11:06:10 PM +0300, Dmitry Gutov wrote: > On 08.10.2016 18:13, J=C3=A9r=C3=A9mie Courr=C3=A8ges-Anglas wrote: >> Oops, sorry. Yes indeed, I only replaced `files' with `dir'. > OK, good. Any obvious problems with that solution? [...] Does not show unregistered files at all, so need to add them from shell. In fact, =E2=80=98cvs status=E2=80=99 command itself does not know anything= about unregistered files at all, it only deals with registered files. >> [... G=C3=B6ktu=C4=9F's patch works] fine, there are some differences. > > That's too bad. I've tried the patch myself, and I didn't see those,=20 > neither [...] > Might there be something special with the repo you're trying it on?=20 I've been using the patch since I submitted it, first on 25.1 release candidates and then on 25.1 release itself, and have not encountered any of these problems. And most of my source-controlled stuff is in CVS. I'd say the local configuration or the patch application may have caused this problems. I'd be glad if J=C3=A9r=C3=A9mie Courr=C3=A8ges-Anglas could post output fr= om =E2=80=98cvs -fnq update=E2=80=99 in that checkout, I could maybe use it to understand the situation (BTW the =E2=80=98cvs -fn update -dP=E2=80=99 command I gave as a= n example in my previous message was mistaken, I took it from the =E2=80=98-=E2=80=99 li= nes of the patch, sorry). >> So the patched version shows unregistered files and directories, which >> is good, but has formatting artifacts (`.//' above). Also, pressing `= =3D' >> on `.//emacs-wip', I get the following in *Messages*: >> >> ... >> Traversing directory /usr/ports/editors/...done >> Finding changes in /usr/ports/editors/emacs-wip... >> vc-find-backend-function: Cannot open load file: No such file or directo= ry, vc-nil >> >> even though the directory contains a CVS dir, and cvs(1) works fine in >> it. I don't think it's a big problem though. > > Agree, that doesn't sound like too big of a problem. > > And seeing unregistered files is pretty much working as intended. Alas,=20 > I see them in both versions of the code (the one using `dir', and the=20 > one using 'cvs update'). I don't see unregistered files with the dir version. > Any ideas why you're seeing differently? Do you have a non-default value= =20 > of vc-cvs-stay-local, maybe? If he's using the port from the repo in his message, the =E2=80=98lisp/vc/v= c.el=E2=80=99 file seems to be patched and that may be conflicting. If possible, I ask J=C3=A9r=C3=A9mie to test my patch on master or 25.1 release without al= l those other patches, (applying it on package root w/ =E2=80=98patch -p 0=E2=80=99= ), and running emacs w/ -Q flag. Also, =E2=80=98vc-cvs-stay-local=E2=80=99 does not cause any problem, I jus= t set it to =E2=80=98.*=E2=80=99 and tested, the output is as expected for me: ,---- | VC backend : CVS | Working dir: /tmp/emacs.d/ | Repository : /igk/cvsroot | Module : emacs.d |=20 |=20 | ./ | site/ | unregistered site/test.el `---- --=20 =C4=B0. G=C3=B6ktu=C4=9F Kayaalp. http://gkayaalp.com/