SWIG bindings (Perl)
From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Mon, 4 Jan 2010 16:01:40 +0000
Hi everyone.
I am really struggling to understand how correctly use the bindings.
I have compiled Subversion 1.6.5 with Perl bindings. Subversion itself works perfectly. We have a series of scripts written in ksh at the moment but I'm working on rewriting them in Perl.
I have now reached a point where I need to detect tree conflicts after a status command.
The following subroutine works just fine
sub status_wc {
### Create a new client and authenticate, if necessary
### Get the status of the working copy and process it;
My function to check the status is called and it prints the status of every file (well, every file that SVN has something to report about).
my ($path, $status) = @_;
SVN::Client::status does not however have a way to report tree conflict (or I don't know how to).
I have tried to add the following at the end
But get the error
Can't locate object method "tree_conflict" via package "_p_svn_wc_status_t"
I have a ksh script that reproduce a tree conflict if anyone is interested.
Can anybody help me?
Thanks
Linedata Services (UK) Ltd
|
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.