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

RE: svn blame command Line

From: <nicklist_at_planet.nl>
Date: Wed, 16 Apr 2008 14:19:38 +0200

Take a look at svnkit, which is a complete java api to Subversion [1]. That way you don't have to worry about svn commandline (is SVN installed, is SVN in the path, can I write my output somewhere, etc).

Hth,

Nick S.

[1] http://svnkit.com/

-----Original Message-----
From: APIT [mailto:anis.oueslati_at_piterion.com]
Sent: Wed 4/16/2008 13:49
To: users_at_subversion.tigris.org
Subject: svn blame command Line
 

I was trying to execute the svn blame from a Command line in Windows throw
this this code
  
 String Command = "svn blame "+svnfileUrl;
                 Process svnblame = Runtime.getRuntime().exec(Command);
                 
                    BufferedReader Resultset = new BufferedReader(
                                    new InputStreamReader (
                                            svnblame.getInputStream()));
             
                    String line;
                    FileWriter file = new
FileWriter("C:\\SVNBlameCommad.txt");
                    file.write(Command);
                    while ((line = Resultset.readLine()) != null) {
                               file.write(line);
                            }
                    file.close();

I had no result from in the Text file
the connection is allrady made caus this code sample is called in an other
module that makes the connection
Please Help

-- 
View this message in context: http://www.nabble.com/svn-blame-command-Line-tp16721075p16721075.html
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-16 14:21:08 CEST

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

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