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

Changeset 876633 is being indexed.

* subversion/bindings/ctypes-python/csvn/

(LocalRepository.txn): Fix bug where assert is always true. (This also

fixes a warning in Python 2.6 and later.)

Python 3 compatibility:

Don't use deprecated members of types module.

* build/generator/

* subversion/bindings/swig/python/tests/

* subversion/bindings/swig/python/tests/

* subversion/tests/cmdline/svntest/

* tools/bdb/ Don't use deprecated members of types module.

* tools/hook-scripts/mailer/ Don't import types module.

Python 3 compatibility:

Don't use sets module.

* subversion/bindings/ctypes-python/csvn/ext/

(test_list_mixin): Use set() instead of sets.Set().

* subversion/libsvn_wc/wc_db.c

(svn_wc__db_lock_add): Don't bind the lock date if it is unspecified.

* subversion/libsvn_wc/entries.c

(write_entry): Put a temp entry on the stack.

Follow-up to r36540:

* subversion/include/svn_error_codes.h

(SVN_ERR_RA_DAV_FORBIDDEN): Fix indentation and add @since tag.

Add tag 0.33.1
Add tag 0.33.0
Add tag 0.31.0
Add tag 0.27.0
Add tag 0.18.1
Add tag 0.20.1
Add tag 0.17.1
Add tag 0.19.1
Add tag 0.35.0
Add tag 0.22.2
Add tag 0.37.0
Add tag 1.0.0
* subversion/libsvn_ra_neon/util.c(generate_error): Return

SVN_ERR_RA_DAV_FORBIDDEN for 403 errors.

Approved by: rhuijben


* subversion/include/svn_error_codes.h: Add error code


Approved by: rhuijben


Fix a couple of copy-pastos in r36529.

* subversion/libsvn_wc/wc_db.c

(svn_wc__db_read_pristine_props): Use the correct sql statement, and fix

a comment.

Fix some problems when running on Windows (due to its silly path separators)

* subversion/tests/cmdline/svntest/

(to_relpath, to_ospath): helper functions to convert a path to an

internal, relative path, or to an OS path.

(State.remove): remove old path conversion code and use helper

(State.tweak): remove old path conversion code and use helper

(State.normalize): use new helper rather than a direct replace call.

(State.from_status, State.from_skipped, State.from_summarize,

State.from_checkout, State.from_commit, State.from_wc): use new

helper function, particularly when inserting entries into the

self.desc dictionary.

Move the lock writing code over the wc_db. To do this, we need to do a bunch

of other leg work inside entries.c.

The battle continues...

* subversion/libsvn_wc/entries.c

(statement_keys, statements): Remove statement.

(insert_lock): Remove.

(write_entry): Add a couple of extra params so we can use the wc_db APIs.

Also, call wc_db to write locks.

(entries_write_txn_baton): Add adm_access member.

(entries_write_body): Get the entry abspath so we can use it in

write_entry(). Also fetch the correct wc_db.

(svn_wc__entries_write): Cache the adm_access baton.

(svn_wc__entries_init): Open the wc_db, in parallel with the raw sqlite db.

This is completely hacking, and should disappear eventually.

* subversion/libsvn_wc/wc_db.c

(statement_keys, statements): New statement.

(svn_wc__db_lock_add): New.

* subversion/libsvn_wc/wc_db.h

(svn_wc__db_lock_add): Add and doc.

* subversion/libsvn_wc/wc_db.c

(parse_local_abspath): Always open the db in readwrite mode, with a

little explanitory note as to why.

More de-transaction-ifing in entries.c, this time with write_entries().

* subversion/libsvn_wc/entries.c

(entries_write_txn_baton): Remove.

(entries_write_body): Reorder parameters, and don't use the baton for them.

(svn_wc__entries_write): Call the writing function directly, instead of

wrapping it with a transaction.

* subversion/libsvn_wc/wc_db.c

(svn_wc__db_op_set_props): When writing to the db, be sure to open it in

read-write mode.

Un transactionalize svn_wc__entries_init(). This is part of the move to

wc_db APIs in entries.c.

* subversion/libsvn_wc/entries.c

(init_txn_baton): Remove.

(init_body): Fold back into ...

(svn_wc__entries_init): ... here.

Fix typo in --help output of configure,

for new syntax of --with-berkeley-db arg.

* configure

(help text): Show proper syntax for omitting the optional arg.

Approved by: dlr

More copy/paste implementation. Perhaps there is a way to fold the

two functions together?

* subversion/libsvn_wc/wc_db.c

(svn_wc__db_read_prop): Implement.

* subversion/libsvn_wc/wc_db.h

(svn_wc__db_read_prop): Document.

* subversion/libsvn_wc/wc_db.c

(statement_keys, statements): Remove an unused statement.