Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Ivan Zhakov
On Fri, Jan 6, 2012 at 00:10, Daniel Shahaf wrote: > Ivan Zhakov wrote on Thu, Jan 05, 2012 at 23:42:49 +0400: >> 2. ignores >> We can add svn:global-ignores property to define global (recursive) ignore >> mask. >> > > Glossing over details.  Is it a revprop?  What happens if the wc root is > not

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Ivan Zhakov
On Fri, Jan 6, 2012 at 00:03, Mark Phippard wrote: > On Thu, Jan 5, 2012 at 2:42 PM, Ivan Zhakov wrote: >> On Wed, Jan 4, 2012 at 02:58, Paul Burba wrote: >>> Mike Pilato and I have been kicking around some ideas on server >>> dictated configuration recently and have put our thoughts into a wiki

Re: svn commit: r1209610 - /subversion/trunk/subversion/libsvn_subr/debug.c

2012-01-05 Thread Daniel Shahaf
Does adding those three functions to the exceptions list in build/generator/extractor.py fix the release build (and break the debug build)? Johan Corveleyn wrote on Fri, Jan 06, 2012 at 02:12:15 +0100: > On Fri, Dec 2, 2011 at 7:04 PM, wrote: > > Author: hwright > > Date: Fri Dec  2 18:04:14 201

Re: svn commit: r1209610 - /subversion/trunk/subversion/libsvn_subr/debug.c

2012-01-05 Thread Johan Corveleyn
On Fri, Dec 2, 2011 at 7:04 PM, wrote: > Author: hwright > Date: Fri Dec  2 18:04:14 2011 > New Revision: 1209610 > > URL: http://svn.apache.org/viewvc?rev=1209610&view=rev > Log: > Fix builds where SVN_DEBUG is not defined. > > * subversion/libsvn_subr/debug.c: >  Don't build any of this file if

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Hyrum K Wright
On Thu, Jan 5, 2012 at 3:23 PM, Mark Phippard wrote: > On Thu, Jan 5, 2012 at 4:17 PM, Konstantin Kolinko > wrote: > >>> The approach TortoiseSVN and some other clients take does work pretty >>> nicely but I also think they reveal the short comings in using >>> properties.  For convenience, Torto

Re: svn commit: r1227828 - in /subversion/trunk/tools/examples: SvnCLBrowse get-location-segments.py

2012-01-05 Thread Daniel Shahaf
C. Michael Pilato wrote on Thu, Jan 05, 2012 at 16:00:50 -0500: > On 01/05/2012 03:54 PM, danie...@apache.org wrote: > > Author: danielsh > > Date: Thu Jan 5 20:54:09 2012 > > New Revision: 1227828 > > > > URL: http://svn.apache.org/viewvc?rev=1227828&view=rev > > Log: > > Fix the swig-py example

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Mark Phippard
On Thu, Jan 5, 2012 at 4:17 PM, Konstantin Kolinko wrote: >> The approach TortoiseSVN and some other clients take does work pretty >> nicely but I also think they reveal the short comings in using >> properties.  For convenience, TortoiseSVN does not force you to set >> these properties on every

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Konstantin Kolinko
2012/1/6 Mark Phippard : > On Thu, Jan 5, 2012 at 2:42 PM, Ivan Zhakov wrote: >> >>> http://wiki.apache.org/subversion/ServerDictatedConfiguration >> >> I think most of use-cases can be solved by existing mechanism without >> inventing something new: >> 1. auto-props >> TortoiseSVN already has 'ts

Re: svn ls performance

2012-01-05 Thread Philip Martin
Philip Martin writes: > 1.7 is a major improvement in the verbose > case, probably due to the better FSFS in-memory caching. There is > perhaps a slight regression in the non-verbose case. A small difference in server configurations is the reason for the apparent regression in the non-verbose ca

Re: svn commit: r1227828 - in /subversion/trunk/tools/examples: SvnCLBrowse get-location-segments.py

2012-01-05 Thread C. Michael Pilato
On 01/05/2012 03:54 PM, danie...@apache.org wrote: > Author: danielsh > Date: Thu Jan 5 20:54:09 2012 > New Revision: 1227828 > > URL: http://svn.apache.org/viewvc?rev=1227828&view=rev > Log: > Fix the swig-py examples. > > When trying to run the get-location-segments.py, it throws: > > Typ

Re: [PATCH] More bindings for gnome_keyring / platform_specific_client_providers

2012-01-05 Thread Daniel Shahaf
Thanks for the patches. Matthijs Kooijman wrote on Thu, Jan 05, 2012 at 21:06:19 +0100: > Patches are against svn trunk (r1227522), but also apply with just a > single trivial conflict to 1.6.17. > [[[ > Fix the get-location-segments.py example > > When trying to run the example, it throws: > >

Re: format of svn:author

2012-01-05 Thread Daniel Shahaf
kmra...@rockwellcollins.com wrote on Thu, Jan 05, 2012 at 14:03:37 -0600: > Mark Mielke wrote on 01/05/2012 12:36:10 PM: > > On 01/05/2012 12:34 PM, Branko Čibej wrote: > > > On 05.01.2012 18:25, Mark Mielke wrote: > > >> On 01/05/2012 12:04 PM, Branko Čibej wrote: > > >>> Ha, but svn:author curre

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Stefan Küng
On 03.01.2012 23:58, Paul Burba wrote: Mike Pilato and I have been kicking around some ideas on server dictated configuration recently and have put our thoughts into a wiki (full disclosure: this wiki was initially based on Hyrum's thoughts on the subject in https://svn.apache.org/repos/asf/subv

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Mark Phippard
On Thu, Jan 5, 2012 at 3:23 PM, Stefan Küng wrote: >> The approach TortoiseSVN and some other clients take does work pretty >> nicely but I also think they reveal the short comings in using >> properties.  For convenience, TortoiseSVN does not force you to set >> these properties on every folder a

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Stefan Küng
On 05.01.2012 21:03, Mark Phippard wrote: On Thu, Jan 5, 2012 at 2:42 PM, Ivan Zhakov wrote: On Wed, Jan 4, 2012 at 02:58, Paul Burba wrote: Mike Pilato and I have been kicking around some ideas on server dictated configuration recently and have put our thoughts into a wiki (full disclosure:

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Daniel Shahaf
Ivan Zhakov wrote on Thu, Jan 05, 2012 at 23:42:49 +0400: > 2. ignores > We can add svn:global-ignores property to define global (recursive) ignore > mask. > Glossing over details. Is it a revprop? What happens if the wc root is not the branch root?

[PATCH] More bindings for gnome_keyring / platform_specific_client_providers

2012-01-05 Thread Matthijs Kooijman
Hi folks, over a year ago, I submitted a patch to make the svn_auth_get_platform_specific_client_providers perl bindings work, to allow git-svn to work with gnome_keyring. Since then, I've been working on some further improvements, which I've attached as patches. For consistency, I've also fixed

Re: format of svn:author

2012-01-05 Thread kmradke
Mark Mielke wrote on 01/05/2012 12:36:10 PM: > On 01/05/2012 12:34 PM, Branko Čibej wrote: > > On 05.01.2012 18:25, Mark Mielke wrote: > >> On 01/05/2012 12:04 PM, Branko Čibej wrote: > >>> Ha, but svn:author currently fills that role. So why add another > >>> property? > >> If svn:author is defin

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Mark Phippard
On Thu, Jan 5, 2012 at 2:42 PM, Ivan Zhakov wrote: > On Wed, Jan 4, 2012 at 02:58, Paul Burba wrote: >> Mike Pilato and I have been kicking around some ideas on server >> dictated configuration recently and have put our thoughts into a wiki >> (full disclosure: this wiki was initially based on Hy

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Ivan Zhakov
On Wed, Jan 4, 2012 at 02:58, Paul Burba wrote: > Mike Pilato and I have been kicking around some ideas on server > dictated configuration recently and have put our thoughts into a wiki > (full disclosure: this wiki was initially based on Hyrum's thoughts on > the subject in > https://svn.apache.

Crash when updating

2012-01-05 Thread Stefan Küng
Hi, From a crash report dump sent for TSVN for an update the attached stack trace happened. libsvn_wc\props.c, svn_wc__merge_props() to_val = incoming_change->value ? svn_string_dup(incoming_change->value, result_pool) : NULL; if (! from_val) /* adding a new property

Re: svn ls performance

2012-01-05 Thread Ivan Zhakov
On Thu, Jan 5, 2012 at 22:02, Stefan Küng wrote: > On 05.01.2012 01:25, Philip Martin wrote: >> >> Konstantin Kolinko  writes: >> >>> 2012/1/5 Stefan Küng: Hi, Due to a report on the TSVN mailing list I found that the CL client has the same problem: 'svn list' ta

Re: svn ls performance

2012-01-05 Thread Mark Phippard
On Wed, Jan 4, 2012 at 5:42 PM, Konstantin Kolinko wrote: > http://plugins.svn.wordpress.org/ > The page has a lot of subdirectories (nearly 26000) > The server is 1.6.12. And it is the top level folder too. The revision files must be enormous. I wonder how much smaller the repository would be

Re: svn ls performance

2012-01-05 Thread Philip Martin
Stefan Küng writes: > Hmm - strange. I've had significant different timings for 1.6.6 and 1.7.2. > But I've tried 1.6.6 right after 1.7.2, so maybe there was some > caching involved? > > I'll have to do some more testing. It can be hard to test these things when you don't control the server. The

Re: format of svn:author

2012-01-05 Thread Mark Mielke
On 01/05/2012 12:34 PM, Branko Čibej wrote: On 05.01.2012 18:25, Mark Mielke wrote: On 01/05/2012 12:04 PM, Branko Čibej wrote: Ha, but svn:author currently fills that role. So why add another property? If svn:author is defined as the primary key and also the authentication key, it does seem s

Re: svn ls performance

2012-01-05 Thread Stefan Küng
On 05.01.2012 01:25, Philip Martin wrote: Konstantin Kolinko writes: 2012/1/5 Stefan Küng: Hi, Due to a report on the TSVN mailing list I found that the CL client has the same problem: 'svn list' takes forever in some situations. I don't know what the problem exactly is, but it's easily repr

Re: format of svn:author

2012-01-05 Thread Branko Čibej
On 05.01.2012 18:25, Mark Mielke wrote: > On 01/05/2012 12:04 PM, Branko Čibej wrote: >> On 05.01.2012 11:32, Julian Foad wrote: >>> Branko wrote: [...] you have to define which of the properties must have values that are unique within the given repository; what is the primary key; >>> O

Re: format of svn:author

2012-01-05 Thread Mark Mielke
On 01/05/2012 12:04 PM, Branko Čibej wrote: On 05.01.2012 11:32, Julian Foad wrote: Branko wrote: [...] you have to define which of the properties must have values that are unique within the given repository; what is the primary key; OK, let's say: The "svn:author:authn-id" value is the prim

Re: format of svn:author

2012-01-05 Thread Mark Mielke
On 01/05/2012 07:44 AM, Johan Corveleyn wrote: On Wed, Jan 4, 2012 at 7:42 PM, Julian Foad wrote: [ ... ] SERVER DESIGN Any time the server is about to send a set of revision properties to the client, the server looks up the extended author fields and adds corresponding properties to the s

Re: format of svn:author

2012-01-05 Thread Branko Čibej
On 05.01.2012 11:32, Julian Foad wrote: > Branko wrote: >> [...] you have to define which of the properties must have values >> that are unique within the given repository; what is the primary key; > OK, let's say: > > The "svn:author:authn-id" value is the primary key, and so is unique within a

Re: svn ls performance

2012-01-05 Thread Philip Martin
Ivan Zhakov writes: >> I created a repository with 10,000 subdirs: >> >> #!/bin/bash >> for i in `seq 0 999`;do >>  svn mkdir -mm file://`pwd`/repo/A${i}{0,1,2,3,4,5,6,7,8,9} >> done >> > As far I remember this issue occurs only over HTTP protocol and > related to the fact that mod_dav/mod_dav_sv

Re: svn ls performance

2012-01-05 Thread Ivan Zhakov
On Thu, Jan 5, 2012 at 04:25, Philip Martin wrote: > Konstantin Kolinko writes: > >> 2012/1/5 Stefan Küng : >>> Hi, >>> >>> Due to a report on the TSVN mailing list I found that the CL client has the >>> same problem: >>> 'svn list' takes forever in some situations. >>> I don't know what the prob

Re: svn ls performance

2012-01-05 Thread Philip Martin
Philip Martin writes: > As a side issue having 26,000 branches in the same directory is really > bad for repository size due to the absence of directory deltification. > My repository has 10,000 subdirs in 1,000 revisions and nothing else and > yet it takes 175MB of disk. The last commit, which

Re: format of svn:author

2012-01-05 Thread Johan Corveleyn
On Wed, Jan 4, 2012 at 7:42 PM, Julian Foad wrote: [ ... ] > SERVER DESIGN >   Any time the server is about to send a set of revision properties to > the client, the server looks up the extended author fields and adds > corresponding properties to the set of revision properties that it > reports

Re: [RFC] Server Dictated Configuration

2012-01-05 Thread Johan Corveleyn
On Thu, Jan 5, 2012 at 1:56 AM, Daniel Shahaf wrote: > Johan Corveleyn wrote on Thu, Jan 05, 2012 at 01:40:40 +0100: >> Another question: is the server-dictated config still "extendable" by >> the client? I.e.: if the server already defines a global svn:ignore >> value, can the user still append a

Re: format of svn:author

2012-01-05 Thread Julian Foad
Branko wrote: > [...] you have to define which of the properties must have values > that are unique within the given repository; what is the primary key; OK, let's say: The "svn:author:authn-id" value is the primary key, and so is unique within a [Subversion repository | Subversion server ?]. 

Re: eliminating sequential bottlenecks for huge commit and merge ops

2012-01-05 Thread Peter Samuelson
[Joe Schaefer] > They're using the ASF CMS to manage the www.openoffice.org website, > which is full of 10 years worth of accumulated legacy spanning 50 or > so different natural languages. The CMS is "too slow" during commits > to template files or such which change the generated html content of