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

Re: Cancelling Subversion operations

From: mark benedetto king <bking_at_inquira.com>
Date: 2002-09-18 22:30:54 CEST

On Wed, Sep 18, 2002 at 01:23:26PM -0700, Bill Tutt wrote:
> If you can't hit Ctrl-C using the command line program and have
> everything still work afterwards, then we have serious issues, and we
> should address those. We either have an ACID datastore, or we don't. If
> we don't we're severely hampered in designing a robust system. Or,
> alternatively, we need to seriously reconsider supporting the ra_local
> approach. (or at the very minimum from using ra_local directly in the
> same process).
>

This idea (using ra_local from another process) has tremendous merit,
IMO. When ra_pipe is complete, we could do exactly that (and without
relying on sockets, shared-memory, message-passing, etc).

Right now, the pipe is established via something like:

char *argv[] = {
    "/usr/local/bin/ssh",
    "user@host",
    "svnpipe",
    NULL
}

svn_pipe_t *pipe;

SVN_ERR(svn_pipe_open(&pipe, argv, pool));

If we were to simply do

char *argv[] = {
    "/usr/local/bin/svnpipe",
    NULL
}

instead, then things should work fine; the SIGINT would not be
delivered to the child process.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 18 22:38:29 2002

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.