Re: "svn blame -g" causing svnserve to hang & mem usage to hit 2GB

2010-11-05 Thread Paul Burba
On Fri, Nov 5, 2010 at 2:54 PM, Chris Tashjian wrote: > Paul - I'll see if I can get a test repo up with the error. In the > meantime, would a copy of the svn:mergeinfo help? No harm in sending it along, though barring something very odd I don't hold out much hope it's going to tell us much. >

Re: WC write-locks: file vs. dir

2010-11-05 Thread Julian Foad
On Fri, 2010-11-05 at 16:23 +, Julian Foad wrote: > On Fri, 2010-11-05 at 14:42 +, Julian Foad wrote: > > WC-NG gurus, > > > > Our WC-NG write-lock, as in svn_wc__acquire_write_lock() and > > svn_wc__call_with_write_lock(), is said to apply only to a directory and > > not to a file. Howev

Re: WC write-locks: file vs. dir

2010-11-05 Thread Julian Foad
On Fri, 2010-11-05 at 14:42 +, Julian Foad wrote: > WC-NG gurus, > > Our WC-NG write-lock, as in svn_wc__acquire_write_lock() and > svn_wc__call_with_write_lock(), is said to apply only to a directory and > not to a file. However, in WC-NG it appears to me that doesn't make > sense, because i

[PATCH] mailer.py : Use python difflib.unified_diff instead of *nix diff command

2010-11-05 Thread Noorul Islam K M
The idea is from Kamesh. Attached is the patch which I think implements the idea in a way but with an issue. First, the patch: Log [[[ If diff command does not exist on the system then use difflib.unified_diff() to generate diff contents. * tools/hook-scripts/mailer/mailer.py: Fall back to

Re: ctypes-python bindings test cases issue.

2010-11-05 Thread Philip Martin
Noorul Islam K M writes: >> I don't know how to run the ctypes tests. > > make check-ctypes-python /usr/bin/python: can't open file 'none': [Errno 2] No such file or directory sed: can't read subversion/bindings/ctypes-python/svn_all.py: No such file or directory -- Philip

Re: ctypes-python bindings test cases issue.

2010-11-05 Thread Noorul Islam K M
Philip Martin writes: > Daniel Shahaf writes: > >>> > handle. Solutions include: >>> > >>> > - adding an svn_repos_close API >>> > - clearing or destroying the pool passed to svn_repos_create >>> > - having the test create repositories at different locations >>> >>> I have implemented the l

Re: ctypes-python bindings test cases issue.

2010-11-05 Thread Philip Martin
Daniel Shahaf writes: >> > handle. Solutions include: >> > >> > - adding an svn_repos_close API >> > - clearing or destroying the pool passed to svn_repos_create >> > - having the test create repositories at different locations >> >> I have implemented the last solution and attached is the p

WC write-locks: file vs. dir

2010-11-05 Thread Julian Foad
WC-NG gurus, Our WC-NG write-lock, as in svn_wc__acquire_write_lock() and svn_wc__call_with_write_lock(), is said to apply only to a directory and not to a file. However, in WC-NG it appears to me that doesn't make sense, because it applies to a *path* and WC-NG can have different node kinds in d

Re: Test suite - simpler simple_rm, simple_add, etc.

2010-11-05 Thread Julian Foad
On Fri, 2010-11-05 at 11:59 +, Julian Foad wrote: > In a bid to continue simplifying how we write the repetetive bulky parts > of regression tests, I'm changing the sbox.simple_rm() etc. functions to > take path args that are relpaths relative to sbox.wc_dir, instead of > OS-style full paths re

Re: "svn blame -g" causing svnserve to hang & mem usage to hit 2GB

2010-11-05 Thread Philip Martin
Paul Burba writes: > I recall a similar issue > http://subversion.tigris.org/issues/show_bug.cgi?id=3397. > Unfortunately nothing conclusive came of that. There is also http://subversion.tigris.org/issues/show_bug.cgi?id=3593 which I suspect is the in-memory-caching added to FSFS in 1.6. I gu

Re: "svn blame -g" causing svnserve to hang & mem usage to hit 2GB

2010-11-05 Thread Paul Burba
Chris, I recall a similar issue http://subversion.tigris.org/issues/show_bug.cgi?id=3397. Unfortunately nothing conclusive came of that. When I wrap up what I am working on now I will take a look at this. In the meantime, any chance you could try to reproduce the problem using a simple test repos

Re: Does at least one buildbot run the Python tests over BDB?

2010-11-05 Thread Daniel Shahaf
Daniel Shahaf wrote on Sat, Oct 30, 2010 at 20:01:49 +0200: > I'm sure some bots build BDB and run the BDB C test, but shouldn't at > least one of them run the full Python test suite over BDB? Thanks to Julian, the WANdisco CentOS bot will be testing BDB.

Re: Status of children of replaced directories

2010-11-05 Thread Stefan Sperling
On Tue, Nov 02, 2010 at 04:28:59PM +, Philip Martin wrote: > Suppose I have a checkout containing a versioned directory A that > contains a child A/f. If I delete A the status shows: > > $ svn st > D A > D A/f > > If I now copy some other directory to replace A and the copied directory

Re: ctypes-python bindings test cases issue.

2010-11-05 Thread Daniel Shahaf
Noorul Islam K M wrote on Mon, Nov 01, 2010 at 21:42:02 +0530: > Philip Martin writes: > > > Noorul Islam K M writes: > > > >> Test cases are written using python unittest framework and it has two > >> methods, setUp() and tearDown() which gets executed for every case. In > >> tearDown(), reposi

mod_dav_svn segfaults upon PROPFIND to the SVNParentPath location (was: Re: apache coredump in mod_dav_svn)

2010-11-05 Thread Daniel Shahaf
Moving to d...@. (Please drop users@ from follow-ups.) Summary: segfault in mod_dav_svn with PROPFIND at the SVNParentPath location, reproducable with trunk. Daniel Shahaf wrote on Fri, Nov 05, 2010 at 14:03:26 +0200: > Rob Kooper wrote on Wed, Nov 03, 2010 at 22:54:57 -0500: > > I'm getting a c

Test suite - simpler simple_rm, simple_add, etc.

2010-11-05 Thread Julian Foad
In a bid to continue simplifying how we write the repetetive bulky parts of regression tests, I'm changing the sbox.simple_rm() etc. functions to take path args that are relpaths relative to sbox.wc_dir, instead of OS-style full paths relative to CWD. The callers will change from mu_path = sbox

Re: Fix for issue 3620 - unlock command

2010-11-05 Thread Noorul Islam K M
Noorul Islam K M writes: > Stefan Sperling writes: > >> On Wed, Nov 03, 2010 at 09:12:41PM +0100, Stefan Sperling wrote: >> >>> $ svn lock blah ^/ >>> subversion/libsvn_client/cmdline.c:330: (apr_err=235000) >>> svn: In file 'subversion/libsvn_subr/dirent_uri.c' line 1649: assertion >>> failed

Re: ctypes-python bindings test cases issue.

2010-11-05 Thread Noorul Islam K M
Noorul Islam K M writes: > Noorul Islam K M writes: > >> Noorul Islam K M writes: >> >>> Philip Martin writes: >>> Noorul Islam K M writes: > Test cases are written using python unittest framework and it has two > methods, setUp() and tearDown() which gets executed for every

Re: Error copying repo file over deleted WC dir: no write-lock in parent

2010-11-05 Thread Philip Martin
Julian Foad writes: > Can I have a second pair of eyes on this please? When copy_tests.py 94 > deletes a WC directory 'A/B' and tries to copy the repos file 'iota' to > WC path 'A/B', it the svn_wc_add_repos_file4() call fails with: > > .../libsvn_client/copy.c:1570: (apr_err=155005) > .../l

Re: ctypes-python bindings test cases issue.

2010-11-05 Thread Noorul Islam K M
Noorul Islam K M writes: > Noorul Islam K M writes: > >> Philip Martin writes: >> >>> Noorul Islam K M writes: >>> Test cases are written using python unittest framework and it has two methods, setUp() and tearDown() which gets executed for every case. In tearDown(), repository