[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Ctrl+C (SIGINT) behaviour for svn command line program

From: Alejandro Forero Cuervo <azul_at_freaks-unidos.net>
Date: 2006-11-10 18:03:23 CET

I've found the svn command line program reacts to SIGINT slightly
differently to what I expect from Unix programs. It seems that when
it receives SIGINT, it starts to close connections and try to
shutdown, which is what I expect. However, upon receiving further
SIGINT signals, I would expect the process to just terminate, right
away, which it doesn't.

Often times I do:

  svn log | less

Then I read some portions of the log and then just quit less.
However, svn log takes quite a while to close, so I frequently find my
self sending it a SIGTERM to be able to continue to use my shell.

Hence my question: are there any reasons for svn to ignore SIGINT
signals after the first it receives (rather than use the default
handler which just terminates the process)?

Thanks.

Alejo.
http://azul.freaks-unidos.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 10 18:04:44 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.