[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 00:27:46 -0700 (PDT)

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-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-07-29 09:49:05 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.