Commit 6daa9840 authored by tmaruyama's avatar tmaruyama

scm: bazaar: code layout cleanup adapter revisions method

git-svn-id: https://svn.redmine.org/redmine/trunk@10409 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 5f7eabdd
......@@ -154,7 +154,10 @@ module Redmine
revision.paths << {:action => 'D', :path => "/#{path}", :revision => revid}
when 'renamed'
new_path = path.split('=>').last
revision.paths << {:action => 'M', :path => "/#{new_path.strip}", :revision => revid} if new_path
if new_path
revision.paths << {:action => 'M', :path => "/#{new_path.strip}",
:revision => revid}
end
end
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment