From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#19304: 25.0.50; vc-dir hangs forever Date: Tue, 09 Dec 2014 00:56:06 +0200 Message-ID: <54862C86.2020705@yandex.ru> References: <868uiiw1l7.fsf@yandex.ru> <5485EB88.6050105@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1418079448 26555 80.91.229.3 (8 Dec 2014 22:57:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2014 22:57:28 +0000 (UTC) Cc: "Eric S. Raymond" , 19304@debbugs.gnu.org To: sds@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 08 23:57:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xy7F2-0005yd-U4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Dec 2014 23:57:21 +0100 Original-Received: from localhost ([::1]:36519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy7F2-0004ks-I5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Dec 2014 17:57:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy7Er-0004k4-S6 for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 17:57:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xy7Ek-0001NU-Bm for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 17:57:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy7Ek-0001NP-8j for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 17:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xy7Ej-0004Ct-Q7 for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 17:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Dec 2014 22:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19304 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19304-submit@debbugs.gnu.org id=B19304.141807937116108 (code B ref 19304); Mon, 08 Dec 2014 22:57:01 +0000 Original-Received: (at 19304) by debbugs.gnu.org; 8 Dec 2014 22:56:11 +0000 Original-Received: from localhost ([127.0.0.1]:58234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy7Du-0004Bk-Vh for submit@debbugs.gnu.org; Mon, 08 Dec 2014 17:56:11 -0500 Original-Received: from mail-wi0-f178.google.com ([209.85.212.178]:42062) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy7Dt-0004Bc-Dp for 19304@debbugs.gnu.org; Mon, 08 Dec 2014 17:56:09 -0500 Original-Received: by mail-wi0-f178.google.com with SMTP id em10so6290520wid.5 for <19304@debbugs.gnu.org>; Mon, 08 Dec 2014 14:56:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=dVKf40xVOzpZVCB3Ur+ul2oiaY3eQHVJR+UlxWTUM+8=; b=p7ZVz6cZmit2YrEfEWw0y8Gbcvz2n85+nXrR6cScqZ/j+aPSlj8fPSeJPquON+iWBs BPmfY6b/RJjeEKGnHnBfYw4sFzbzRqyLTKpXWEV+PJc0aZ0PcylMCbOVcNtnBurdYE0x rj3zgvBefzDNV0leb90LUL0zIIBnk6/uS4ziV3HFhu5ORt3sagyqdUN9ixvok7HmQHjB LPicHObQTrCjFrZ5BrPY1jpj0ZiZA6WCjkKLZDT88n0O44mLEEzhICxhnI4Ujx7Ot2Py 4ibKMRSVPF1OV9Mt8U7bIxm1W1+HikmQOoNlL1MwXBWBUPuaCYKaGbutMTG8cJej7h+t k3Jg== X-Received: by 10.180.97.195 with SMTP id ec3mr20090685wib.79.1418079368577; Mon, 08 Dec 2014 14:56:08 -0800 (PST) Original-Received: from [192.168.1.2] ([82.102.93.57]) by mx.google.com with ESMTPSA id n3sm11493061wiw.5.2014.12.08.14.56.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Dec 2014 14:56:08 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97042 Archived-At: On 12/08/2014 08:34 PM, Sam Steingold wrote: > yes, but only for vc-dir, not revert-buffer in *vc-dir*. > also this is only for hg not git and others I see. From the original report, I figured the problem was only with the Hg backend. >> Could you find out where most of the time is spent? The call to Hg, or >> some particular Emacs function. > > some emacs function (-mardui takes ~10s). > dunno which - bug#19303 kills emacs when I set debug-on-quit to t and > try to C-g out of the frozen emacs. Instead of `debug-on-quit', if quitting by itself doesn't lead to crashes, you can try ELP or M-x profiler start. > note that it is _really_ easy to reproduce the problem: > > 1. clone emacs repo into dir1 > 2. clone emacs repo into dir2 > 3. mv dir1 dir2/ > 4. add dir1 to dir2/.gitignore Nope, I don't see the freeze here. It isn't particularly slow either.