monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision ea67d81325072cd72f8e0e304adca0a30a5610


From: monotone
Subject: [Monotone-commits-diffs] Revision ea67d81325072cd72f8e0e304adca0a30a561043
Date: Fri, 24 Sep 2010 01:52:11 +0200

----------------------------------------------------------------------
Revision: ea67d81325072cd72f8e0e304adca0a30a561043
Parent:   06ebae9bd5009dcd2368a3779edef4107561b63a
Author:   address@hidden
Date:     09/24/10 01:47:45
Branch:   net.venge.monotone.automate_get_roster

Changelog: 

* database.cc: new query param type "int64"; handle it accordingly
  in the fetch() method
* database.cc: new methods get_file_version (get_version_size) and 
  put_file_version which load / save the file's size from / to the
  new file_sizes table; call those from put_file and put_file_version
  (but not put_file_delta)
* database.cc: new method delete_existing_file_sizes which is later
  executed before the caches are regenerated
* database.cc (check_caches): check for file_sizes table (why don't
  we check for the branch_leaves table there as well?)
* database.cc (info): take file_sizes into account
* schema.sql: new file_sizes table
* vocab.hh: add a typedef file_size of u64
* database_migration.cc: add migration code for the new table,
  depends on regenerate_caches 
* database_check.cc: ensure that all files have the correct file
  size stored
* cmd_files.cc: new command "get_file_size FILEID", mainly for testing
  purposes right now, as the output of the "get_roster" command hasn't
  been adapted yet

Changes against parent 06ebae9bd5009dcd2368a3779edef4107561b63a

  patched  cmd_files.cc
  patched  database.cc
  patched  database.hh
  patched  database_check.cc
  patched  migrate_ancestry.cc
  patched  migrate_schema.cc
  patched  schema.sql
  patched  vocab.hh

Attachment: txtLxihX_dSTy.txt
Description: Diff [06ebae9bd5009dcd2368a3779edef4107561b63a] -> [ea67d81325072cd72f8e0e304adca0a30a561043]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]