Commit 3aec0588 authored by tmaruyama's avatar tmaruyama

scm: mercurial: change copied file from_revision from revision number to node id.

git-svn-id: https://svn.redmine.org/redmine/trunk@5480 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 92408b84
......@@ -205,7 +205,7 @@ module Redmine
{:action => e['action'],
:path => with_leading_slash(p),
:from_path => (cpmap.member?(p) ? with_leading_slash(cpmap[p]) : nil),
:from_revision => (cpmap.member?(p) ? le['revision'] : nil)}
:from_revision => (cpmap.member?(p) ? le['node'] : nil)}
end.sort { |a, b| a[:path] <=> b[:path] }
yield Revision.new(:revision => le['revision'],
:scmid => le['node'],
......
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