Permalink
Browse files

[FIX] Update README to include Mercurial references.

  • Loading branch information...
robinluckey committed Jan 26, 2009
1 parent f3550c8 commit fb3b7f6bfca1d02456714e375657b3b91e44807a
Showing with 6 additions and 5 deletions.
  1. +5 −4 README
  2. +1 −1 lib/scm/adapters/hg/commits.rb
View
9 README
@@ -34,21 +34,22 @@ Ohloh SCM does not support Windows.
Ohloh SCM targets Ruby 1.8.6 and Rake 0.8.1
-Ohloh SCM interfaces with CVSNT, Subversion, and Git through the shell.
-In order to pass the unit tests, all three systems must be installed and
-on your path. Ohloh uses the following versions, and other versions are
+Ohloh SCM interfaces with CVSNT, Subversion, Git and Mercurial through the
+shell. In order to pass the unit tests, all three systems must be installed
+and on your path. Ohloh uses the following versions, and other versions are
totally unsupported at this time:
cvsnt 2.5.03
svn 1.4.2
git 1.6.0.4
+hg 1.1.2
If you are using CVS instead of CVSNT, you can potentially try creating
a shell alias or symlink mapping 'cvsnt' to 'cvs'.
== Running
-Ensure that cvsnt, svn, svnadmin, svnsync, and git are all on your path.
+Ensure that cvsnt, svn, svnadmin, svnsync, git, and hg are all on your path.
Then you can run the unit tests:
$ rake
@@ -61,7 +61,7 @@ def open_log_file(since=0)
# As a time optimization, just create an empty file rather than fetch a log we know will be empty.
File.open(log_filename, 'w') { }
else
- run "cd '#{url}' && hg log --verbose -r #{since}:tip --style #{Scm::Parsers::HgStyledParser.verbose_style_path} > #{log_filename}"
+ run "cd '#{url}' && hg log --verbose -r #{since || 0}:tip --style #{Scm::Parsers::HgStyledParser.verbose_style_path} > #{log_filename}"
end
File.open(log_filename, 'r') { |io| yield io }
ensure

0 comments on commit fb3b7f6

Please sign in to comment.