Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
Does anybody know if there is a way to make Codestriker show
all lines in parallel view, but not onle the differences?
Thank you in advamce.
This sounds to me like you don't have Codestriker being able to talk to your source code control system (eg, CVS, subversion) correctly. Check your apache error logs for further clues, and search over the mailing lists for ideas.
The usual culprits are insufficient permissions for the user running the webserver to access your SCM repository without entering a password.
Thanks a lot. Really it was wrong path to the repository. After correcting the path everything works fine excepts for the files containing '@' char in their path.
Codestriker does not show all the lines for such files. Path name is
Apache log says there are errors:
[Tue Jul 03 12:07:45 2007] [error] [client 192.168.1.202] d:/program files/subversion/bin/svn.exe
[Tue Jul 03 12:07:45 2007] [error] [client 192.168.1.202] svn: Syntax error parsing revision 'BvTrBvFKQresCount_Update.sql'\r
And then a lot of the same errors:
[Tue Jul 03 12:07:45 2007] [error] [client 192.168.1.202] [Tue Jul 3 12:07:44 2007] codestriker.pl: Use of uninitialized value in concatenation (.) or string at D:/TOOLS/codestriker-1.9.2/bin/../lib/Codestriker/Action/ViewTopicFile.pm line 149.
The key error message is here:
svn: Syntax error parsing revision 'BvTrBvFKQresCount_Update.sql
This is an error message from subversion itself. It is because it has a special syntax, when @ is in the file name, it expects the revision number to appear after it.
This seems to be a known problem in Subversion: http://svn.haxx.se/users/archive-2005-06/0078.shtml.
We might be able to work around this however. Can you go to lib/Codestriker/Repository/Subversion.pm. Around line 106, you should see:
$filename =~ s/ /%20/g;
After this line, can you add:
$filename =~ s/\@/%40/g;
Save the file, restart apache, and please let me know if that fixes the problem.
Thank You very much David !!!
I added the same line after line 49.
Great - good to hear that has fixed it. I've committed the change so we'll see this in the next release.
Looks like problem not in the security or rep path, we have one review with some files changed, of course all files are in the same repository, so the problem is that I can see paralel view for one changed file and cannot do it for another in the same review! (it shows only changed lines).
What repository type are you using - CVS or subversion? You will see an error message in the apache logs which will explain what might have gone wrong.