[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8265: 24.0.50; windows emacs hanging calling svn

From: Sam Steingold
Subject: bug#8265: 24.0.50; windows emacs hanging calling svn
Date: Thu, 17 Mar 2011 13:57:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> * Eli Zaretskii <address@hidden> [2011-03-17 02:34:27 -0400]:
>> Mail-Copies-To: never
>> Reply-To: address@hidden
> (Aren't Mail-Copies-To and Reply-To above in contradiction?)

I want you to reply to myself.
However, if you choose to reply to a list, please do not CC me.
However Mail-Copies-To seems to be ignored, so, I guess, I will remove it.

>> > * Eli Zaretskii <address@hidden> [2011-03-17 00:08:06 +0200]:
>> >
>> >> Debugger entered--Lisp error: (error "Running svn status -v 
>> >> foo.cpp...FAILED (status 1)")
>> >
>> > I don't use svn; what kind of text is that command supposed to output?
>> > E.g., what does it show if you run it from the command prompt under
>> > the same conditions?
>> for a modified file:
>> --------------------------
>> M            11693    11346 sds          foo/bar/baz.h
>> --------------------------
>> for an unmodified file:
>> --------------------------
>>              11693     9843 sds         foo/bar/baz.h
>> --------------------------
> If it's a single line, it could be that Emacs doesn't see it due to
> the fact that (I think) Windows pipes are buffered.  Or maybe it's a
> decoding issue.  Can you trace through vc-do-command and see if Emacs
> is invoking svn asynchronously or synchronously, and perhaps also
> where it hangs?

the message
Running svn status -v foo.cpp in foreground...
indicates synchronous execution.

it hangs in
(apply 'process-file command nil t nil squeezed)
and there in
(apply 'call-process)

>> > Also, can you run this under Cygwin's strace and show the system call
>> > where it (whatever "it" means) hangs?
>> when I try to attach strace or gdb to the svn process, they hang too.
> That's not what I had in mind.  I would create an svn shell script,
> with the following contents:
> #!/bin/sh
> strace -o svn.trace /cygdrive/path/to/svn/svn.exe $*

emacs on windows cannot run shell scripts.
however, I am now using a batch file for that.
alas(?), I do not observe the bug when svn.exe is running under strace.
I will keep trying ...

Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X
http://truepeace.org http://pmw.org.il http://dhimmi.com
http://memri.org http://palestinefacts.org http://ffii.org http://camera.org
Time would have been the best Teacher, if it did not kill all its students.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]