I'm having really a hard time using the Subversion (1.6.5) API in Perl.
I'm simply trying to get the status of a WC. In my Perl script I have
my $status_receiver = sub {
my ($path, $status) = @_;
say "$status $path";
};
SVN::Client::status($ctx, $path, $revision, $status_receiver, $recursive,
$get_all, $update, $no_ignore);
This is just an extract, so all varibales are defined and status_receiver is
called correctly.
The documentation says that "$path is the pathname of the file or directory
which status is being
reported. $status is a svn_wc_status_t object". The only documentation about
svn_wc_status_t that I could find is
http://svn.collab.net/svn-doxygen/structsvn__wc__status__t.html, which refers
to svn_wc_status2_t
(http://svn.collab.net/svn-doxygen/structsvn__wc__status2__t.html) which
doesn't help much.
How do I use $status in status_receiver?
Thanks
Giulio
Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447