lib/amp/commands/commands/workflows/hg/bundle.rb in amp-0.5.2 vs lib/amp/commands/commands/workflows/hg/bundle.rb in amp-0.5.3

- old
+ new

@@ -51,11 +51,11 @@ end base = base.map {|b| repo.lookup b } o = [] - has = {Amp::RevlogSupport::Node::NULL_ID => nil} + has = {Amp::Mercurial::RevlogSupport::Node::NULL_ID => nil} # iterates over each file node id base.each do |filename, node_id| has.update repo.changelog.reachable_nodes_for_node(node_id) end @@ -106,14 +106,14 @@ btypes = {'none' => 'HG10UN', 'bzip2' => 'HG10BZ', 'gzip' => 'HG10GZ'} bundle_type = btypes[bundle_type] # some error checking # yes, this calls Array#include, but the array is only 3 elements - unless Amp::RevlogSupport::ChangeGroup::BUNDLE_TYPES.include? bundle_type + unless Amp::Mercurial::RevlogSupport::ChangeGroup::BUNDLE_TYPES.include? bundle_type raise abort('unknown bundle type specified with --type') end File.open fname, 'w' do |file| - Amp::RevlogSupport::ChangeGroup.write_bundle cg, bundle_type, file + Amp::Mercurial::RevlogSupport::ChangeGroup.write_bundle cg, bundle_type, file end end # end on_run end \ No newline at end of file