Class: Amp::Bundles::BundleChangeLog

Inherits:
ChangeLog show all
Includes:
BundleRevlog
Defined in:
lib/amp/revlogs/bundle_revlogs.rb

Constant Summary

Constants included from BundleRevlog

Amp::Bundles::BundleRevlog::BUNDLED_INDEX_ENTRY_SIZE

Constants included from RevlogSupport::Node

RevlogSupport::Node::NULL_ID, RevlogSupport::Node::NULL_REV

Instance Attribute Summary

Attributes inherited from ChangeLog

#delay_buffer, #delay_count, #delay_name, #index_file, #node_map

Attributes inherited from Revlog

#data_file, #index, #index_file

Instance Method Summary collapse

Methods included from BundleRevlog

#add_group, #add_revision, #bundle_initialize, #bundled_base_revision_for_index, #bundled_revision?, #decompress_revision, #get_chunk, #revision_diff

Methods included from RevlogSupport::Node

#short

Methods inherited from ChangeLog

#add, #check_inline_size, #decode_extra, #delay_update, #encode_extra, #finalize, #read, #read_pending, #write_pending

Methods inherited from Revlog

#[], #add_group, #add_revision, #all_indices, #ancestor, #ancestors, #base_revision_for_index, #check_inline_size, #checksize, #children, #cmp, #data_end_for_index, #data_size_for_index, #data_start_for_index, #decompress_revision, #descendants, #each, #empty?, #files, #find_missing, #get_chunk, #group, #heads, #id_match, #link_revision_for_index, #load_cache, #lookup_id, #node_id_for_index, #nodes_between, #open, #parent_indices_for_index, #parents_for_node, #partial_id_match, #reachable_nodes_for_node, #revision_diff, #revision_index_for_node, #size, #strip, #tip, #uncompressed_size_for_index, #unified_revision_diff

Methods included from Enumerable

#inject, #select_map

Constructor Details

#initialize(opener, bundle_file) ⇒ BundleChangeLog

Returns a new instance of BundleChangeLog.



213
214
215
216
217
218
# File 'lib/amp/revlogs/bundle_revlogs.rb', line 213

def initialize(opener, bundle_file)
  # This is the changelog initializer
  super(opener)
  # This is the bundle initializer
  bundle_initialize(opener, @index_file, bundle_file)
end