summaryrefslogtreecommitdiffstats
path: root/lib/redmine/scm/adapters/mercurial_adapter.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-17 09:33:07 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-17 09:33:07 +0000
commit79b7e89cf9720cd4da396ec68f6b141040984c1e (patch)
treea7bc7b3491c17b1ba01a3c4996c11d4ea51a59e0 /lib/redmine/scm/adapters/mercurial_adapter.rb
parenta8e7936337d1b6f8aee05b408350df12bcde51de (diff)
downloadredmine-79b7e89cf9720cd4da396ec68f6b141040984c1e.tar.gz
redmine-79b7e89cf9720cd4da396ec68f6b141040984c1e.zip
scm: mercurial: change copied file from_revision from revision number to node id.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5480 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm/adapters/mercurial_adapter.rb')
-rw-r--r--lib/redmine/scm/adapters/mercurial_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/mercurial_adapter.rb b/lib/redmine/scm/adapters/mercurial_adapter.rb
index 7a9edba50..0b9b282b3 100644
--- a/lib/redmine/scm/adapters/mercurial_adapter.rb
+++ b/lib/redmine/scm/adapters/mercurial_adapter.rb
@@ -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'],