Changes between Version 3 and Version 4 of TracDarcs/Cache
- Timestamp:
- Apr 22, 2009, 11:53:14 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDarcs/Cache
v3 v4 39 39 40 40 OTOH, if the consensum will be going with the IRepositoryChangeListener way proposed by cboos, I'll probably add the mentioned surrogate key to `darcs_changesets` anyway, to simplify TracDarcs's queries. 41 - well, OK for the arguments about repository renaming, but I don't see how surrogate keys would help for repository additions/removals, so I think this IRepositoryChangeListener is needed anyway -- cboos 41 42 42 43 == Nodes, a.k.a. the versioned tree == … … 83 84 Column('content',type=blobtype)] 84 85 }}} 86 ''Tip: adding a `size` column would do wonders for enhancing browsing speed (i.e. `Darcs Node.get_content_length` would use that info if available, revert to the slower `len(self.get_content().read())` otherwise).'' 85 87 86 88 This could go within the `darcs_node_changes` table (see, same primary key), but for practical reason it's been kept on its own.