X-Loop: help-debbugs@HIDDEN Subject: bug#37310: 27.0.50; vc-revert: No such file or directory vc-nil Resent-From: Andrii Kolomoiets <andreyk.mad@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 05 Sep 2019 13:52:02 +0000 Resent-Message-ID: <handler.37310.B.156769148824210 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 37310 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 37310 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.156769148824210 (code B ref -1); Thu, 05 Sep 2019 13:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Sep 2019 13:51:28 +0000 Received: from localhost ([127.0.0.1]:34945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1i5sAa-0006IQ-5E for submit <at> debbugs.gnu.org; Thu, 05 Sep 2019 09:51:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:55780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <andreyk.mad@HIDDEN>) id 1i5sAX-0006II-Hu for submit <at> debbugs.gnu.org; Thu, 05 Sep 2019 09:51:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51212) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <andreyk.mad@HIDDEN>) id 1i5sAW-0008OV-8F for bug-gnu-emacs@HIDDEN; Thu, 05 Sep 2019 09:51:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, SPOOFED_FREEMAIL autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <andreyk.mad@HIDDEN>) id 1i5sAU-0007LM-BY for bug-gnu-emacs@HIDDEN; Thu, 05 Sep 2019 09:51:24 -0400 Received: from mail-lf1-x143.google.com ([2a00:1450:4864:20::143]:36863) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <andreyk.mad@HIDDEN>) id 1i5sAU-0007Ko-4B for bug-gnu-emacs@HIDDEN; Thu, 05 Sep 2019 09:51:22 -0400 Received: by mail-lf1-x143.google.com with SMTP id x80so2107799lff.3 for <bug-gnu-emacs@HIDDEN>; Thu, 05 Sep 2019 06:51:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=eyRjz4VvLXj1jEj09a7x5rIs1MCCpRuQmHIw7iNx4LM=; b=azj4baUHv76TxPspAXNNXZKTfbcf0WYN0DDzAUCfCCUAvPQEgPXT4XNCvOuCdKKWVW Kbhlmj+oCyjwZ7iTkcc10DXzSIxlrh7WgxzZ5AQj3lHXZhbzv8rY14lEUdCcfvwbgcDJ Bj4Pc/kjMoXXwhsfWvv0WaVU9WrwrqFLmHrm94w6sjrAUutkeo7hgkBfS2lLJX2jsgOz GtJu7xheKdYyfdnUULE6qqSdva4oaLYi1Rjf1iHob1faCNxSIkdYg1aUoFd9i1LVCdrw YtYDlBp+/m5udntLb0p76PBM8iJFItRi5Qjp3rfUWI2UbHwIjeUnfidMQcWksdff7lQu A1Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=eyRjz4VvLXj1jEj09a7x5rIs1MCCpRuQmHIw7iNx4LM=; b=nHo/l4OCCvEniN94SWm0hCEpmSi1StDfUWNxeEPvaw8hIKg2ycITUA0yLDOLeN9FPe JQqfQ0hGHx54IRJPVYemiPvZM4I31YLNv94OzHJ+ytJ0+wfrtLZtdjBB3jU1fINiirRd D7F6A02ZJqTLNXoV1xNv/HRj6P6Y6+7uuQDDVBjbVZD3vnB1iD+HxeShNHe+95eIuid/ n9u274gG3Vogh1+i6n/mNUL485Wr+ukb7uv1HUMiCVYb/p99pwjOSoC1gi7YWnfxF8Kp WlrrebM0vZeQIaUMQeMRdNWAku9HyFLhZVV1dbwx5ExVZAaa70Zk/gxJdquIbkNDxqid BO5g== X-Gm-Message-State: APjAAAVx3xip4pyMLye7l8wslgjeKEYsey57V9LARCNcZkWSeFWaaRQD ZmeSP9KfnxX53Ts1ZmUYKdJq68At X-Google-Smtp-Source: APXvYqzLD5Jl7lPdv+/zGt+1ivcI4pNPeeJNhl7y+lZPvkhB6/P6XRAn0qnlXoZGSlH1GpIhz4Jsjw== X-Received: by 2002:a19:ee02:: with SMTP id g2mr2455906lfb.113.1567691479365; Thu, 05 Sep 2019 06:51:19 -0700 (PDT) Received: from [10.1.1.105] (188-42-207-82.ip.ukrtel.net. [82.207.42.188]) by smtp.gmail.com with ESMTPSA id o10sm389953ljd.53.2019.09.05.06.51.18 for <bug-gnu-emacs@HIDDEN> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Sep 2019 06:51:18 -0700 (PDT) From: Andrii Kolomoiets <andreyk.mad@HIDDEN> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Message-Id: <C475AD6B-90F6-4E84-8CC4-392CE53961ED@HIDDEN> Date: Thu, 5 Sep 2019 16:51:17 +0300 X-Mailer: Apple Mail (2.3445.104.11) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::143 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) Steps to reproduce: 1. mkdir gittest && cd gittest 2. git init 3. echo "foo" > bar.txt 4. git add bar.txt 5. git commit -m "bar.txt added" 6. echo "baz" >> bar.txt 7. emacs -Q 8. C-x v d <RET> -- to open vc-dir for gittest directory 9. C-x v u 10. yes <RET> -- to confirm revert Debugger entered--Lisp error: (file-missing "Cannot open load file" "No = such file or directory" "vc-nil") require(vc-nil) vc-find-backend-function(nil make-version-backups-p) vc-call-backend(nil make-version-backups-p "/Users/mad/gittest/") vc-version-backup-file("/Users/mad/gittest/") vc-revert-file("/Users/mad/gittest/") vc-revert() funcall-interactively(vc-revert) call-interactively(vc-revert nil nil) command-execute(vc-revert) Changing 'git' to 'hg' in the steps to reproduce above leads to the same error. Same issue in Emacs 26.3. vc-backend returns nil for repository root dir. Maybe vc-registered should return t for root repository directory and all subdirs. Evaluating (vc-find-root "/Users/mad/gittest" ".git") returns "~/gittest/" but (vc-registered "/Users/mad/gittest") returns nil.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Andrii Kolomoiets <andreyk.mad@HIDDEN> Subject: bug#37310: Acknowledgement (27.0.50; vc-revert: No such file or directory vc-nil) Message-ID: <handler.37310.B.156769148824210.ack <at> debbugs.gnu.org> References: <C475AD6B-90F6-4E84-8CC4-392CE53961ED@HIDDEN> X-Gnu-PR-Message: ack 37310 X-Gnu-PR-Package: emacs Reply-To: 37310 <at> debbugs.gnu.org Date: Thu, 05 Sep 2019 13:52:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 37310 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 37310: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D37310 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 1 Nov 2020 15:17:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 01 10:17:32 2020 Received: from localhost ([127.0.0.1]:38149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kZF6q-0005gu-6d for submit <at> debbugs.gnu.org; Sun, 01 Nov 2020 10:17:32 -0500 Received: from quimby.gnus.org ([95.216.78.240]:35902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1kZF6b-0005Rm-5k for control <at> debbugs.gnu.org; Sun, 01 Nov 2020 10:17:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7LPWv63iDF3OUegPyGoWGog5n3HarQUOCbMTGuyMb2w=; b=Nk8JkkwmA/xchDQfCJtAbOabu/ U0HR3koNJrc24xM6eB+3lTFR16uh+PLnfT9Tv9HO0233XCpKNm1TZmU3QNnS0DNzHeGVTJN9Hh5vC bDAqrdUyCaqxyN8w7YOFBeDgbqbdD9OYSynqtbkoZwoTmhoeohp2uGizGOnUiBGp17ek=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1kZF6S-0001RY-NO for control <at> debbugs.gnu.org; Sun, 01 Nov 2020 16:17:10 +0100 Date: Sun, 01 Nov 2020 16:17:07 +0100 Message-Id: <871rhd9kek.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: Lars Ingebrigtsen <larsi@HIDDEN> Subject: control message for bug #43464 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: forcemerge 43464 37310 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) forcemerge 43464 37310 quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.