unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: mah@everybody.org (Mark A. Hershberger)
Cc: 7791@debbugs.gnu.org
Subject: bug#7791: 24.0.50; vc-annotate doesn't work on large SVN files
Date: Fri, 07 Jan 2011 15:13:49 -0500	[thread overview]
Message-ID: <hc1v4o5v5u.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87r5cr6vf4.fsf@everybody.org>

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.





  reply	other threads:[~2011-01-07 20:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-05 18:46 bug#7791: 24.0.50; vc-annotate doesn't work on large SVN files Mark A. Hershberger
2011-01-07  3:11 ` Glenn Morris
2011-01-07 18:29   ` Mark A. Hershberger
2011-01-07 20:13     ` Glenn Morris [this message]
2011-01-16  2:35       ` Glenn Morris
2011-01-16  4:56         ` Stefan Monnier
     [not found]       ` <87ei8b18zo.fsf@everybody.org>
2011-01-18  2:32         ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=hc1v4o5v5u.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=7791@debbugs.gnu.org \
    --cc=mah@everybody.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).