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

Re: Sharing SVN-Repository between Linux/x86 and WinNT

From: Mike Mason <mgm_at_thoughtworks.net>
Date: 2004-01-09 16:04:11 CET

Garrett Rooney wrote:

>> I've seen exactly this on the Windows svn client -- Control-C doesn't
>> return immediately (locks are being released or something) and if you
>> hit it again the process stops immediately and requires "svn cleanup".
>
>
>
> Interesting. Does this patch fix the problem?
>
> Index: subversion/clients/cmdline/main.c
> ===================================================================
> --- subversion/clients/cmdline/main.c (revision 8181)
> +++ subversion/clients/cmdline/main.c (working copy)
> @@ -612,9 +612,13 @@
>
> /* A signal handler to support cancellation. */
> static void
> -sig_int (int unused)
> +sig_int (int sig)
> {
> cancelled = TRUE;
> +
> + /* reset the signal handler because some operating systems reset it
> when
> + * it fires. */
> + apr_signal (sig, sig_int);
> }
>
> /* Our cancellation callback. */

If I'm right about Ctrl-C Ctrl-C causing a nasty kill to the Subversion
client, needing "svn cleanup" afterwards, is that something we'd want to
fix for 1.0? If so, hit me with a binary and I'll check it.

Cheers,
Mike.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 9 16:04:38 2004

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.