Re: [Codestriker-user] display of entire file contents with diffs highlighted
Brought to you by:
sits
From: David S. <si...@us...> - 2004-08-29 23:38:44
|
Hi Rob, > the diff output) are empty. The line numbers appear, but not the lines > themselves. I imagine this is because Codestriker does not have the > needed "link to a SCM repository", and so it just leaves the lines in > its display empty. This means something has gone wrong when Codestriker has tried to fetch the actual code from the Perforce repository. Check your apache error log file, there should be a message in there which will hopefully indicate what the problem is. Ideally, this text should appear in the browser window, I'll look into fixing that. You need to make sure the user running the web server process (eg nobody or apache) has permissions to access the perforce repository. If you define the repository in @valid_repositories within codestriker.conf 'perforce:sits:sits2@localhost:1666' when you click on a "Line XXX" or "Parallel" link, say for filename "zot.c" revision 4, this will execute the command: p4 -H localhost -p 1666 -u sits -c sits2 print -q zot.c#4 The stdout from this command is then picked up by Codestriker, and used to form the complete view. Try executing this command as the webserver user to see if it works or not. -- Cheers, David |