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.

________________________________
From: Kerry Thurber [mailto:ker...@tucsonembedded.com]
Sent: 28 August 2013 17:52
To: users@subversion.apache.org
Subject: Cannot tell where repository lives

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.
http://mysvnserver/projectbase/oldstuff responds perfectly to the hooks I have 
put in place.

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
Software Engineer
Tucson Embedded Systems
(520) 271-3329


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
________________________________

No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2013.0.3392 / Virus Database: 3211/6614 - Release Date: 08/27/13

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

Reply via email to