trac-ticketlinks / trac / versioncontrol / cache.py

Author Commit Message Labels Comments Date
Default avatar rblank
0.12.2dev: Mention the repository name in the suggested command when a repository directory has changed.
Branches
0.12-stable
Default avatar rblank
0.12.2dev: Fixed cached properties when subclassing components, by using the name of the class where a property is ''defined'' instead of the actual class to generate the property id.
Branches
0.12-stable
Default avatar rblank
0.12.1dev: Formalize the notion of repository scope by defining a default, "empty" scope in `Repository.scope`.
Branches
0.12-stable
Default avatar cboos
0.12.1dev: fix sync of scoped svn repository, in case the scope is already present in the initial revision.
Branches
0.12-stable
Default avatar cboos
Deprecate `Environment.get_db_cnx` in favor of `Environment.with_transaction` and `Environment.get_read_db()`.
Branches
trunk
Default avatar rblank
db: Allow nesting `with_transaction()` without having to pass the database connection explicitly.
Branches
trunk
Default avatar cboos
versioncontrol/cache: PostgreSQL returned the changeset entries in a different order than the other backends (which was the same as the one given by the svn_fs backend), despite the `ORDER BY path` directive. This caused an error in the unit tests.
Branches
trunk
Default avatar cboos
svn_fs: now re-use all tests, this time on the `SvnCachedRepository`.
Branches
trunk
Default avatar rblank
versioncontrol: Refactored revision number padding for Subversion so that it doesn't interfere with other users of `CachedRepository`.
Branches
trunk
Default avatar rblank
versioncontrol: Fixed an internal error in the repository index when a Subversion repository wasn't synchronized yet.
Branches
trunk
Default avatar rblank
versioncontrol: Zero-pad Subversion revision numbers in the `revision` and `node_change` tables to avoid having to `CAST()` them to `int` in SQL queries.
Branches
trunk
Default avatar rblank
db: Converted all timestamp columns for resource tables from seconds to microseconds.
Branches
trunk
Default avatar cboos
versioncontrol: added a test for `CachedRepository.sync_changeset`, which catches the #9060 issue.
Branches
trunk
Default avatar cboos
Follow-up to r9185, don't use multi-line strings for messages that may end at the console or in the log.
Branches
trunk
Default avatar cboos
Reformatting of `RepositoryCache.sync`.
Branches
trunk
Default avatar cboos
Refactor transaction handling, using a with_transaction function decorator (paves the way for using `with transaction(env, db) as db` in future versions of Trac).
Branches
trunk
Default avatar cboos
Fix `CachedRepository.sync_changeset`, missing repos argument to Changeset constructor.
Branches
trunk
Default avatar cboos
0.12dev: merged [source:sandbox/multirepos@9124] branch on trunk.
Branches
trunk
Default avatar rblank
0.12dev: Reverted (the non-cosmetic parts of) [8973], due to weirdness in non-ASCII collations. See comment:18:ticket:8519.
Branches
trunk
Default avatar rblank
0.12dev: Added SQL argument swap missing from [8973].
Branches
trunk
Default avatar rblank
0.12dev: Replaced all (mis)uses of `LIKE` for case-sensitive prefix matching with a range condition. All remaining uses of `LIKE` are case-insensitive, so `db.like()` is left case-insensitive as well.
Branches
trunk
Default avatar rblank
0.12dev: Autumn cleaning using pylint:
Branches
trunk
Default avatar rblank
0.12dev: Merged [8351-8352] from 0.11-stable.
Branches
trunk
Default avatar rblank
0.12dev: Merged [8310-8313] from 0.11-stable.
Branches
trunk
Default avatar rblank
0.12dev: Minor consistency fixes.
Branches
trunk
Default avatar rblank
0.12dev: Render `svn:mergeinfo`, `svnmerge-integrated` and `svnmerge-blocked` to show links for merge source paths and revisions, and calculate eligible revisions for merging.
Branches
trunk
Default avatar cboos
Follow-up to r6899, need to reverse direction of sorting for `previous_rev`
Branches
trunk
Default avatar jonas
Fixed copyright year.
Branches
trunk
Default avatar cboos
vc cache: also use the same strategy for `previous_rev` (though that's not getting used much for now)
Branches
trunk
Default avatar cboos
Use the vc cache for optimizing `next_rev` (only for the Subversion backend for now)
Branches
trunk
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.