On 9 Aug 2012, at 21:37, Kevin Golding wrote:

> On 9 Aug 2012, at 16:26, Kevin A. McGrail wrote:
> 
>> Can you add a few debug statements and see which scenario in 
>> get_current_svn_revsion is being used?
> 
> Well I put print statements in every conditional in that sub and nothing came 
> out. So either I did something very wrong or it's weirder than I thought.

Okay, that looks depressingly simple I guess... I added in extra statements 
outside the conditionals and it proved I'm not successfully entering any of 
them.  It looks like my problem is line 998:

  if (-d "$dir/.svn" || -f "$dir/svninfo.tmp") {

At that point $dir = /usr/home/masscheck/trunk/masses

I have a /usr/home/masscheck/trunk/.svn but no 
/usr/home/masscheck/trunk/masses/.svn and no sign of any svninfo.tmp anywhere.  
Weirdly it looks as if the script creates svninfo.tmp inside the test to see if 
it exists, which means it will logically never get created as far as I can see.

Just an early morning observation.

I may try nuking the svn repo and rebuilding it in a bit.

Kevin

Reply via email to