lib/mercurial-ruby/node.rb in mercurial-ruby-0.5.0 vs lib/mercurial-ruby/node.rb in mercurial-ruby-0.6.0

- old
+ new

@@ -63,9 +63,17 @@ def entries @_entries ||= repository.nodes.entries_for(path, revision, self) end + def diff_to(revision_b) + repository.diffs.for_path(path, revision, revision_b) + end + + def blame + repository.blames.for_path(path, revision) + end + def has_entry?(name) entries.find do |e| e.name == name end end \ No newline at end of file