~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to subversion/bindings/swig/perl/native/Repos.pm

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2015-08-07 21:32:47 UTC
  • mfrom: (0.2.15) (4.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20150807213247-ozyewtmgsr6tkewl
Tags: 1.9.0-1
* Upload to unstable
* New upstream release.
  + Security fixes
    - CVE-2015-3184: Mixed anonymous/authenticated path-based authz with
      httpd 2.4
    - CVE-2015-3187: svn_repos_trace_node_locations() reveals paths hidden
      by authz
* Add >= 2.7 requirement for python-all-dev Build-Depends, needed to run
  tests.
* Remove Build-Conflicts against ruby-test-unit.  (Closes: #791844)
* Remove patches/apache_module_dependency in favor of expressing the
  dependencies in authz_svn.load/dav_svn.load.
* Build-Depend on apache2-dev (>= 2.4.16) to ensure ap_some_authn_required()
  is available when building mod_authz_svn and Depend on apache2-bin (>=
  2.4.16) for runtime support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
=over
44
44
 
45
 
=item $repos-E<gt>dump_fs($dump_fh, $feedback_fh, $start_rev, $end_rev, $incremental, $cancel_func, $cancel_baton)
 
45
=item $repos-E<gt>dump_fs($dump_fh, $feedback_fh, $start_rev, $end_rev, $incremental, $cancel_callback)
46
46
 
47
 
=item $repos-E<gt>dump_fs2($dump_fh, $feedback_fh, $start_rev, $end_rev, $incremental, $deltify, $cancel_func, $cancel_baton)
 
47
=item $repos-E<gt>dump_fs2($dump_fh, $feedback_fh, $start_rev, $end_rev, $incremental, $deltify, $cancel_callback)
48
48
 
49
49
Create a dump file of the repository from revision C<$start_rev> to C<$end_rev>
50
50
, store it into the filehandle C<$dump_fh>, and write feedback on the progress
61
61
be done with full plain text.  A dump with @a use_deltas set cannot
62
62
be loaded by Subversion 1.0.x.
63
63
 
64
 
According to svn_repos.h, the C<$cancel_func> is a function that is called
65
 
periodically and given C<$cancel_baton> as a parameter to determine whether
66
 
the client wishes to cancel the dump.  You must supply C<undef> at the very
67
 
least.
 
64
If C<$cancel_callback> is not C<undef>, it must be a code reference
 
65
that is called periodically to determine whether the client wishes 
 
66
to cancel the dump.  See L<SVN::Client/"CANCELLATION CALLBACK"> for details.
68
67
 
69
68
Example:
70
69
 
83
82
    $repos->dump_fs2($fh, \*STDOUT,          # Dump file => $fh, Feedback => STDOUT
84
83
                     $start_rev, $end_rev,   # Revision Range
85
84
                     $incremental, $deltify, # Options
86
 
                     undef, undef);          # Cancel Function
 
85
                     undef);                 # Cancel Callback
87
86
 
88
87
    close $fh;
89
88
 
90
 
=item $repos-E<gt>load_fs($dumpfile_fh, $feedback_fh, $uuid_action, $parent_dir, $cancel_func, $cancel_baton);
 
89
=item $repos-E<gt>load_fs($dumpfile_fh, $feedback_fh, $uuid_action, $parent_dir, $cancel_callback);
91
90
 
92
 
=item $repos-E<gt>load_fs2($dumpfile_fh, $feedback_fh, $uuid_action, $parent_dir, $use_pre_commit_hook, $use_post_commit_hook, $cancel_func, $cancel_baton);
 
91
=item $repos-E<gt>load_fs2($dumpfile_fh, $feedback_fh, $uuid_action, $parent_dir, $use_pre_commit_hook, $use_post_commit_hook, $cancel_callback);
93
92
 
94
93
Loads a dumpfile specified by the C<$dumpfile_fh> filehandle into the repository.
95
94
If the dumpstream contains copy history that is unavailable in the repository,
113
112
If C<$use_post_commit_hook> is set, call the repository's
114
113
post-commit hook after committing each loaded revision.
115
114
 
116
 
If C<$cancel_func> is not NULL, it is called periodically with
117
 
C<$cancel_baton> as argument to see if the client wishes to cancel
118
 
the load.
 
115
If C<$cancel_callback> is not C<undef>, it must be a code reference 
 
116
that is called periodically to determine whether the client wishes
 
117
to cancel the load.  See L<SVN::Client/"CANCELLATION CALLBACK"> for details.
119
118
 
120
 
You must at least provide undef for these parameters for the method call
 
119
You must at least provide C<undef> for these parameters for the method call
121
120
to work.
122
121
 
123
122
Example: