From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#7791: 24.0.50; vc-annotate doesn't work on large SVN files Date: Fri, 07 Jan 2011 15:13:49 -0500 Message-ID: References: <87r5cr6vf4.fsf@everybody.org> <87zkrcd0uo.fsf@everybody.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1294431852 1432 80.91.229.12 (7 Jan 2011 20:24:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 Jan 2011 20:24:12 +0000 (UTC) Cc: 7791@debbugs.gnu.org To: mah@everybody.org (Mark A. Hershberger) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 07 21:24:06 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PbIqz-0007bU-Ip for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Jan 2011 21:24:05 +0100 Original-Received: from localhost ([127.0.0.1]:51048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PbIqy-0004Bv-RP for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Jan 2011 15:24:04 -0500 Original-Received: from [140.186.70.92] (port=35787 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PbIqt-0004BY-2S for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 15:24:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PbIqr-0001zS-O6 for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 15:23:58 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PbIqr-0001zM-MI for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2011 15:23:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PbIaT-000307-LJ; Fri, 07 Jan 2011 15:07:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87r5cr6vf4.fsf@everybody.org> Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Jan 2011 20:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7791 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7791-submit@debbugs.gnu.org id=B7791.129443079811505 (code B ref 7791); Fri, 07 Jan 2011 20:07:01 +0000 Original-Received: (at 7791) by debbugs.gnu.org; 7 Jan 2011 20:06:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PbIa5-0002zV-Ti for submit@debbugs.gnu.org; Fri, 07 Jan 2011 15:06:38 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PbIa3-0002zJ-So for 7791@debbugs.gnu.org; Fri, 07 Jan 2011 15:06:36 -0500 Original-Received: from localhost ([127.0.0.1]:40446) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PbIh3-0001Lf-M8; Fri, 07 Jan 2011 15:13:49 -0500 X-Spook: Jiang Zemin SAFE Treasury Rubin encryption enforcers X-Ran: LHYZ2&0Jed@AZ-'/,uwrj!v)2,)s6*pnnb8qN|<#s"Z_u,"daX|{=q!)#p~M:\T.g121') X-Hue: magenta X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 07 Jan 2011 15:07:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43195 Archived-At: Mark A. Hershberger wrote: > Works on the file when I check it out anonymously on the http transport, > but when I use my credentials on the svn+ssh transport it fails in both > emacs from trunk and emacs23. Hmph, now I see it too, only with svn+ssh: svnadmin create /path/to/repo get Article.php, stick it in /some/dir svn import /some/dir file:///path/to/repo svn checkout svn+ssh://hostname/path/to/repo dir If instead checked out via local file:/// it works fine. Changing vc-svn-annotate-command to not run asynchronously seems to make it work. I can only guess that for some reason Emacs mistakenly thinks the asynchronous version finishes sooner than it actually does. I remembered this old comment from INSTALL.CVS (back when it was called INSTALL.CVS): If you execute cvs commands inside Emacs, specifically if you use pcl-cvs, output from CVS may be lost due to a problem in the interface between ssh, cvs, and libc. Corrupted checkins are also known to have happened. To fix the problem, save the following script into a file, make it executable, and set CVS_RSH to the file name of the script: #!/bin/bash exec 2> >(exec cat >&2 2>/dev/null) exec /usr/bin/ssh "$@" If I do the same trick with SVN_SSH, it seems to work OK asynchronously. So I guess svn may be subject to the same issue as cvs.