Checkout Tools
  • last updated 8 hours ago
Constraints: committers
Constraints: files
Constraints: dates

Changeset 1082696 is being indexed.

Remove svn_wc__db_openmode_t and its references. We no longer use it, and

SQLite handles its functionality for us automatically.

* subversion/tests/libsvn_wc/db-test.c

(create_open): Remove smode param, and don't use it to open the database.

(test_getting_info, test_inserting_nodes, test_children, test_working_info,

test_pdh, test_scan_addition, test_scan_deletion, test_global_relocate,

test_work_queue): Update callers.

* subversion/libsvn_wc/wc_db.h

(svn_wc__db_openmode_t): Remove.

(svn_wc__db_open): Remove openmode_t param, and update docstring.

* subversion/libsvn_wc/wc_db_wcroot.c

(svn_wc__db_open): Remove param, and don't set it in the struct.

* subversion/tests/libsvn_wc/entries-compat.c


* subversion/libsvn_wc/adm_ops.c


* subversion/libsvn_wc/adm_files.c


* subversion/libsvn_wc/context.c


* subversion/libsvn_wc/upgrade.c


* subversion/libsvn_wc/cleanup.c


* subversion/libsvn_wc/lock.c

(alloc_db, svn_wc_adm_probe_open3):

Update callers.

* subversion/libsvn_wc/wc_db_private.h

(svn_wc__db_t): Remove mode member.

  1. … 10 more files in changeset.
Make the 'always open wc.db as readwrite' hack official. This change just

makes official what we've been doing for a while.

Even if requested to open in read/write mode, if the underlying filesystem is

read-only, the open will still succeed, and only fail upon an attempt to write

the database.

* subversion/libsvn_wc/wc_db_wcroot.c

(svn_wc__db_wcroot_parse_local_abspath): Codify our decision to always open

the sqlite database as read/write.

* subversion/libsvn_wc/wc_db_private.h

(svn_wc__db_wcroot_parse_local_abspath): Remove param and update docs.

* subversion/libsvn_wc/wc_db.c,


Update callers.

  1. … 3 more files in changeset.
* subversion/libsvn_wc/wc_db_wcroot.c

(get_path_kind): Use svn_stringbuf_set()'s code for growing the buffer

instead of reimplementing that function locally.

* subversion/libsvn_wc/wc_db_wcroot.c

(header): Fix filename in comment.

PDHs are dead, long live the WCROOT!

* subversion/libsvn_wc/wc_db_pdh.c:

Renamed to...

* subversion/libsvn_wc/wc_db_wcroot.c


  1. … 1 more file in changeset.