Re: Mixed authentication and WebSVN on same host

2011-06-09 Thread Konstantin Kolinko
2011/6/9 Pier-Luc Petitclerc : > The problem I have with that is related to the user authentication. I have > read that mixed authentication (anonymous vs "registered") is possible with > authz and that's what I tried implementing. Read The Book [1], as well as HTTPD manuals. [2] 1) To mix anonym

Unretrievable file

2011-06-09 Thread Bill Herring
Hello, I have a problem that began when I mistakenly attempted to switch a file to an older tagged version. It instead converted my file into a folder containing the whole of the older tagged project. I tried to switch back but it would say “can’t replace a folder from within”. I was advised to

Svn mergeinfo appearing on sub-directories

2011-06-09 Thread Echlin, Jamie
Further information on this... it's definitely not related to the authz as the same behaviour happens when using the file: protocol. It appears to be to do with the mergeinfo that's already present, as if I delete it all then it works as expected. When doing a merge, is the mergeinfo anywhere othe

Re: Svn mergeinfo appearing on sub-directories

2011-06-09 Thread Johan Corveleyn
On Thu, Jun 9, 2011 at 1:18 PM, Echlin, Jamie wrote: > Further information on this... it's definitely not related to the authz > as the same behaviour happens when using the file: protocol. It appears > to be to do with the mergeinfo that's already present, as if I delete it > all then it works as

RE: Svn mergeinfo appearing on sub-directories

2011-06-09 Thread Echlin, Jamie
Hi Johan, > This is normal behavior of svn currently. Every subtree that > already has "explicit mergeinfo" (meaning it has its own svn:mergeinfo > property) will have that mergeinfo updated on every subsequent merge. > That is done because it needs to be kept up to date. Thanks for your respons

attaching a hook to svn commit to generate TRAC-wiki page

2011-06-09 Thread Jan Ciesko (GMAIL)
Dear SVN experts, I'm new to SVN and I would like to ask if there is a tutorial how to setup post-commit hooks in SVN. What I'd like to implement is the following behavior: - Whenever a new app is submitted (added to SVN), a new TRAC-WIKI page is generated automatically. - Whenever an existing

Re: Svn mergeinfo appearing on sub-directories

2011-06-09 Thread Stefan Sperling
On Thu, Jun 09, 2011 at 01:42:33PM +0100, Echlin, Jamie wrote: > Hi Johan, > > > This is normal behavior of svn currently. Every subtree that > > already has "explicit mergeinfo" (meaning it has its own svn:mergeinfo > > property) will have that mergeinfo updated on every subsequent merge. > > Th

problem installing subversion without berkeley DB

2011-06-09 Thread ZXGLOSTER118, ext
Hi, I'm trying to install subversion 1.6.15 without bekerley DB (which is not installed). I have launch the command ./configure -without-berkeley-db but when doing make install the following error occurs: grep: can't open /usr/local/BerkeleyDB.4.2/lib/libdb-4.2.la Can't open /usr/local/Berkel

possible mechanism of repo corruption

2011-06-09 Thread Matthew Beals
I just suffered a fairly major repo corruption problem. Fortunately I had nightly dumps to restore from as well as an updated working copy of the affected repos, so the only thing I lost was some file history. Now I'm trying to figure out what caused the issue and if I can prevent it in the fu

RE: Svn mergeinfo appearing on sub-directories

2011-06-09 Thread Echlin, Jamie
> Hmmm... > Does the parent of the offending directory have > non-inheritable mergeinfo? > (Mergeinfo entries that have an asterisk appended are not > inheritable.) Hi Stefan... Before the merge only the source (/trunk) and target (branches/topic-XYZ) have mergeinfo, not parents or sub-director

Strange merge behaviour

2011-06-09 Thread Heinrichs, Dirk
Hi, I'm facing a problem where I get items modified by a merge although there should be nothing to merge at all. I create a new branch from trunk. I checkout from that new branch. I merge from trunk into the new branch. [ No intermediate commit did happen as I'm doing this on a personal backup c

Re: possible mechanism of repo corruption

2011-06-09 Thread Stefan Sperling
On Thu, Jun 09, 2011 at 09:48:18AM -0400, Matthew Beals wrote: > I just suffered a fairly major repo corruption problem. Fortunately I had > nightly dumps to restore from as well as an updated working copy of the > affected repos, so the only thing I lost was some file history. Now I'm > tryin

RE: Strange merge behaviour

2011-06-09 Thread Sulser, Timothy (IFPRI)
Context: -Original Message- From: Heinrichs, Dirk [mailto:dirk.heinri...@capgemini.com] ... svn status now shows some modified elements, and if I look at them with svn diff, I get something like Property changes on: path/to/file

AW: possible mechanism of repo corruption

2011-06-09 Thread Markus Schaber
Hi, > Von: Stefan Sperling [mailto:s...@elego.de] > If your Apache server is handling requests via threads (rather than > forking > processes) this might explain why you never saw this problem with just > dav. > The threads can synchronise via mutexes which live in the same process > address spa

Re: Svn mergeinfo appearing on sub-directories

2011-06-09 Thread Stefan Sperling
On Thu, Jun 09, 2011 at 02:51:47PM +0100, Echlin, Jamie wrote: > > Hmmm... > > Does the parent of the offending directory have > > non-inheritable mergeinfo? > > (Mergeinfo entries that have an asterisk appended are not > > inheritable.) > > Hi Stefan... > > Before the merge only the source (/t

RE: Strange merge behaviour

2011-06-09 Thread Bob Archer
> I'm facing a problem where I get items modified by a merge although > there should be nothing to merge at all. > > I create a new branch from trunk. > I checkout from that new branch. > I merge from trunk into the new branch. > > [ No intermediate commit did happen as I'm doing this on a person

RE: Svn mergeinfo appearing on sub-directories

2011-06-09 Thread Echlin, Jamie
> It would be interesting to see if you can reproduce the > problem in your environment with the 1.7.0-alpha1 release. Hi Stefan... I will certainly give that a try. > If you can reproduce it with 1.7, and have the time, could > you try to come up with a reproduction recipe that produces I

Re: possible mechanism of repo corruption

2011-06-09 Thread Stefan Sperling
On Thu, Jun 09, 2011 at 04:32:26PM +0200, Markus Schaber wrote: > Hi, > > > Von: Stefan Sperling [mailto:s...@elego.de] > > > If your Apache server is handling requests via threads (rather than > > forking > > processes) this might explain why you never saw this problem with just > > dav. > > Th

RE: hook permissions, visualsvn, windows

2011-06-09 Thread Henry Hartley
Lorenz wrote: >> that doesn't look like a windows batch file to me. >> You sure that runs from the windows command line? >> >> Doing so on win xp gives me errors about the "REPOS=$1" and >> "REV=$2" lines. And the when I correct the syntax the call to svn >> results in svn trying to update $REPOS

Re: hook permissions, visualsvn, windows

2011-06-09 Thread Andy Levy
On Thu, Jun 9, 2011 at 11:05, Henry Hartley wrote: > Lorenz wrote: >>> that doesn't look like a windows batch file to me. >>> You sure that runs from the windows command line? >>> >>> Doing so on win xp gives me errors about the "REPOS=$1" and >>> "REV=$2" lines. And the when I correct the syntax

Re: svnshell-like client

2011-06-09 Thread Rick Varney
> > From: Ryan Schmidt > >> cadaver(1) allows browsing WebDAV HTTP servers from the command line. > >> It doesn't do everything you want (but you might be able to use it as > >> a starting point (if you enable http:// access to your repositories)). > > > > I was going to suggest WebDAV too, only

Re: svnshell-like client

2011-06-09 Thread Ryan Schmidt
On Jun 9, 2011, at 11:26, Rick Varney wrote: > If I mount the the repository as a file system using a WebDAV client, > how would I accomplish doing an svn info on a file, for example? I assume > that svn info would think files in the mounted file system are unversioned > files. Right, simply ru

Re: svnshell-like client

2011-06-09 Thread Rick Varney
> On Tue, May 31, 2011 at 5:46 PM, Les Mikesell wrote: > > >> Not quite what you want, but viewvc gives a reasonable way to explore a > >repository (especially remotely) with only a web browser and once you > >understand the layout you can plug the path you need into your normal svn > >client

Re: svnshell-like client

2011-06-09 Thread Ryan Schmidt
On Jun 9, 2011, at 11:35, Rick Varney wrote: >> (I really, really don't recommend file based access for clients.) > > I think you have some good reasons for this last statement, > but they are not obvious to me. Could you elaborate some > more on why you don't recommend this? file:///-protoc

SVN Best Practices

2011-06-09 Thread Phil Montgomery
I'm working on a document that states the industry's best practices for SVN and would appreciate some guidance. Can anyone share or direct me to a good site that has useful information that engineers have discovered while working with SVN? I know I can read the SVN manual and did, but looking for

Single Sign on for read-only Subversion access via HTTP

2011-06-09 Thread Phil Pinkerton
We use LDAP authentication + Subversion ACL We would like to let the read-only access users by-pass LDAP is that possible ? is there a single-sign0n module perhaps ? We also need to set ignore case in http.conf (we did this but http crashes when enabling the non-LDAP access for a specific rep

Re: Single Sign on for read-only Subversion access via HTTP

2011-06-09 Thread Michael Rohan
Hi, If your LDAP auth is backed by Kerberos, e.g., Active Directory, then you can use Kerberos is setup single sign-on via the Apache mod_auth_kerb. Take care, Michael. On Thu, Jun 9, 2011 at 10:39, Phil Pinkerton wrote: > We use LDAP authentication + Subversion ACL > > We would like to let th

Re: Mixed authentication and WebSVN on same host

2011-06-09 Thread Pier-Luc Petitclerc
Hi Konstantin, Thanks for your reply! I ended up settling for black-and-white access for WebSVN, manually hiding private repositories This is what I ended up doing: > ServerAdmin p...@fusi0n.org > ServerName svn.eratech.ca > DocumentRoot /usr/share/websvn > DirectoryIndex wsvn.php > A

Merging Properties?

2011-06-09 Thread Brian Neal
Hello, Suppose I have a file on trunk called file.txt. I put a property on it, say color with the value red. Now I copy trunk to a branch B. On branch B I change file.txt's color property to green. Now independently on trunk, I also change file.txt's color property to green. When I merge the branc

Re: problem installing subversion without berkeley DB

2011-06-09 Thread Nico Kadel-Garcia
On Thu, Jun 9, 2011 at 9:45 AM, ZXGLOSTER118, ext < ext.zxgloster...@astrium.eads.net> wrote: > Hi, > > I’m trying to install subversion 1.6.15 without bekerley DB (which is not > installed). > > I have launch the command ./configure –without-berkeley-db but when doing > make install the followin

RE: Merging Properties?

2011-06-09 Thread Sulser, Timothy (IFPRI)
Subversion only sees that the changes were made independently on precisely the same item. It knows nothing of the content or impact of that change within your code and, rightly so, will identify this situation as a conflict. Since your using Tortoise, this is easy enough to deal with in the situa

RE: Merging Properties?

2011-06-09 Thread Sulser, Timothy (IFPRI)
I'll forward this to the hive... My statement stands on how Subversion sees your changes. Subversion can't know if changing the properties to "green" simultaneously in different branches is trivial or not. A human has to know the difference. More experienced users can chime in her if this is

Re: Strange merge behaviour

2011-06-09 Thread Dirk Heinrichs
Am 09.06.2011 16:30, schrieb Sulser, Timothy (IFPRI): I don't think you'll be able to get rid of that behavior unless you change your strategy for making personal backups. The personal backup was made solely to reproduce the problem in a clean environment, without interference from other devs.

Re: Strange merge behaviour

2011-06-09 Thread Dirk Heinrichs
Am 09.06.2011 16:42, schrieb Bob Archer: Check to see if prior to your merge that file already had merge info on it. If it does then the merge info will be updated on that item, even if that item is not modified by the diff. OK, but how do I get rid of this, it's really irritating for the use

RE: SVN Best Practices

2011-06-09 Thread Andreas Tscharner
> I'm working on a document that states the industry's best > practices for SVN and would appreciate some guidance. Can > anyone share or direct me to a good site that has useful > information that engineers have discovered while working with > SVN? I know I can read the SVN manual and did, but l