From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 04:11:04 2016 Received: (at submit) by debbugs.gnu.org; 28 Jan 2016 09:11:04 +0000 Received: from localhost ([127.0.0.1]:39081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOibY-0005Te-08 for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:11:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47834) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOibW-0005TA-AZ for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:11:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOibK-0006Ah-RK for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:10:57 -0500 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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOibK-0006Ad-OU for submit@debbugs.gnu.org; Thu, 28 Jan 2016 04:10:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOibF-0007au-W0 for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:10:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOibA-00068y-4P for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:10:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOib9-00068s-Pv for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2016 04:10:40 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id E21783F3CE for ; Thu, 28 Jan 2016 09:10:38 +0000 (UTC) Received: from ntb-work (dhcp-24-126.brq.redhat.com [10.34.24.126]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0S9AaGo025371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 28 Jan 2016 04:10:37 -0500 From: Jan Synacek To: bug-gnu-emacs@gnu.org Subject: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.1.50.2 (x86_64-redhat-linux-gnu) Date: Thu, 28 Jan 2016 10:10:36 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) Steps to reproduce: 1) hg clone https://bitbucket.org/vim-mirror/vim (or any other repo will do, but I couldn't resist reproducing the issue on this one...) 2) Generate a million files, that will be considered "ignored" in the repo $ cd vim $ for i in $(seq 1 1000000); do echo ignored > ignored-$i.rej; done 3) Fire up emacs, C-x C-f At this point, it will take a while, but that may be a separate issue. 4) Edit any tracked file and save it. 5) C-x v d ENTER 6) Go to a file that's been modified and hit 'v', enter a log message, then C-c C-c to commit the change. 7) Hit 'g' to refresh the buffer. 8) Observe the freeze. Emacs freezes because it's running 'hg status -mardui -C '. The '-i' is the problem here. Since it takes hg itself a very long time, I'm not sure if it can be directly fixed in Emacs. But at least a configuration option that would allow one to disable the "-i" option would be nice. Original bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=3D1232422 In GNU Emacs 25.1.50.2 (x86_64-redhat-linux-gnu, GTK+ Version 3.18.6) of 2016-01-28 built on copr-builder-504260318.novalocal Windowing system distributor 'Fedora Project', version 11.0.11800000 System Description: Generic release 23 (Generic) Configured using: 'configure --build=3Dx86_64-redhat-linux-gnu --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64 --libexecdir=3D/usr/libexec --localstatedir=3D/var --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3 --with-gpm=3Dno build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-gnu 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector-strong --param=3Dssp-buffer-size=3D4 -grecord-gcc-switches -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=3Dgeneric' LDFLAGS=3D-Wl,-z,relro PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix Major mode: ERC Minor modes in effect: diff-auto-refine-mode: t erc-notifications-mode: t shell-dirtrack-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t recentf-mode: t override-global-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Loading /home/jsynacek/.emacs.d/recentf...done Cleaning up the recentf list...done (0 removed) For information about GNU Emacs and the GNU system, type C-h C-a. ad-handle-definition: =E2=80=98tramp-read-passwd=E2=80=99 got redefined (redacted for private info) Mark set Could not load org-notmuch Load-path shadows: /home/jsynacek/.emacs.d/elpa/helm-20160119.417/helm-multi-match hides /home= /jsynacek/.emacs.d/elpa/helm-core-20160119.936/helm-multi-match /home/jsynacek/.emacs.d/elpa/magit-20160119.1409/magit-popup hides /home/js= ynacek/.emacs.d/elpa/magit-popup-20160119.1409/magit-popup Features: (shadow sort mail-extr emacsbug sendmail notmuch hl-line notmuch-message notmuch-maildir-fcc notmuch-hello notmuch-tree notmuch-parser notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-address notmuch-wash diff-mode coolj notmuch-query goto-addr icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs notmuch-tag crm notmuch-lib notmuch-version cl message idna rfc822 mml mailabbrev mail-utils gmm-utils mailheader mm-view mml-smime mml-sec epg smime dig mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums erc-desktop-notifications notifications dbus winner helm-command helm-elisp helm-eval edebug helm-mode helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell dired-aux ffap helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark helm-locate helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap helm-types private erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat format-spec thingatpt pp helm-swoop helm-grep helm-regexp helm-plugin helm-utils compile comint ansi-color ring helm-help helm helm-source eieio-compat helm-multi-match helm-lib geiser recentf tree-widget wid-edit edmacro kmacro dired-x dired dired-loaddefs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs use-package diminish bind-key easy-mmode advice finder-inf goto-chg-autoloads undo-tree-autoloads info package epg-config url-handlers url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv eieio-loaddefs gnus-util mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr password-cache url-vars paren time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 404816 27547) (symbols 48 39279 0) (miscs 40 147 579) (strings 32 78662 12230) (string-bytes 1 2409843) (vectors 16 58360) (vector-slots 8 965773 25031) (floats 8 378 279) (intervals 56 1052 111) (buffers 976 19) (heap 1024 47080 3625)) --=20 Jan Synacek Software Engineer, Red Hat From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 17:35:39 2016 Received: (at control) by debbugs.gnu.org; 28 Jan 2016 22:35:39 +0000 Received: from localhost ([127.0.0.1]:40106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOvAB-0002cE-MP for submit@debbugs.gnu.org; Thu, 28 Jan 2016 17:35:39 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42233) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOvA9-0002bz-Jp for control@debbugs.gnu.org; Thu, 28 Jan 2016 17:35:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOvA4-0000DE-1M for control@debbugs.gnu.org; Thu, 28 Jan 2016 17:35:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOvA3-0000DA-Tn for control@debbugs.gnu.org; Thu, 28 Jan 2016 17:35:31 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aOvA3-0003gd-L7 for control@debbugs.gnu.org; Thu, 28 Jan 2016 17:35:31 -0500 Subject: control message for bug 22481 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 28 Jan 2016 17:35:31 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) severity 22481 minor From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 20:54:08 2016 Received: (at 22481) by debbugs.gnu.org; 29 Jan 2016 01:54:08 +0000 Received: from localhost ([127.0.0.1]:40150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOyGG-00023T-AJ for submit@debbugs.gnu.org; Thu, 28 Jan 2016 20:54:08 -0500 Received: from mail-lb0-f174.google.com ([209.85.217.174]:35828) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOyGD-00022y-RO for 22481@debbugs.gnu.org; Thu, 28 Jan 2016 20:54:06 -0500 Received: by mail-lb0-f174.google.com with SMTP id bc4so33480937lbc.2 for <22481@debbugs.gnu.org>; Thu, 28 Jan 2016 17:54:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=qFwGVQN9szfIVzNL9Vaz5pbiKvgyD3HqsyvJk23/Wzg=; b=lDSpjZIVq4clKJkhXw0crd/Qb1kClQo+Xuk1hM6bG8dayFyLGAepm7Fffo3z2P9gWO joC8wBrK8ykXa8Hbt2gUT1zcDSlOD10nI9/d7MHzBhzTidY4dbJsTv5MAy9zbwH1+xe0 RA6wR4EPKTi6omnZdwZ6MwuYmXGyv6QhAO6Wd78bBMFTiOCnmqyudLuMpChBfelRG/O5 M4D2xlzzEpYHxGW+3Aao3M2ivu8Xovie0RGLiW+SvvJH0Gw6qODRHoXBhB9h1nE9wqoT CzyCdwo+K99RjMS63FFQ/DyzVq7XJMEK32SHn+VG3yv/2QLCEWrK9PeYSgi1Py4wWpWl +53Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=qFwGVQN9szfIVzNL9Vaz5pbiKvgyD3HqsyvJk23/Wzg=; b=BXdRs284VT0fQ9hwQ3YuJUI8CadUQcmultQfKBb/793bfAokTOXyojmcAFpAW8zf/g FMCDXafyOSn1jS8915X02IAkRq9DDhcR0t8GklEOilKDAfoTKmOdMtt9LuWyzSSPIBd8 1L+c3rV1imvMjYgj/X9DMZyNfgMaFXVvUiXzcAkhvungezHbB6kmcpE76xESE4S13gsW TDr6RY13sG5FlaKuRxHddowWa9Lni/xmlFyYMajYgAOPL343mC6s7dDxLoH5D18Gwmpl LEPRc1JQZt436qWa/yQBeoRv1nDHUtB2zjsCRv4q0y+p+0KenaW77ql86ymOVKUUM7QS XwzQ== X-Gm-Message-State: AG10YORKiHyotDAStw8/KqLwSr9jd4CdbvA9Pmq6GF9nQR4XLRg0Q463g+i4Hd88UkDGWw== X-Received: by 10.112.131.105 with SMTP id ol9mr2320672lbb.45.1454032439956; Thu, 28 Jan 2016 17:53:59 -0800 (PST) Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id a124sm1783685lfa.40.2016.01.28.17.53.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Jan 2016 17:53:58 -0800 (PST) Subject: Re: bug#22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo To: Jan Synacek , 22481@debbugs.gnu.org References: From: Dmitry Gutov Message-ID: <56AAC636.90707@yandex.ru> Date: Fri, 29 Jan 2016 04:53:58 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 22481 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 01/28/2016 12:10 PM, Jan Synacek wrote: > Emacs freezes because it's running 'hg status -mardui -C '. The > '-i' is the problem here. Since it takes hg itself a very long time, I'm > not sure if it can be directly fixed in Emacs. But at least a > configuration option that would allow one to disable the "-i" option > would be nice. Haven't we fixed this already? See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19304, I've fixed what I could reproduce. The current definition of vc-hg-status-files looks like this: (defun vc-hg-dir-status-files (dir files update-function) (apply 'vc-hg-command (current-buffer) 'async dir "status" (concat "-mardu" (if files "i")) "-C" files) (vc-run-delayed (vc-hg-after-dir-status update-function))) IOW, we only pass '-i' when we ask the backend for the status of specific files. Which shouldn't be slow. If it is, I'm pretty sure it's Mercurial's problem. (You can add a (message "files: %s" files) call at the beginning of vc-hg-dir-status-files, to see what file list it's called with. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 21:09:52 2016 Received: (at control) by debbugs.gnu.org; 29 Jan 2016 02:09:52 +0000 Received: from localhost ([127.0.0.1]:40154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOyVU-0002QQ-MI for submit@debbugs.gnu.org; Thu, 28 Jan 2016 21:09:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41135) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aOyVT-0002QD-6J for control@debbugs.gnu.org; Thu, 28 Jan 2016 21:09:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOyVN-00070N-AH for control@debbugs.gnu.org; Thu, 28 Jan 2016 21:09:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOyVN-00070J-6w for control@debbugs.gnu.org; Thu, 28 Jan 2016 21:09:45 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aOyVM-0005wH-UB for control@debbugs.gnu.org; Thu, 28 Jan 2016 21:09:44 -0500 Subject: control message for bug 22481 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 28 Jan 2016 21:09:44 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) forcemerge 19304 22481 From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 29 03:42:37 2016 Received: (at 22481) by debbugs.gnu.org; 29 Jan 2016 08:42:37 +0000 Received: from localhost ([127.0.0.1]:40265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aP4dZ-0006dz-JN for submit@debbugs.gnu.org; Fri, 29 Jan 2016 03:42:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52622) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aP4dY-0006dr-41 for 22481@debbugs.gnu.org; Fri, 29 Jan 2016 03:42:36 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 19FD013A6A; Fri, 29 Jan 2016 08:42:35 +0000 (UTC) Received: from ntb-work (dhcp-24-206.brq.redhat.com [10.34.24.206]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0T8gWlD021870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 29 Jan 2016 03:42:34 -0500 From: Jan Synacek To: Dmitry Gutov , 22481@debbugs.gnu.org Subject: Re: bug#22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo In-Reply-To: <56AAC636.90707@yandex.ru> References: <56AAC636.90707@yandex.ru> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.1.50.2 (x86_64-redhat-linux-gnu) Date: Fri, 29 Jan 2016 09:42:32 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22481 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Dmitry Gutov writes: > On 01/28/2016 12:10 PM, Jan Synacek wrote: > >> Emacs freezes because it's running 'hg status -mardui -C '. The >> '-i' is the problem here. Since it takes hg itself a very long time, I'm >> not sure if it can be directly fixed in Emacs. But at least a >> configuration option that would allow one to disable the "-i" option >> would be nice. > > Haven't we fixed this already? See > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19304, I've fixed what I > could reproduce. Please, try my reproducer. The refresh *after* committing a message tries to display the ignored files. -- Jan Synacek Software Engineer, Red Hat From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 29 21:50:33 2016 Received: (at 22481) by debbugs.gnu.org; 30 Jan 2016 02:50:33 +0000 Received: from localhost ([127.0.0.1]:40891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPLcO-0007Br-To for submit@debbugs.gnu.org; Fri, 29 Jan 2016 21:50:33 -0500 Received: from mail-lf0-f43.google.com ([209.85.215.43]:34708) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPLcN-0007Be-HO for 22481@debbugs.gnu.org; Fri, 29 Jan 2016 21:50:31 -0500 Received: by mail-lf0-f43.google.com with SMTP id 17so57686027lfz.1 for <22481@debbugs.gnu.org>; Fri, 29 Jan 2016 18:50:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=0TmmfAnkj4I8Te1FQBtG6ihvSNqQ6gYAdy7z3WmR7FQ=; b=Aiiykd0k6LzkAPRVXceYiKgTHWJuQpWYsVW4Ag+3/plLq17ekSuqos9IYxuOUUSiBG ZL28m9FZ48+P4nEmyTA51BUqGTGY06raewmmD4KsTyTPEJ4FBO4nj79dD7cAgmvdah+p kGmMkOFHkU3ogeuwHssDaQe4IRMR/5WQYWTErQjPv+NRWLyVXXYx47lRmR2eZ7AmgU4U YVAMxa7SAe77jQShwmvjJH4OxEVSHs+agCMqbVTAP2ymZF1CRloAaJopUcj/7Hyj95X6 21DdvVZkNjh1ga5vd9Byi78COW3tOjoEkKyAR5W4Qwy3FyMIUYLMVSA3NOUw7sjvQ6by skJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=0TmmfAnkj4I8Te1FQBtG6ihvSNqQ6gYAdy7z3WmR7FQ=; b=AnMV0OujyOXPP43oCFXWvF2YIHPUjyjxSvzrBwfxQOaDZgbAENYrR4qYGXYuYyBcMA kZEC4Z03RvFabG58AhBS/fvXixhBT1ObYt/SyOcmjYbwaWImDC47eeDyOGI5a+GgW7TN jPHr+ulo9EO/7AcDJiVd9IKD1e2sgfgyw+yvg8ECNXR9bDD24k7rMwcU1sctX8ex02u/ GHAAlaW5D/gHTFrtHEir8Tkc0W8zN/BKksQAEjcSKRnS/Y6KjHI6wu1bBJNI0Gafr91K gr2bmJKAUbxgm9f78BI/Mdrmm5YsrhY/O31UmaGUXlatpABweZCZJiie0m1cEgIgIJqP D4Cw== X-Gm-Message-State: AG10YOS5CegKbye6EE7K/PJQWE+bUE8itD3PnOCzICgr7bwQmIlzThcGQUdG3lWKmfx0bA== X-Received: by 10.25.136.139 with SMTP id k133mr4454728lfd.157.1454122225630; Fri, 29 Jan 2016 18:50:25 -0800 (PST) Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id x66sm310940lfd.42.2016.01.29.18.50.24 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jan 2016 18:50:24 -0800 (PST) Subject: Re: bug#22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo To: Jan Synacek , 22481@debbugs.gnu.org References: <56AAC636.90707@yandex.ru> From: Dmitry Gutov Message-ID: <56AC24EF.5010109@yandex.ru> Date: Sat, 30 Jan 2016 05:50:23 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 22481 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 01/29/2016 11:42 AM, Jan Synacek wrote: > Please, try my reproducer. The refresh *after* committing a message > tries to display the ignored files. So, this is the actual problem. Thanks. It would've been great if I didn't have to for i in $(seq 1 1000000); do echo ignored > ignored-$i.rej; done which took several minutes on my machine, and took considerable time to clean up, too. Another way to reproduce this: - Make changes to a file. - Undo those changes, so it shows up as 'up-to-date' in vc-dir. - Press 'g' there. See the ignored files show up. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 29 23:00:39 2016 Received: (at 22481-done) by debbugs.gnu.org; 30 Jan 2016 04:00:39 +0000 Received: from localhost ([127.0.0.1]:40922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPMiF-0000RE-31 for submit@debbugs.gnu.org; Fri, 29 Jan 2016 23:00:39 -0500 Received: from mail-lb0-f176.google.com ([209.85.217.176]:34115) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPMiC-0000R0-IJ for 22481-done@debbugs.gnu.org; Fri, 29 Jan 2016 23:00:36 -0500 Received: by mail-lb0-f176.google.com with SMTP id cl12so50629968lbc.1 for <22481-done@debbugs.gnu.org>; Fri, 29 Jan 2016 20:00:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=l/MEjp7uuXUiNSyTDv4A3QYYRlVKCe2tW4hryaWvpS8=; b=ceCiczR4QmzCZCJO/yEij8nPFO7jwVgfMo9nFDV3Y2uRN7ckxkWniJ+NcdyIGs3gzn Bp8qmBN4OmB6lYfb881K0ergr6nSo49jvC2rJcBofsc4+PUj5tfNfHnvR7nnCfQjte0t VwM8+f1hUPrVlq+vp6CbEAYxxmSD8UrDnVehULU1Cs+Do58W0vsc1AnlOi+rkDrHZuh/ J+yJdyWbWcxSg/9KxdmktwzZr+rBna1ghJ+5C/EUTDW6ZGhBxQKOKolcUWBKSyy/fm/c wOs33scq59GasHatApSMQIQxoy1aq441q2dmT0iIyP8VpfKqVQ/E+FkSsiIR/HQWCLA5 4IGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=l/MEjp7uuXUiNSyTDv4A3QYYRlVKCe2tW4hryaWvpS8=; b=j9RmDYp88sDeRxBHozS41nlCx8yhW3173sXZti4pyXpYrcFMnyrihJq0+gEGuoZXbT CqQ0Bd64FO6/3JqjW4ARqpz+VPOzG6HN6Mzq4L6yUCirWfEo8HuPtZdMXOn5Az/2NJcy ZcSSsMsM5bvAXSaeMhX1tjpw5u8VzFi/itQLwWU2c63wiO8dyibyDgpo+y3pB1wW/Kdl anaaWIHI641Wv/5Q10pCvqB/C9uJr3J/hmK8IMcSfRQKQFqYIwmRNK/1Nj2jtWLg4YvS fFL71K7KCpCqWGdP2CQ53DwCCe44VW6MBLt3raMBA+UBp7nBW6P1c7rQH+1rkbgXpS60 jj3g== X-Gm-Message-State: AG10YOTA38+QOyIiqZb5RmZ/8wMQOFPZuwvFVrhMiblw0MGDFb82xu3mAfZRg6Ss7waGgA== X-Received: by 10.112.159.233 with SMTP id xf9mr4452325lbb.21.1454126430615; Fri, 29 Jan 2016 20:00:30 -0800 (PST) Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id p138sm2441751lfb.22.2016.01.29.20.00.29 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jan 2016 20:00:29 -0800 (PST) Subject: Re: bug#22481: 25.1.50; vc-hg: emacs "deadlocks" after using hg with huge amounts of ignored files in the repo To: Jan Synacek , 22481-done@debbugs.gnu.org References: <56AAC636.90707@yandex.ru> <56AC24EF.5010109@yandex.ru> From: Dmitry Gutov Message-ID: <56AC355C.8090003@yandex.ru> Date: Sat, 30 Jan 2016 07:00:28 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: <56AC24EF.5010109@yandex.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 22481-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) Version: 25.1 > - Press 'g' there. See the ignored files show up. Should be fixed in 06083cf now. Thanks again, closing. From unknown Sun Jun 22 17:18:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 27 Feb 2016 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator