summaryrefslogtreecommitdiff
path: root/revision_store.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove old FSF address. Thanks Dan Callaghan.Jelmer Vernooij2011-10-061-2/+1
|
* Avoid deprecated Inventory.__contains__.Jelmer Vernooij2011-07-201-1/+1
|
* Avoid use of Repository.revisions, which may not be set.Jelmer Vernooij2010-12-111-10/+9
|
* Support get_file_text in _TreeShim.Jelmer Vernooij2010-10-261-4/+7
|
* Include the known_graph code.John Arbash Meinel2010-01-051-2/+38
|\
| * Some debugging code. It looks like the main bugs involve files that are ↵John Arbash Meinel2009-12-011-3/+9
| | | | | | | | deleted and restored.
| * Use the new KnownGraph.add_node() functionality.John Arbash Meinel2009-11-301-2/+32
| | | | | | | | | | | | | | | | | | | | This changes the file_id heads lookups to use a KnownGraph over all revision-ids which should be a lot better than using a regular Graph instance. Initial testing w/ xserver doesn't show much, since it seems to be purely linear for quite a bit of x history. Oddly enough the heads result seems to give a different number of file texts which is worrying.
* | Add a bunch of direct tests for the _TreeShim interface.John Arbash Meinel2009-12-091-3/+12
|/
* The fix that landed in bzr did not set builder.new_inventory. :(John Arbash Meinel2009-11-301-1/+1
| | | | | This still works, but it means that we don't keep the in-memory deserialized bits from the previous inventory. Instead we start from-scratch each time.
* Fall back to the repository for cases where the content is not present in ↵John Arbash Meinel2009-11-121-3/+14
| | | | the stream yet.
* We need to handle when the object has been deleted.John Arbash Meinel2009-11-121-11/+33
|
* Found a bug in CommitBuilder.finish_inventory().John Arbash Meinel2009-11-121-0/+7
| | | | | | | | | | It turns out that the add_revision_by_delta code was not properly setting inv_sha1, but it didn't matter because apparently the other code wasn't really using it.... Anyway, this gives us a proper new inventory, and seems to generally be working. The next step is that the 'merge' file text is not present because the delta stream does not contain it...
* (broken) Start working towards using CommitBuilder rather than using a ↵John Arbash Meinel2009-11-121-19/+108
| | | | custom implementation.
* Get fastimport working on non-chk repositories again for bzr versions after ↵Ian Clatworthy2009-10-261-1/+1
| | | | 2.0.0
* Improve diagnostics collection when inconsistent delta foundIan Clatworthy2009-08-221-4/+9
|
* use inv deltas by default for all formats now: --classic to get old ↵Ian Clatworthy2009-04-051-8/+18
| | | | algorithm for packs
* back out cache propagation until more reliableIan Clatworthy2009-03-231-1/+1
|
* fix per-graph parent handling for adds and renamesIan Clatworthy2009-03-161-4/+7
|
* make per-file parents tuples and fix text loading in chk formatsIan Clatworthy2009-03-161-3/+4
|
* improve per-file graph generationIan Clatworthy2009-03-121-46/+101
|
* minor revision_store clean-upsIan Clatworthy2009-03-121-13/+3
|
* store empty texts for non-files for chk formats, not just other formatsIan Clatworthy2009-03-111-8/+9
|
* parent_id_to_basename_index is no longer a serializer attribute - always ↵Ian Clatworthy2009-03-091-7/+5
| | | | required now
* use new propagate_caches parameter on create_by_apply_deltaIan Clatworthy2009-03-071-1/+2
|\
| * use new propagate_caches parameter on create_by_apply_deltaIan Clatworthy2009-03-071-1/+2
| |
* | performance tweaks for chk formatsIan Clatworthy2009-03-071-16/+91
|\ \ | |/
| * smarter RevisionStore.chk_load()Ian Clatworthy2009-03-071-14/+90
| |
| * use iter_non_root_entries if it existsIan Clatworthy2009-03-061-14/+13
| |
* | initial working version for CHKInventory-based formatsIan Clatworthy2009-03-061-10/+43
|\ \ | |/
| * ensure the chk stuff is only used on formats actually supporting itIan Clatworthy2009-03-051-4/+4
| |
| * set maximum_size & key_width for initial parent_id_basename_to_file_id mapIan Clatworthy2009-03-051-3/+6
| |
| * improved-but-not-yet-working CHKInventory supportIan Clatworthy2009-03-051-10/+40
| |
* | fix ie reference in _get_file_lines()Ian Clatworthy2009-03-061-1/+1
|/
* get DeltaCommitHandler passing all testsIan Clatworthy2009-02-201-0/+23
|
* merge import tests and tweaks to make them passIan Clatworthy2009-02-201-2/+6
|
* basic DeltaCommitHandler generating deltasIan Clatworthy2009-02-191-0/+2
|
* generalise RevisionLoader to RevisionStore as a repo abstractionIan Clatworthy2009-02-191-0/+360