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

« back to all changes in this revision

Viewing changes to subversion/libsvn_wc/wc.h

  • 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:
158
158
 * Bumped in r1395109.
159
159
 *
160
160
 * == 1.8.x shipped with format 31
161
 
 * 
 
161
 *
162
162
 * Please document any further format changes here.
163
163
 */
164
164
 
253
253
apr_pool_t *
254
254
svn_wc__get_committed_queue_pool(const struct svn_wc_committed_queue_t *queue);
255
255
 
256
 
 
257
 
/** Internal helper for svn_wc_process_committed_queue2().
258
 
 *
259
 
 * ### If @a queue is NULL, then ...?
260
 
 * ### else:
261
 
 * Bump an item from @a queue (the one associated with @a
262
 
 * local_abspath) to @a new_revnum after a commit succeeds, recursing
263
 
 * if @a recurse is set.
264
 
 *
265
 
 * @a new_date is the (server-side) date of the new revision, or 0.
266
 
 *
267
 
 * @a rev_author is the (server-side) author of the new
268
 
 * revision; it may be @c NULL.
269
 
 *
270
 
 * @a new_dav_cache is a hash of dav property changes to be made to
271
 
 * the @a local_abspath.
272
 
 *   ### [JAF]  Is it? See svn_wc_queue_committed3(). It ends up being
273
 
 *   ### assigned as a whole to wc.db:BASE_NODE:dav_cache.
274
 
 *
275
 
 * If @a no_unlock is set, don't release any user locks on @a
276
 
 * local_abspath; otherwise release them as part of this processing.
277
 
 *
278
 
 * If @a keep_changelist is set, don't remove any changeset assignments
279
 
 * from @a local_abspath; otherwise, clear it of such assignments.
280
 
 *
281
 
 * If @a sha1_checksum is non-NULL, use it to identify the node's pristine
282
 
 * text.
283
 
 *
284
 
 * Set TOP_OF_RECURSE to TRUE to show that this the top of a possibly
285
 
 * recursive commit operation.
286
 
 */
287
 
svn_error_t *
288
 
svn_wc__process_committed_internal(svn_wc__db_t *db,
289
 
                                   const char *local_abspath,
290
 
                                   svn_boolean_t recurse,
291
 
                                   svn_boolean_t top_of_recurse,
292
 
                                   svn_revnum_t new_revnum,
293
 
                                   apr_time_t new_date,
294
 
                                   const char *rev_author,
295
 
                                   apr_hash_t *new_dav_cache,
296
 
                                   svn_boolean_t no_unlock,
297
 
                                   svn_boolean_t keep_changelist,
298
 
                                   const svn_checksum_t *sha1_checksum,
299
 
                                   const svn_wc_committed_queue_t *queue,
300
 
                                   apr_pool_t *scratch_pool);
301
 
 
302
256
 
303
257
/*** Update traversals. ***/
304
258
 
612
566
                                              void *cancel_baton,
613
567
                                              apr_pool_t *scratch_pool);
614
568
 
615
 
/* Library-internal version of svn_wc__node_get_schedule(). */
616
 
svn_error_t *
617
 
svn_wc__internal_node_get_schedule(svn_wc_schedule_t *schedule,
618
 
                                   svn_boolean_t *copied,
619
 
                                   svn_wc__db_t *db,
620
 
                                   const char *local_abspath,
621
 
                                   apr_pool_t *scratch_pool);
622
 
 
623
569
/* Internal version of svn_wc__node_get_origin() */
624
570
svn_error_t *
625
571
svn_wc__internal_get_origin(svn_boolean_t *is_copy,
627
573
                            const char **repos_relpath,
628
574
                            const char **repos_root_url,
629
575
                            const char **repos_uuid,
 
576
                            svn_depth_t *depth,
630
577
                            const char **copy_root_abspath,
631
578
                            svn_wc__db_t *db,
632
579
                            const char *local_abspath,
634
581
                            apr_pool_t *result_pool,
635
582
                            apr_pool_t *scratch_pool);
636
583
 
637
 
/* Internal version of svn_wc__node_get_repos_info() */
638
 
svn_error_t *
639
 
svn_wc__internal_get_repos_info(svn_revnum_t *revision,
640
 
                                const char **repos_relpath,
641
 
                                const char **repos_root_url,
642
 
                                const char **repos_uuid,
643
 
                                svn_wc__db_t *db,
644
 
                                const char *local_abspath,
645
 
                                apr_pool_t *result_pool,
646
 
                                apr_pool_t *scratch_pool);
647
 
 
648
584
/* Upgrade the wc sqlite database given in SDB for the wc located at
649
585
   WCROOT_ABSPATH. It's current/starting format is given by START_FORMAT.
650
586
   After the upgrade is complete (to as far as the automatic upgrade will
699
635
 */
700
636
svn_error_t *
701
637
svn_wc__read_conflicts(const apr_array_header_t **conflicts,
 
638
                       svn_skel_t **conflict_skel,
702
639
                       svn_wc__db_t *db,
703
640
                       const char *local_abspath,
704
641
                       svn_boolean_t create_tempfiles,
 
642
                       svn_boolean_t only_tree_conflict,
705
643
                       apr_pool_t *result_pool,
706
644
                       apr_pool_t *scratch_pool);
707
645
 
785
723
                                   apr_pool_t *pool,
786
724
                                   apr_pool_t *scratch_pool);
787
725
 
788
 
/* Revert tree LOCAL_ABSPATH to depth DEPTH and notify for all
789
 
   reverts. */
790
 
svn_error_t *
791
 
svn_wc__revert_internal(svn_wc__db_t *db,
792
 
                        const char *local_abspath,
793
 
                        svn_depth_t depth,
794
 
                        svn_boolean_t use_commit_times,
795
 
                        svn_cancel_func_t cancel_func,
796
 
                        void *cancel_baton,
797
 
                        svn_wc_notify_func2_t notify_func,
798
 
                        void *notify_baton,
799
 
                        apr_pool_t *scratch_pool);
800
 
 
801
726
svn_error_t *
802
727
svn_wc__node_has_local_mods(svn_boolean_t *modified,
803
728
                            svn_boolean_t *all_edits_are_deletes,
804
729
                            svn_wc__db_t *db,
805
730
                            const char *local_abspath,
 
731
                            svn_boolean_t ignore_unversioned,
806
732
                            svn_cancel_func_t cancel_func,
807
733
                            void *cancel_baton,
808
734
                            apr_pool_t *scratch_pool);