class RubyCritic::SourceControlSystem::Mercurial

def revisions_count(path)

def revisions_count(path)
  `hg log #{path.shellescape} --template '1'`.size
end