lib/amp/commands/commands/workflows/hg/incoming.rb in amp-0.5.2 vs lib/amp/commands/commands/workflows/hg/incoming.rb in amp-0.5.3
- old
+ new
@@ -63,13 +63,13 @@
end
bundle_type = (remote.local? && "HG10GZ") || "HG10UN" # ???
require 'tempfile'
file = Tempfile.new("hg-incoming-bundle", Dir.pwd)
- Amp::RevlogSupport::ChangeGroup.write_bundle(cg, bundle_type, file)
+ Amp::Mercurial::RevlogSupport::ChangeGroup.write_bundle(cg, bundle_type, file)
cleanup = file.path
unless remote.local?
- remote = Amp::Repositories::BundleRepository.new(repo.root, opts[:global_config], cleanup)
+ remote = Amp::Repositories::Mercurial::BundleRepository.new(repo.root, opts[:global_config], cleanup)
end
end
opts.merge! :template_type => :log
remote.changelog.nodes_between(incoming, url[:revs])[:between].each do |n|
puts remote[n].to_templated_s(opts)