RE: Cannot tell where repository lives
From: Tony Sweeney <tsweeney_at_omnifone.com>
Date: Wed, 28 Aug 2013 17:27:54 +0000
I think this may be possible with Apache rewrite rules. It's possible that 'newstuff' URLs redirect to a different server, rather than being served locally by mod_dav_svn.
________________________________
Hello,
I have a problem with my repository. The person who created it is on vacation, and I have been tasked with adding some pre-commit hooks.
Well, I did, and they work. But come to find out the structure has been changed. The old structure is still in place, and responds to the hooks. The new structure points to a URL on the same virtual machine, but all interaction with the new structure completely ignores the hooks. For example:
http://mysvnserver/projectbase/newstuff is utterly immune to anything I put in the hooks directory.
projectbase corresponds to the directory path "/tracsvn/projects/svn/projectbase" on the virtual machine.
My question is, how can this be? Is it possible that oldstuff and newstuff somehow use separate repositories? I couldn't find evidence of another repository on this virtual machine. As per google, my method of looking was to search for "db" directories, and look inside of them to find fs-type files. (The one I found for the old stuff says that we're using fsfs.) Is there a better way to do this? Alternatively, can I somehow query the database to prove that this particular location does or does not contain "newstuff"?
The projectbase corresponding to "oldstuff" contains a "hooks" directory as well as dav, db and locks. My version is 1.6.6 (r40053)
I appreciate any help you can give me.
Kerry Thurber
______________________________________________________________________
No virus found in this message.
______________________________________________________________________
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.