[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn: E125001: Can't determine the user's config path

From: xiaobofei <xiaobofei_at_163.com>
Date: Sun, 15 Jan 2012 19:18:49 +0800

Hi,
I am trying to run a SVN(Subversion)command line tool from an ASP.NET application.
The command is "svn log d:\prog\prog.name". It works fine from command line. When i run it using System.Diagnostics.Process.Start(), it is not returning the data, instead if i read the standard error output, it is giving the following message.
svn: Can't determine the user's config path

Here's the code i am using:
        Dim pro As New Process
        pro.StartInfo.FileName = "C:\Program Files\TortoiseSVN\bin\svn.exe"
        pro.StartInfo.Arguments =" log d:\prog\prog.name"
        pro.StartInfo.CreateNoWindow = True
        pro.StartInfo.UseShellExecute = False
        pro.StartInfo.RedirectStandardOutput = True
        pro.StartInfo.RedirectStandardError = True
        pro.StartInfo.RedirectStandardInput = True
        Try
            pro.Start()
        Catch ex As Exception
            Response.Write(ex.Message)
        End Try
        tmpstr = pro.StandardOutput.ReadToEnd.ToString
        tmpstr = pro.StandardError.ReadToEnd.ToString

it worked in xp os;
no i work it in the windows 7(server 2008),both failed!
any clues will be appreciated!
2012-01-15

xiaobofei

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2908913

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-01-15 23:55:32 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.