GNU bug report logs - #2117
vc-dir slowdown on subversion due to vc-stay-local

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>

Date: Fri, 30 Jan 2009 16:50:03 UTC

Severity: normal

Done: Dan Nicolaescu <dann <at> ics.uci.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2117 in the body.
You can then email your comments to 2117 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2117; Package emacs. (Fri, 30 Jan 2009 16:50:03 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: vc-dir slowdown on subversion due to vc-stay-local
Date: Fri, 30 Jan 2009 08:44:30 -0800 (PST)
Using vc-dir on a big tree under subversion (like GCC for example) is
slow and does not seem to be asynchronous, emacs is unresponsive for a
long time.

The problems was introduced in revision 1.98 of vc-svn.el and is due to
this:  (let ((remote (not (vc-stay-local-p dir))))

(vc-stay-local-p DIR)  ends up calling (vc-svn-registered DIR) and that
executes and parses "svn status -v DIR" which for a big tree like gcc is
60K lines...





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2117; Package emacs. (Fri, 30 Jan 2009 21:55:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nick Roberts <nickrob <at> snap.net.nz>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 30 Jan 2009 21:55:03 GMT) Full text and rfc822 format available.

Message #8 received at 2117 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Nick Roberts <nickrob <at> snap.net.nz>
To: Dan Nicolaescu <dann <at> ics.uci.edu>, 2117 <at> debbugs.gnu.org
Cc: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: Re: bug#2117: vc-dir slowdown on subversion due to vc-stay-local
Date: Sat, 31 Jan 2009 10:46:29 +1300
 > Using vc-dir on a big tree under subversion (like GCC for example) is
 > slow and does not seem to be asynchronous, emacs is unresponsive for a
 > long time.
 > 
 > The problems was introduced in revision 1.98 of vc-svn.el and is due to
 > this:  (let ((remote (not (vc-stay-local-p dir))))
 > 
 > (vc-stay-local-p DIR)  ends up calling (vc-svn-registered DIR) and that
 > executes and parses "svn status -v DIR" which for a big tree like gcc is
 > 60K lines...

Why does vc-svn-registered need to execute "svn status -v DIR".  Can it not
just parse the text-base directory instead?

-- 
Nick                                           http://www.inet.net.nz/~nickrob




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2117; Package emacs. (Fri, 30 Jan 2009 22:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nick Roberts <nickrob <at> snap.net.nz>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 30 Jan 2009 22:15:04 GMT) Full text and rfc822 format available.

bug reassigned from package `emacs' to `emacs,vc-dir'. Request was from Juanma Barranquero <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Mon, 02 Feb 2009 09:15:04 GMT) Full text and rfc822 format available.

bug reassigned from package `emacs,vc-dir' to `emacs,vc'. Request was from Juanma Barranquero <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Tue, 17 Mar 2009 09:30:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to Dan Nicolaescu <dann <at> ics.uci.edu> Request was from Dan Nicolaescu <dann <at> ics.uci.edu> to control <at> emacsbugs.donarmstrong.com. (Tue, 07 Apr 2009 16:35:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 06 May 2009 14:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 109 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.