d600daa8e7091c7a7c9020d7708feb0a853b760b
Author: Robin Luckey
Date: 2009-07-07 10:20:51 -0700
diff --git a/lib/scm/adapters/hg/cat_file.rb b/lib/scm/adapters/hg/cat_file.rb
index ceaa04b..aa20ff8 100644
--- a/lib/scm/adapters/hg/cat_file.rb
+++ b/lib/scm/adapters/hg/cat_file.rb
@@ -5,8 +5,8 @@ module Scm::Adapters
end
def cat_file_parent(commit, diff)
- p = parents(commit)
- cat(p.first.token, diff.path) if p.first
+ p = parent_tokens(commit)
+ cat(p.first, diff.path) if p.first
end
def cat(revision, path)
