Re: svn commit: r935413 - /subversion/trunk/subversion/libsvn_wc/adm_crawler.c

2010-04-24 Thread Greg Stein
On Sun, Apr 18, 2010 at 17:53, Bert Huijben wrote: > > >> -Original Message- >> From: gst...@apache.org [mailto:gst...@apache.org] >> Sent: zondag 18 april 2010 23:17 >> To: comm...@subversion.apache.org >> Subject: svn commit: r935413 - >> /subversion/trunk/subversion/libsvn_wc/adm_crawle

[PATCH] Reducing file I/O overhead

2010-04-24 Thread Stefan Fuhrmann
Hi there, here is just another one from my stack of performance patches. As suggested in http://svn.haxx.se/dev/archive-2010-03/0612.shtml, I provided a patch to the APR reducing its runtime for typical usage scenarios (https://issues.apache.org/bugzilla/show_bug.cgi?id=49085). The patch below u

[PATCH v3] Fix O(n) runtime in cache lookup, part 2/2

2010-04-24 Thread Stefan Fuhrmann
Hi there, this is a revised version of the patch posted here: http://svn.haxx.se/dev/archive-2010-04/0107.shtml Changes: * use the new svn_cache__set_pinned function * remove other changes that accidentally got added to the patch -- Stefan^2. [[[ Allow for cache entries to be access directly

[PATCH v3] Fix O(n) runtime in cache lookup, part 1/2

2010-04-24 Thread Stefan Fuhrmann
Hi there, this is a revised version of the patch posted here: http://svn.haxx.se/dev/archive-2010-04/0106.shtml The improvements: * allow for arbitrary (but preferably very small) number of pinned entries per cache * support pinned entries from multiple threads (i.e. don't use hold the mutex

Re: wc-ng: determine if a node is versioned

2010-04-24 Thread Neels J Hofmeyr
Greg Stein wrote: > On Sat, Apr 24, 2010 at 10:37, Neels J Hofmeyr wrote: >> ... >> At first glance, it appears that different code paths want to handle >> incomplete nodes differently. Some want to act as if the node was 'normal' >> == versioned. Most appear to want to act as if incomplete nodes

Re: wc-ng: determine if a node is versioned

2010-04-24 Thread Greg Stein
On Sat, Apr 24, 2010 at 10:37, Neels J Hofmeyr wrote: >... > At first glance, it appears that different code paths want to handle > incomplete nodes differently. Some want to act as if the node was 'normal' > == versioned. Most appear to want to act as if incomplete nodes were > non-versioned -- b

wc-ng: determine if a node is versioned

2010-04-24 Thread Neels J Hofmeyr
Hi all, I see a potential problem in the use of svn_wc__node_get_kind(): incomplete state due to an interrupted operation. Let's see the return values for svn_wc__node_get_kind(). It is quite indistinguishable whether a node is not versioned, or whether it is versioned but in incomplete state:

RE: SVN Update does not add new files

2010-04-24 Thread Bert Huijben
> -Original Message- > From: Martin Cerny [mailto:cern...@gmail.com] > Sent: zaterdag 24 april 2010 12:27 > To: dev > Subject: SVN Update does not add new files > > Hi, > I'm experiencing a bug with SVN. > I have a branch of our main project. I did some work on it in school and then > wa

SVN Update does not add new files

2010-04-24 Thread Martin Cerny
Hi, I'm experiencing a bug with SVN. I have a branch of our main project. I did some work on it in school and then wanted to update the status of my working copy at home. The files that were changed were correctly reflected in the working copy, but new files that I added at school were not added to