diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-04-17 09:33:07 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-04-17 09:33:07 +0000 |
commit | 79b7e89cf9720cd4da396ec68f6b141040984c1e (patch) | |
tree | a7bc7b3491c17b1ba01a3c4996c11d4ea51a59e0 /lib/redmine/scm/adapters/mercurial_adapter.rb | |
parent | a8e7936337d1b6f8aee05b408350df12bcde51de (diff) | |
download | redmine-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.rb | 2 |
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'], |