Re: Copying hooks automatically upon repository creation

2010-10-08 Thread Tino Schwarze
On Mon, Oct 04, 2010 at 05:16:42PM -0700, Tech Geek wrote: > > sudo -u "$USER" ln -s ../../conf "$REPO" || exit $? > > sudo -u "$USER" ln -s ../../hooks "$REPO" || exit $? > > > I just realized that the above two commands will fail, if the repositories > are on a SMB/CIFS mounted share on the Linu

Re: svn resolve -R broken?

2010-10-08 Thread Tino Schwarze
On Mon, Oct 04, 2010 at 04:09:39PM -0700, Saftoiu, Rares wrote: > Here is my scenario: > > I just did a merge, and I have a bunch of tree-conflicts and a bunch > of non-tree conflicts. For most of these conflicts, I can resolve them > by accepting theirs-full. However, tree conflicts can only be r

granting partial read access

2011-06-29 Thread Tino Schwarze
Hi there, Google only turned up the usual starter's examples... :-( Given the following structure: /customerA/projA/ /customerA/projB/ /customerA/projC/ ... /customerB/projX/ /customerB/projY/ ... Is there an easy way to grant someone rw-access to /customerA/projB *only*, that is without someth

Re: granting partial read access

2011-06-30 Thread Tino Schwarze
Hi Bob, On Wed, Jun 29, 2011 at 02:15:39PM -0400, Bob Archer wrote: > > Given the following structure: > > > > /customerA/projA/ > > /customerA/projB/ > > /customerA/projC/ > > ... > > /customerB/projX/ > > /customerB/projY/ > > ... > > > > Is there an easy way to grant someone rw-access to /cus

Re: granting partial read access

2011-06-30 Thread Tino Schwarze
On Thu, Jun 30, 2011 at 01:14:49PM +0200, Tino Schwarze wrote: > Of course, this makes using Subclipse et al a bit cumbersome since you > cannot just browse the repo. It would be nice to have non-recursive > rights - that way, I could grant "r" to / and /customerA to theguy and

Re: Different subsets in the same directory

2011-06-30 Thread Tino Schwarze
On Mon, Jun 27, 2011 at 09:11:46PM +0200, Cecil Westerhof wrote: > Say I have 5 sets of shell-scripts (A, B, C, D and E). On one computer > I want all in ~/bin, on another I want A and B in ~/bin, on another I > want A, C and D in ~/bin, etc. > Is there a best practise to do this, or should I make

odd svn:mergeinfo appearing and causing conflicts

2011-07-20 Thread Tino Schwarze
Hi there, we've successfully migrated from CVS to SVN recently and we are now facing an oddity during merging. We are using Subversion 1.6.17 on client and server. Repository structure is like this: /ourstuff/ourproduct/1.0/MODULES/mod_a /ourstuff/ourproduct/1.0/MODULES/mod_b /ourstuff/ourproduc

best strategy for long-living branches / reflective merges

2011-07-24 Thread Tino Schwarze
Hi there, I'm looking for a best practice for the following situation: We have several long-living product branches forked off a common trunk. They cannot closely follow trunk, that is, merging often from trunk is not an option. Bugfixes and some features need to be backported to trunk, though. W

Working in partially versioned directories

2010-03-23 Thread Tino Schwarze
Hi there, We are currently planning migration from CVS to SVN and I've come across a rather fundamental issue for our development workflow. We have an application which consists of multiple modules which are packaged together, then installed into a Web-application layout. That is: The repository

Re: Working in partially versioned directories

2010-03-23 Thread Tino Schwarze
Hi Stefan and Ryan, Thanks for the quick response. :-) On Tue, Mar 23, 2010 at 03:30:20PM +0100, Stefan Sperling wrote: > > > We have an application which consists of multiple modules which are > > > packaged together, then installed into a Web-application layout. That > > > is: The repository l

Question regarding the python binding

2010-03-25 Thread Tino Schwarze
Hi there, I'm currently implementing commit hooks and struggling with the python bindings. I took the contributed pre-commit example which uses the "svn" python module which maps more or less directly to libsvn functions. Background: We want to enforce certain global ignores, MIME types etc. The

Re: Question regarding the python binding

2010-03-25 Thread Tino Schwarze
Additional question: I can't seem to find an equivalent of "svnlook cat" anywhere... I wanted to avoid calling external programs - commits are slow enough already... Thanks, Tino. On Thu, Mar 25, 2010 at 03:17:42PM +0100, Tino Schwarze wrote: > Hi there, > > I'm

Re: Question regarding the python binding

2010-03-26 Thread Tino Schwarze
Hi Роман, On Thu, Mar 25, 2010 at 06:56:26PM +0300, Роман Донченко wrote: >> Back to python: I managed to use the Python bindings to get a value from >> the config file (I didn't want to reinvent the wheel) like this: >> >> *** >> from svn import repos, fs, delta, core, client >> >> def main(pool

Re: svn:eol-style does not work on update

2010-03-30 Thread Tino Schwarze
Hi Dirk, On Tue, Mar 30, 2010 at 04:05:12PM +0200, Dirk wrote: > i've enabled > > enable-auto-props=yes > > and > > *.php=svn:eol-style:native > > on linux... > > but when i "svn update" i still have msdos linefeeds in the php file... even > when i delete the php file before updating.. The

Re: Per-module access to users with svn+ssh ?

2010-04-30 Thread Tino Schwarze
On Fri, Apr 30, 2010 at 11:16:20AM +0200, Ernest Beinrohr wrote: > Hi, i would like to limit access on modules (dirs) to different group of > people. Currenly we are providing svn+ssh (on fsfs svn) access, where > the ssh server uses LDAP to get its auth information. > > How can we define perm

Re: mimimal backup of working copies?

2010-05-11 Thread Tino Schwarze
On Wed, May 05, 2010 at 11:38:51AM -0500, Les Mikesell wrote: > Does anyone know of a way to backup/move/copy checked out working copies > such that you can skip all the parts that 'svn update' would > reconstruct? I'm about to copy the home directories of a machine used > mostly for checkou

Re: Performance Tips?

2010-05-11 Thread Tino Schwarze
Hi Brendan, On Wed, May 05, 2010 at 09:21:43AM -0400, Brendan Farr-Gaynor wrote: > I run a small team of web developers (6) who all work from an in-house > repository. We make lots of commits and often and notice the > performance gets pretty bad. Sometimes taking as long as 2 minutes to > commit

Re: Performance Tips?

2010-05-11 Thread Tino Schwarze
Hi Brendan, On Wed, May 05, 2010 at 09:46:10AM -0400, Brendan Farr-Gaynor wrote: > Thanks for your response! Running local copies of the environment > doesn't seem practical in this case, my guys are working on 10+ > projects at a time all of which can be in different states and which > need many

Bounties for bugfixes?

2010-06-21 Thread Tino Schwarze
Hi there, I looked at the website already but could not find anything helpful. Is there a way to "speed up" a certain bugfix by throwing money at it? I'm talking about that svnsync bug I recently discovered (http://subversion.tigris.org/issues/show_bug.cgi?id=3641) which is a showstopper for us s

Re: detect externals in script

2010-06-23 Thread Tino Schwarze
On Wed, Jun 23, 2010 at 02:56:16PM -0400, Paul Dugas wrote: > I'm looking for a way for a script operating on a working directory to > identify directories that were pulled in via an svn:external. The > script is in the top-level folder of the project and is used to > maintain the common file head

Re: auto-props on import use local temp file name instead of remote destination file name

2010-06-28 Thread Tino Schwarze
Hi Justin, On Fri, Jun 25, 2010 at 09:09:39AM -0500, Justin Johnson wrote: > I am attempting to import a file and set svn:eol-style in one command using > the --auto-props and --config-option options to svn import. When I do the > import I explicitly specify the file name in the import URL. The

Why is --reintegrate neccessary?

2010-06-29 Thread Tino Schwarze
Hi there, I've had a discussion with a collegue yesterday and he wondered why --reintegrate is neccessary for reintegration merges at all. He supposed SVN should be able to determine that the intended merge is a reintegrate by looking at the mergeinfo. So, this is just a question out of curiousit

Re: Trying to build svn on zOS 1.9

2010-06-29 Thread Tino Schwarze
Hi Andy, On Mon, Jun 28, 2010 at 06:10:43PM +0200, andy corpes wrote: > I am trying to build an svn client for zOS (1.9). I am assuming that a will > get a client executeable if i can build the contents of the following tars:- > > subversion-deps-1.6.11.tar > subversion-1.6.11.tar > > To this

Re: Why is --reintegrate neccessary?

2010-06-29 Thread Tino Schwarze
Hi Olivier, On Tue, Jun 29, 2010 at 10:18:31AM +0200, Olivier Sannier wrote: >> I've had a discussion with a collegue yesterday and he wondered why >> --reintegrate is neccessary for reintegration merges at all. He supposed >> SVN should be able to determine that the intended merge is a reintegra

Re: What would be the best way to create "working repositories"?

2010-06-29 Thread Tino Schwarze
Hi Tom, On Tue, Jun 29, 2010 at 09:37:24AM -0400, Tom Malia wrote: > I do understand that my people will have to get a little more sophisticated > about Subversion than "it's just a file share" and I think you understand > that my statement of the simplicity "requirement" is to say that, I have t

correctly merging partially branched directories

2010-09-20 Thread Tino Schwarze
Hi there, I'm currently preparing our move from CVS to SVN. We've got a rather large application consisting of several modules some of which are specific for some customers. Our repository will look like this: /trunk/core-module /trunk/xyz-module /trunk/customerABC-module-1 (several modules per

Re: correctly merging partially branched directories

2010-09-20 Thread Tino Schwarze
nd the solution pops up. :-) On Mon, Sep 20, 2010 at 12:43:38PM +0200, Tino Schwarze wrote: > I'm currently preparing our move from CVS to SVN. We've got a rather > large application consisting of several modules some of which are > specific for some customers. > > Our rep

Re: Why is --reintegrate neccessary?

2010-09-23 Thread Tino Schwarze
Hi there, I need to followup on this quite old thread... I've not yet groked it. :-( On Tue, Jun 29, 2010 at 07:18:07PM +1000, Daniel Becroft wrote: > >>> I've had a discussion with a collegue yesterday and he wondered why > >>> --reintegrate is neccessary for reintegration merges at all. He sup

I've messed with the repository - how to recover?

2010-09-29 Thread Tino Schwarze
Hi there, during preparing a CVS->Subversion conversion I've messed with the repository. There are some post-conversion steps to get things into shape and fix up certain shortcomings of the conversion. Since I didn't want to convert the repository again (it takes about 12 hours), I thought, I'd ju

Re: Why is --reintegrate neccessary?

2010-09-29 Thread Tino Schwarze
On Thu, Sep 23, 2010 at 10:37:30AM -0400, Bob Archer wrote: > > > The critical paragraph is this one: > > > > > > "When merging your branch back to the trunk, however, the underlying > > > mathematics is quite different. Your feature branch is now a mishmosh > > > of both duplicated trunk changes

Re: I've messed with the repository - how to recover?

2010-09-29 Thread Tino Schwarze
Hi Daniel, On Wed, Sep 29, 2010 at 09:43:19AM +0200, Daniel Shahaf wrote: > > during preparing a CVS->Subversion conversion I've messed with the > > repository. There are some post-conversion steps to get things into > > shape and fix up certain shortcomings of the conversion. Since I didn't > >

Re: Is there a clean way to move a-project to a-project/trunk

2010-09-29 Thread Tino Schwarze
On Wed, Sep 29, 2010 at 03:32:07PM +0800, Rice Yeh wrote: > I am trying to separate my project a-project into a-project/trunk and > a-project/branches. First, I like to move a-project to a-project/trunk. But > this is not allowed since trunk is inside a-project. I might first move > a-project to

Re: I've messed with the repository - how to recover?

2010-09-29 Thread Tino Schwarze
Hi Daniel, On Wed, Sep 29, 2010 at 10:22:57AM +0200, Daniel Shahaf wrote: > > > > It looks like there are revisions which refer to future revisions. > > > > > > That's... weird. > > > > > > > Did I > > > > miss something? I've seen rep-cache.db hanging around - might this have > > > > caused pr