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

Re: svn commit: r10132 - trunk/subversion/clients/cmdline

From: Branko ÄŒibej <brane_at_xbc.nu>
Date: 2004-07-09 13:25:19 CEST

kfogel@collab.net wrote:

>Branko ÄŒibej <brane@xbc.nu> writes:
>
>
>>It's just that I'm not quite sure if the cancellation code is supposed
>>to leave the WC in a consistent state, or do we expect the user to
>>have to "svn cleanup" afterwards? Because that's what you have to do
>>if you cancel in a prompt on Windows.
>>
>>
>
>The cancellation code is supposed to make it less likely that the WC
>will be left in an inconsistent state. I think we established at the
>time that it wasn't really possible to *guarantee* we'd always leave
>it in a consistent state, that's why we still have the cleanup
>command.
>
>Why is Windows different from other platforms?
>
>
Not my fault, ask Microsoft. :-)

There are no signals on Windows. They're simulated in the C runtime
library, and if that library happens to miss (or can't catch) a ^C while
waiting for input, then that's just tough luck. It's even possible that
the apr_poll code doesn't work on stdin -- wouldn't be surprised at all
if it didn't.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 9 13:26:25 2004

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

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