Menu

Trac Commit Log


Commit Date  
[r9809] by cboos

Move `with_transaction` and `get_read_db` from `trac.db.util` to `trac.db.api`.

2010-06-01 16:18:43 Tree
[r9808] by cboos

env: unify `get_db_cnx` with `get_read_db`.

As ''transaction-safe'' usage of db connection require the use of `with_transaction`, the legacy `get_db_cnx` which was used to indifferently get connections for reading or for writing should not be used anymore. However, as we continue to support it for 0.12.x, it can nevertheless be made aware of the new mechanism by doing the same thing as `get_read_db`:
- when used for reading, it can therefore benefit from the immediate reuse of the thread-local Connection used for the transaction in progress, if there is one
- when used for writing, what happens is not worse than before, the "explicit" transaction management (i.e. the `commit` pairing the `get_db_cnx`) may terminate a transaction sooner than wanted, in the case this was a nested transaction

2010-06-01 16:17:40 Tree
[r9807] by nzoltan

l10n/hu: minor proofing

2010-05-31 11:44:53 Tree
[r9806] by cboos

trac.version: allow bootstrap during initial setup, as we now need to be able to import some trac packages (`trac.util.dist`) from setup.py.

Closes #9374.

2010-05-31 07:52:47 Tree
[r9805] by rmorales

l10n/es_AR: translations updated (93%)

2010-05-30 16:14:14 Tree
[r9804] by itamaro

l10n/he: added messages-js catalog for javascript Hebrew messages. (100%)

2010-05-29 21:31:48 Tree
[r9803] by itamaro

l10n/he: updates to the Hebrew catalog. (100%)

2010-05-29 21:15:33 Tree
[r9802] by wdiestel

l10n/eo: two small fixes

2010-05-29 18:46:17 Tree
[r9801] by rblank

versioncontrol: Avoid duplicate repository warnings due to a race condition on startup.

Closes #9362.

2010-05-29 18:30:00 Tree
[r9800] by fschwarz

l10/de: update translations to match latest pot and add JS translations, all work done by Daniel Musketa (see #5457)

2010-05-29 12:12:20 Tree
Older >