Skip to content

Commit fb3b7f6

Browse files
author
Robin Luckey
committed
[FIX] Update README to include Mercurial references.
1 parent f3550c8 commit fb3b7f6

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,22 @@ Ohloh SCM does not support Windows.
3434

3535
Ohloh SCM targets Ruby 1.8.6 and Rake 0.8.1
3636

37-
Ohloh SCM interfaces with CVSNT, Subversion, and Git through the shell.
38-
In order to pass the unit tests, all three systems must be installed and
39-
on your path. Ohloh uses the following versions, and other versions are
37+
Ohloh SCM interfaces with CVSNT, Subversion, Git and Mercurial through the
38+
shell. In order to pass the unit tests, all three systems must be installed
39+
and on your path. Ohloh uses the following versions, and other versions are
4040
totally unsupported at this time:
4141

4242
cvsnt 2.5.03
4343
svn 1.4.2
4444
git 1.6.0.4
45+
hg 1.1.2
4546

4647
If you are using CVS instead of CVSNT, you can potentially try creating
4748
a shell alias or symlink mapping 'cvsnt' to 'cvs'.
4849

4950
== Running
5051

51-
Ensure that cvsnt, svn, svnadmin, svnsync, and git are all on your path.
52+
Ensure that cvsnt, svn, svnadmin, svnsync, git, and hg are all on your path.
5253
Then you can run the unit tests:
5354

5455
$ rake

lib/scm/adapters/hg/commits.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def open_log_file(since=0)
6161
# As a time optimization, just create an empty file rather than fetch a log we know will be empty.
6262
File.open(log_filename, 'w') { }
6363
else
64-
run "cd '#{url}' && hg log --verbose -r #{since}:tip --style #{Scm::Parsers::HgStyledParser.verbose_style_path} > #{log_filename}"
64+
run "cd '#{url}' && hg log --verbose -r #{since || 0}:tip --style #{Scm::Parsers::HgStyledParser.verbose_style_path} > #{log_filename}"
6565
end
6666
File.open(log_filename, 'r') { |io| yield io }
6767
ensure

0 commit comments

Comments
 (0)