Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4165

status3 not supported in perl bindings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.6.x
    • ---
    • bindings_swig_perl
    • None

    Description

      For the code below I get this error when it tries to run status3:
      TypeError in method 'svn_client_status3', argument 4 of type 
      'svn_wc_status_func2_t'
      
       $s = SVN::Client->new();
       # Standard status
       print "Using status:\n";
       $s->status("", undef,
                  sub{($path, $status) = @_;
                      print "$path,$status\n" },
                  1, 1, 1, 0);
      
       print "\n\nUsing status3:\n";
       $s->status3( "", undef,
                    sub{($path, $status) = @_;
                        print "$path,$status\n" },
                    $SVN::Core::depth_immediates, 1, 1, 0, 1, undef );
      

      Original issue reported by jimsearle

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              subversion-importer Subversion Importer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: