lib/big_keeper/command/feature&hotfix/rebase.rb in bigkeeper-0.7.3 vs lib/big_keeper/command/feature&hotfix/rebase.rb in bigkeeper-0.7.4
- old
+ new
@@ -1,16 +1,18 @@
require 'big_keeper/util/logger'
+require 'big_keeper/dependency/dep_service'
+
module BigKeeper
def self.reabse(path, user, type)
begin
# Parse Bigkeeper file
BigkeeperParser.parse("#{path}/Bigkeeper")
branch_name = GitOperator.new.current_branch(path)
Logger.error("Not a #{GitflowType.name(type)} branch, exit.") unless branch_name.include? GitflowType.name(type)
- modules = PodfileOperator.new.modules_with_type("#{path}/Podfile",
+ modules = DepService.dep_operator(path).modules_with_type(
BigkeeperParser.module_names, ModuleType::PATH)
modules.each do |module_name|
ModuleService.new.rebase(path, user, module_name, branch_name, type)
end