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

Re: Is there a way to get the TSVNStatus from a file without using the Tortoise Libraries?

From: Kln <florian.falk_at_gmx.de>
Date: Tue, 29 Jul 2008 01:52:59 -0700 (PDT)

As a little addition: I found out that the SubWCRev Interface can help
me, but it's included only in the newest version of tortoise. My
current problem is:

1. I cannot use SubWCRev Com-Interface. It isn't included in pre 1.5.1
versions. Not every user of my program uses the newest version of
2. I cannot use svn status ... because this is not installed with the
Tortoise Installation
3. I cannot use the svn libraries because they(there are also much
third party libraries like the apache libs)constantly change their
exported interfaces. Thats why for every version of svn i have to
invest a not really little bunch of time to find out whats wrong and
to write a entirely new com-component for every version that needs an
extra handling.

I will try to use SubWCRev.exe to get my results. I hope this file is
language independent and will still be included in future revisions.

Thanks for your tipps Andy.

Best Regards,


On 29 Jul., 09:27, Kln <florian.f..._at_gmx.de> wrote:
> Hi,
> thanks for your Answer.
> I already use the command line client(TortoiseProc) to control update,
> commit and other commands. But there is no way to get the file status
> out of it(at least no way i know). I just found the SubWCRev COM
> Interface, but there is also nothing about getting the file
> status(versioned, unversioned, modified, deleted, replaced,
> conflicted). I know that there is the Interface Method/Property
> "HasModification", but this is not enough(at least i think so).
> I would be really thankfull if someone could tell me a way to get the
> status in a version independent way.
> At the moment i use the svn_client_status3 method which is
> encapsulated in the SVNStatus c++ class delivered with the TortoiseSVN
> Source.
> Best Regards,
> Florian
> On 28 Jul., 17:44, "Andy Levy" <andy.l..._at_gmail.com> wrote:
> > On Mon, Jul 28, 2008 at 11:27, Kln <florian.f..._at_gmx.de> wrote:
> > > Hi,
> > > i wrote a program that uses the command line to control Tortoise
> > > commands like checkout, update... and so on.
> > > I also mirrored the file-status tree-view of the windows explorer in
> > > my program. Just a little bit easier. I just wanted to show the
> > > statuses "unchanged" and "changed" and give the user the posibility to
> > > use "update" and "commit" over my project interface.
> > > Previously i used the exported interfaces of the libraries included in
> > > the Tortoise Sourcecode(encapsulated in the class TSVNStatus). Now,
> > > after Version 1.5.1 it doesn't works anymore(one of the dozens of
> > > needed libraries does not work anymore. I get the error "At least one
> > > required implicit or forwarded dependency was not found.").
> > > I'm searching now for an easy possibility to ask an version
> > > independent Tortoise Interface or even Tortoise over the command line
> > > what status a file has. Does someone know if there is a way to do
> > > that?
> > If you're doing any scripting and/or automating which needs to parse
> > output, you should be using the Win32 command-line client, not a GUI
> > client. Or using the language bindings/APIs offered for COM, Python,
> > Perl, Ruby, etc. if that's more your taste.
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr..._at_tortoisesvn.tigris.org
> > For additional commands, e-mail: users-h..._at_tortoisesvn.tigris.org
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr..._at_tortoisesvn.tigris.org
> For additional commands, e-mail: users-h..._at_tortoisesvn.tigris.org

To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-07-29 10:57:47 CEST

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.