Re: AW: SQLite locking for WCNG on NFS

2012-03-04 Thread Branko Čibej
On 27.02.2012 14:12, Philip Martin wrote: > As far as I can see negotiating locking between clients would involve > some sort of locking daemon and a network protocol. I'm not even sure > it would solve the problem since it would introduce new latencies. I > don't want to try writing that. Do you h

Re: AW: SQLite locking for WCNG on NFS

2012-02-27 Thread Philip Martin
Branko Čibej writes: > All of these scenarios assume there is a mechanism that determines > whether simultaneous access to the working copy by two threads of > control is actually happening or not. You say that the only possible > such mechanism is "the user". Nonsense. > > We're already relegati

Re: AW: SQLite locking for WCNG on NFS

2012-02-26 Thread Branko Čibej
On 22.02.2012 10:25, Philip Martin wrote: > Branko Čibej writes: > >> On 20.02.2012 09:51, Markus Schaber wrote: >>> Hi, >>> >>> What about an "-exclusive" general option to the svn command line client, >>> which triggers exclusive wc access for that specific command invocation / >>> session? >>

Re: AW: SQLite locking for WCNG on NFS

2012-02-22 Thread Philip Martin
Mark Phippard writes: > Just to clarify. I had two Terminal windows open. In one of them, I > was in the /branches/2.3.x folder and ran svn up. > > In the other, I was in the /trunk folder and ran svn up. This is the > one that failed and the error message said: > > svn: E155004: Working copy

Re: AW: SQLite locking for WCNG on NFS

2012-02-22 Thread Mark Phippard
On Wed, Feb 22, 2012 at 9:06 AM, Philip Martin wrote: >>> Update a different subtree: >>> >>> $ svn up wc/X/Y/Z >>> Updating 'wc/X/Y/Z': >>> A    wc/X/Y/Z/Q >>> Updated to revision 4. >> >> This does not work for me.  I have an entire repository checked out >> and started an update in my /branche

Re: AW: SQLite locking for WCNG on NFS

2012-02-22 Thread Philip Martin
Mark Phippard writes: > On Wed, Feb 22, 2012 at 8:42 AM, Philip Martin > wrote: >> >> That's not correct.  Start and hold an update: >> >> $ gdb -arg subversion/svn/.libs/lt-svn up wc/A/B/C >> (gdb) b update_editor.c:close_directory >> (gdb) r >> Breakpoint 2 at 0x778eee2f >> >> Run status:

RE: AW: SQLite locking for WCNG on NFS

2012-02-22 Thread Bert Huijben
> -Original Message- > From: Mark Phippard [mailto:markp...@gmail.com] > Sent: woensdag 22 februari 2012 14:53 > To: Philip Martin > Cc: Branko Čibej; dev@subversion.apache.org > Subject: Re: AW: SQLite locking for WCNG on NFS > > On Wed, Feb 22, 2012 at 8:42 AM

Re: AW: SQLite locking for WCNG on NFS

2012-02-22 Thread Mark Phippard
On Wed, Feb 22, 2012 at 8:42 AM, Philip Martin wrote: > Mark Phippard writes: > >> On Wed, Feb 22, 2012 at 4:25 AM, Philip Martin >> wrote: >>> The user has more information than the application can ever have.  If >>> the user wants to be able to run two subtree updates in parallel then >>> exlu

Re: AW: SQLite locking for WCNG on NFS

2012-02-22 Thread Philip Martin
Mark Phippard writes: > On Wed, Feb 22, 2012 at 4:25 AM, Philip Martin > wrote: >> The user has more information than the application can ever have.  If >> the user wants to be able to run two subtree updates in parallel then >> exlusive locking must not be enabled.  If the user wants to run sta

Re: AW: SQLite locking for WCNG on NFS

2012-02-22 Thread Mark Phippard
On Wed, Feb 22, 2012 at 4:25 AM, Philip Martin wrote: > The user has more information than the application can ever have.  If > the user wants to be able to run two subtree updates in parallel then > exlusive locking must not be enabled.  If the user wants to run status > during an update then exc

Re: AW: SQLite locking for WCNG on NFS

2012-02-22 Thread Mark Phippard
On Wed, Feb 22, 2012 at 7:30 AM, Simon Butler wrote: > > > On Wed, Feb 22, 2012 at 1:25 AM, Philip Martin > wrote: >> >> Branko Čibej writes: >> >> > On 20.02.2012 09:51, Markus Schaber wrote: >> >> Hi, >> >> >> >> What about an "-exclusive" general option to the svn command line >> >> client, w

Re: AW: SQLite locking for WCNG on NFS

2012-02-22 Thread Simon Butler
On Wed, Feb 22, 2012 at 1:25 AM, Philip Martin wrote: > Branko Čibej writes: > > > On 20.02.2012 09:51, Markus Schaber wrote: > >> Hi, > >> > >> What about an "-exclusive" general option to the svn command line > client, which triggers exclusive wc access for that specific command > invocation /

AW: SQLite locking for WCNG on NFS

2012-02-22 Thread Markus Schaber
Hi, -Ursprüngliche Nachricht- Von: Philip Martin [mailto:philip.mar...@wandisco.com] >Branko Čibej writes: > >> On 20.02.2012 09:51, Markus Schaber wrote: >>> Hi, >>> >>> What about an "-exclusive" general option to the svn command line client, >>> which triggers exclusive wc access fo

Re: AW: SQLite locking for WCNG on NFS

2012-02-22 Thread Philip Martin
Branko Čibej writes: > On 20.02.2012 09:51, Markus Schaber wrote: >> Hi, >> >> What about an "-exclusive" general option to the svn command line client, >> which triggers exclusive wc access for that specific command invocation / >> session? > > And you expect users to know when to use it, and

Re: AW: SQLite locking for WCNG on NFS

2012-02-20 Thread Branko Čibej
On 20.02.2012 09:51, Markus Schaber wrote: > Hi, > > What about an "-exclusive" general option to the svn command line client, > which triggers exclusive wc access for that specific command invocation / > session? And you expect users to know when to use it, and especially when /not/ to use it?

AW: SQLite locking for WCNG on NFS

2012-02-20 Thread Markus Schaber
Hi, What about an "-exclusive" general option to the svn command line client, which triggers exclusive wc access for that specific command invocation / session? Grüße, Markus Von: Simon Butler [mailto:smcbut...@gmail.com] Gesendet: Samstag, 18. Februar 2012 05:15 An: dev@subversion.apache.org B