Commit Graph

13 Commits

Author SHA1 Message Date
Durham Goode
b287ed5fb6 Use a single table for many repos
Switches to using a single table for many repos instead of multiple databases.

Changes the headbookmarks table to be a pushkeys table using the pushkeys
namespace convention.
2014-01-02 11:06:45 -08:00
Durham Goode
64af581fa1 Fix error with transaction offsets, plus a bunch of tweaks 2013-12-10 19:00:55 -08:00
Durham Goode
a30ef476ad Catch sql unlock errors, so they don't hide real errors 2013-11-27 11:16:45 -08:00
Durham Goode
83eee89448 Get rid of global variables
Create sqllocalrepo class that manages the sql connection
2013-11-21 12:32:05 -08:00
Durham Goode
fc39c7a376 Increase mysql idle timeout to 5 minutes
Move public phase boundary forward during sync
Thread syncdb so we pull from the db at the same time we are writing to the
revlogs. Also use a buffered revlog so we only flush at the very end.
Clear repo._filecache after syncing in order to force the changelog to update.
2013-10-31 10:37:49 -07:00
Durham Goode
43a7de50fb Split large files into multiple records 2013-10-30 13:41:33 -07:00
Durham Goode
5baeae4cf4 Add revisions in linkrev order 2013-10-29 15:55:43 -07:00
Durham Goode
384d770abd Add sqlrecover command
Add createdtime to revs table
Allow pulls into the repo
2013-10-29 12:55:14 -07:00
Durham Goode
3501e57b92 Add revlog validation and fix transaction truncating 2013-10-28 18:57:18 -07:00
Durham Goode
91f0ca4206 Enable bookmark/head sync 2013-10-28 16:09:47 -07:00
Durham Goode
1b6e441663 Fix path bug and fix i/d files 2013-10-17 17:15:41 -07:00
Durham Goode
ec4bd7e3d9 Add transaction hooks and attempt to get .d working 2013-10-17 16:47:34 -07:00
Durham Goode
cedf7a6d6e Initial prototype 2013-10-17 16:46:12 -07:00