Re: AuthzSVNAccessFile size issues

2012-03-22 Thread Joel Eidsath
That option definitely looks interesting. From my reading, we could use it to get apache to ignore all access restrictions except for the SVN access file that I specify. Unfortunately my current performance woes mostly come from the issues involved with processing the SVN access file itself. Joel

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread kmradke
> strace seems to indicate I/O issues as the bottleneck. The file is > loaded from NFS without caching. > > The per-repository access file seems like my best bet for an immediate > solution. It is example 4 in this config: > > http://svn.apache.org/repos/asf/subversion/trunk/subversion/ > mod_aut

Re: predecessor count for the root node-revision is wrong message

2012-03-22 Thread Justin Johnson
On Thu, Mar 22, 2012 at 1:13 PM, Daniel Shahaf wrote: > Justin Johnson wrote on Thu, Mar 22, 2012 at 13:03:04 -0500: > > On Tue, Mar 20, 2012 at 2:32 PM, Daniel Shahaf > wrote: > > > > > Daniel Shahaf wrote on Tue, Mar 20, 2012 at 00:49:06 +0200: > > > > The time until 1.7.5 is counted in weeks,

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread Joel Eidsath
Thanks. strace seems to indicate I/O issues as the bottleneck. The file is loaded from NFS without caching. The per-repository access file seems like my best bet for an immediate solution. It is example 4 in this config: http://svn.apache.org/repos/asf/subversion/trunk/subversion/mod_authz_svn/I

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread Andy Levy
On Thu, Mar 22, 2012 at 15:24, Bob Archer wrote: >> Joel Eidsath wrote on Thu, Mar 22, 2012 at 09:11:48 -0700: >> > I was just handed a large SVN install with thousands of users and >> > hundreds of individual repositories. It is experiencing serious >> > performance issues. I believe that it most

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread Philip Martin
Joel Eidsath writes: > I was just handed a large SVN install with thousands of users and > hundreds of individual repositories. It is experiencing serious > performance issues. I believe that it mostly boils down to a 14MB > AuthzSVNAccessFile. > > What can I do to speed this up? Use per-reposit

RE: AuthzSVNAccessFile size issues

2012-03-22 Thread Bob Archer
> Joel Eidsath wrote on Thu, Mar 22, 2012 at 09:11:48 -0700: > > I was just handed a large SVN install with thousands of users and > > hundreds of individual repositories. It is experiencing serious > > performance issues. I believe that it mostly boils down to a 14MB > > AuthzSVNAccessFile. > > >

log -g reports revisions in wrong order

2012-03-22 Thread Marc Strapetz
One of our users encounters a strange order of log revisions. When invoking an: svn log -v -g the top-level revision r1605930 is reported before top-level revision r2571860. In my understanding, this should not be possible. For a log without merged revisions included, the order is fine. How can

Re: relation to minfo-cnt bug Re: predecessor count for the root node-revision is wrong message

2012-03-22 Thread Jason Wong
Hello Daniel. I will give it a go and let you know what I find. Jason On Wed, Mar 21, 2012 at 1:39 AM, Daniel Shahaf wrote: > Jason, > > I've learnt yesterday something new about the minfo-cnt corruption bug: > it can manifest not only as absurdly high values (on the order of 2**70), > but as f

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread Daniel Shahaf
The relevant code is in libsvn_repos/authz.c. Look at the call to svn_repos_authz_read() in mod_authz_svn.c: the file is read and parsed once per connection. I guess you could cache the parsed svn_authz_t struct in a longer-lived pool, or perhaps increase the lifetime of connections (compare the

Re: predecessor count for the root node-revision is wrong message

2012-03-22 Thread Daniel Shahaf
Justin Johnson wrote on Thu, Mar 22, 2012 at 13:03:04 -0500: > On Tue, Mar 20, 2012 at 2:32 PM, Daniel Shahaf wrote: > > > Daniel Shahaf wrote on Tue, Mar 20, 2012 at 00:49:06 +0200: > > > The time until 1.7.5 is counted in weeks, and 1.6.18 is scheduled to be > > > released next week. > > > > >

Re: getversion.py invalid syntax

2012-03-22 Thread Brian Neal
The syntax except IOError, e: is perfectly valid in Python 2.7. Are you sure you are getting that particular error under 2.7? You'd have to change it to this for Python 3.x: except IOError as e: But that would not be backwards compatible with 2.x. Using a tool like 2to3.py may help produce a v

Re: predecessor count for the root node-revision is wrong message

2012-03-22 Thread Justin Johnson
On Tue, Mar 20, 2012 at 2:32 PM, Daniel Shahaf wrote: > Daniel Shahaf wrote on Tue, Mar 20, 2012 at 00:49:06 +0200: > > The time until 1.7.5 is counted in weeks, and 1.6.18 is scheduled to be > > released next week. > > > > The fix was merged to 1.6.x@HEAD today and barring surprises will be > in

RE: getversion.py invalid syntax

2012-03-22 Thread Brad Lemings
Hi Daniel, Don't know about 2.5 but 2.6 is still actively maintained so I can't argue with that. :) Guess it is just easier to install Python 2.6 than make the scripts backwards-compatible with newer Python versions. Thanks. -Original Message- From: Daniel Shahaf [mailto:danie...@ele

Re: getversion.py invalid syntax

2012-03-22 Thread Daniel Shahaf
No, it's not a known bug. We require 2.5 or newer, so we'll be happy to accept patches here as long as they don't break compat with those older versions. Daniel (I'm assuming there are other except: statements affected by this) Brad Lemings wrote on Thu, Mar 22, 2012 at 09:14:30 -0700: > Hello a

Re: AuthzSVNAccessFile size issues

2012-03-22 Thread Geoff Hoffman
On Thu, Mar 22, 2012 at 9:11 AM, Joel Eidsath wrote: > I was just handed a large SVN install with thousands of users and > hundreds of individual repositories. It is experiencing serious > performance issues. I believe that it mostly boils down to a 14MB > AuthzSVNAccessFile. > > What can I do to

getversion.py invalid syntax

2012-03-22 Thread Brad Lemings
Hello all, I get the following error with Python 2.x, 3.1.x, and 3.2.x: T:\src\subversion-1.7.4>win-tests.py Traceback (most recent call last): File "T:\src\subversion-1.7.4\win-tests.py", line 109, in import gen_win File "build\generator\gen_win.py", line 38, in import generator.sw

Re: subversion-1.6.x for RHEL 4 available?

2012-03-22 Thread Mark Phippard
On Thu, Mar 22, 2012 at 7:22 AM, Nico Kadel-Garcia wrote: > But combine that with management of Java toolkits, Gnome and KDE Wallets, > and the psvn incompatibility with older Emacs, and it's getting out of hand. > Is it worth re-integrating to the main Repoforge codeline to support such an > old

subversion-1.6.x for RHEL 4 available?

2012-03-22 Thread Nico Kadel-Garcia
So, I've got someone who asked about Subversion 1.6 for RHEL 4. I've found the old subversion-1.6.17-1.el4.1plos.src.rpm in this old thread ( http://www.svnforum.org/archive/index.php/t-40748.html) from mbaehr. And I should recognize it, it's partly based on Repoforge work I contributed to. And I'd

RE: hide folder in subversion repository

2012-03-22 Thread Cooke, Mark
> -Original Message- > From: Nico Kadel-Garcia [mailto:nka...@gmail.com] > Sent: 22 March 2012 11:05 > To: Cooke, Mark > Cc: users@subversion.apache.org; dhanushka ranasinghe > Subject: Re: hide folder in subversion repository > > On Wed, Mar 21, 2012 at 6:01 AM, Cooke, Mark > wrote: >

Re: hide folder in subversion repository

2012-03-22 Thread Nico Kadel-Garcia
On Wed, Mar 21, 2012 at 6:01 AM, Cooke, Mark wrote: > > -Original Message- > > From: dhanushka ranasinghe [mailto:parakrama1...@gmail.com] > > Sent: 21 March 2012 09:58 > > To: users@subversion.apache.org > > Subject: hide folder in subversion repository > > > > Hi > > > > is there any wa

Re: Add generic MOTD to hooks scripts ?

2012-03-22 Thread Nico Kadel-Garcia
On Wed, Mar 21, 2012 at 7:12 AM, Phil Pinkerton wrote: > Looking for a way to send or display a Notice like a MOTD ( Message of the > day ) whenever any repository is accessed. > > For example there will be a major change in Repository locations. Some > projects already have pre and post commit ho

RE: SVN as DMS

2012-03-22 Thread Stümpfig , Thomas
Hi all, we have svn through tortoisesvn successfully running 4 Years for 110 Users / >20 documents as DMS. SVN is successful because a) it provides History of Projects b) it provides very good Offline Capabilities! c) it is simple one important characteristic about our guys is, that they wo

Re: preventing commits (this is *not* a classic hook question)

2012-03-22 Thread Michael Hüttermann
Hi David, thanks, that's awesome! Michael > I have a pre-commit hook that stores its configuration inside your > repository. You'll need access to the Subversion server to set it up, > but once it's setup, you can control access by checking out the > control file from the repository, making your

Re: Bug report: this may have crashed my computer

2012-03-22 Thread Philip Martin
"Kayhadrin!" writes: > In file >  'D:\Development\SVN\Releases\TortoiseSVN-1.7.5\ext\subversion\subversion\libsvn_wc\wc_db.c' >  line 4501: assertion failed (affected_rows == 1) > --- > OK > --- > > When I click on the OK button of this dialog windo

Re: Call svn cat for all files modified or added in a given revision

2012-03-22 Thread OBones
Andy Levy wrote: On Wed, Mar 21, 2012 at 08:02, OBones wrote: Andy Levy wrote: On Tue, Mar 20, 2012 at 10:39, OBoneswrote: Hello all, Using svn cat I can see the state of a file at a given revision. As it turns out, I have had in the past some files that were commit with inconsistent lin

RE: Problem with Python bindings to SVN 1.7.4 on Windows

2012-03-22 Thread Cooke, Mark
> -Original Message- > From: Alagazam.net Subversion [mailto:s...@alagazam.net] > Sent: 21 March 2012 19:41 > To: Brian Neal > Cc: users@subversion.apache.org > Subject: Re: Problem with Python bindings to SVN 1.7.4 on Windows > > On 2012-03-21 20:14, Brian Neal wrote: > > On Wed, Mar 21,

Bug report: this may have crashed my computer

2012-03-22 Thread Kayhadrin!
Hi All, Just sending this error report I got from TortoiseSVN that suggested me to notify this mailing list. Context: Windows 7 64b; I was trying to switch my svn working copy folder to another location (repository is using http protocol). Suddenly, my computer started to become really slow but t