Re: [Codestriker-user] Creating subversion diffs ignoring whitespace changes
Brought to you by:
sits
|
From: David S. <si...@us...> - 2006-08-24 23:48:10
|
Hi Keith,
> $cmd = "\"$Codestriker::svn\" diff --non-interactive --no-auth-cache
> " .
> $self->{userCmdLine} . " -r $start_tag:$end_tag " .
> "--old \"$self->{repository_url}\" --diff-cmd diff -x -uw
> \"$module_name\"";
I'd recommend putting the full path to the diff command, eg:
--diff-cmd /usr/bin/diff -x -uw \"$module_name\""
just to make sure the webserver is picking up the right process.
After this line, try adding:
print STDERR "Command is $cmd\n";
Then check how this line (this will appear in apache's error_log file)
compares to your command line that you have typed out. Hopefully this
will make it clear what the difference might be.
The other thing to try is running your command as the same user as the
web-server.
Please let us know how you go.
Cheers,
David
|