'svn' is not recognized as an internal or external command, operable program or batch file.

1,775 views
Skip to first unread message

Stefan

unread,
Mar 28, 2008, 5:13:13 AM3/28/08
to ReposStyle
I have modified the repos.xsl file.

<xsl:param name="logUrl"><xsl:value-of select="$static"/>open/log/?</
xsl:param>
i changed to
<xsl:param name="logUrl"><xsl:value-of select="$static"/>open/log/
index.php?</xsl:param>

Result when i click: 'svn' is not recognized as an internal or
external command, operable program or batch file.

I have checked the PATH variable, and it has SVN in it. I can also
type SVN in any directory on the server and call the executable.

Any ideas?

Stefan

unread,
Mar 28, 2008, 9:49:56 AM3/28/08
to ReposStyle
I called chdir before calling passthru which solved the problem
finding svn.exe.

However, it seems that the xls does not support multiple repositories.

- Stefan

Staffan Olsson

unread,
Mar 28, 2008, 11:41:14 AM3/28/08
to repos...@googlegroups.com
On Fri, Mar 28, 2008 at 2:49 PM, Stefan <stef...@broadpark.no> wrote:
>
> I called chdir before calling passthru which solved the problem
> finding svn.exe.
>
> However, it seems that the xls does not support multiple repositories.
>
> - Stefan
>

Maybe the PATH entry for svn is set on your user but not on
system/apache user? Anyway, chdir is a good solution.

It is a known problem that the log viewer wasn't designed for multiple
repositories, but the xsl should work. I must confess we haven't
tested much with SVNParentPath. We have different virtual hosts for
different repositories, and in rare cases extra Location blocks on the
same host. Could you send me some xml that shows the problem and I'll
add it to the test/sample pages.

/Staffan

Stefan

unread,
Mar 31, 2008, 10:00:28 AM3/31/08
to ReposStyle
I've added some info in your Beta 2.0 discussion.

- Stefan

On 28 Mar, 17:41, "Staffan Olsson" <sols...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages