Menu

Trac Commit Log


Commit Date  
[r8672] by rblank

MultiRepos: Changed the primary key to identify a repository in the database from the `reponame` to a surrogate key `id`. The `reponame` is now contained in the `repository` table, in the "name" entry.

Warning: This changeset introduces a database upgrade.

Part of #8731.

2009-10-18 21:08:48 Tree
[r8671] by cboos

#8751: start the branch with the last patch from Jan Schukat.

2009-10-18 20:11:16 Tree
[r8670] by cboos

#8751: start a branch to generalize the usage of the `with_transaction` decorator.

2009-10-18 19:40:30 Tree
[r8669] by cboos

psycopg2 and MySQLdb didn't handle correctly `execute()` arguments which were subclasses of `unicode`.

For psycopg2, we register explicit adapters.
For MySQLdb, we reuse the converter of the types.UnicodeType for the Markup class (Empty was OK since string_literal can convert it to `''`).

Fixes #8740 (Empty class, introduced in r8661) and #3501 (Markup class).

Thanks to harald.radi@... for contributing a fix in #3501.

2009-10-18 16:43:14 Tree
[r8668] by cboos

Reformat db tests within 79 chars per line.

2009-10-18 16:42:06 Tree
[r8667] by rblank

0.11-stable: Escape messages when storing them in the session, and wrap them in `Markup` on retrieval, so that HTML messages are not escaped.

Part of #8750.

2009-10-17 12:56:41 Tree
[r8666] by rblank

0.12dev: Replaced the last two uses of the `plural()` macro with `ngettext()` and removed the macro from `macros.html`.

2009-10-14 22:38:31 Tree
[r8665] by rblank

0.11-stable: Be more robust against `NULL` values in the `last_visit` column of the `session` table.

Closes #8739.

2009-10-14 21:21:02 Tree
[r8664] by cboos

TracMercurial for 0.12: better handle empty repositories, show -1/nullid revision instead of an error.

2009-10-13 08:21:44 Tree
[r8663] by cboos

TracMercurial for 0.12: handle the case of an emptied repository.

Thanks to mikei@... for the report and initial patch.

Fixes #8685.

2009-10-13 08:19:21 Tree
Older >
MongoDB Logo MongoDB