Feature #4455 » hg-win32-extraline.patch
| lib/redmine/scm/adapters/mercurial_adapter.rb | ||
|---|---|---|
| 140 | 140 | end | 
| 141 | 141 | |
| 142 | 142 | def num_revisions | 
| 143 |           cmd = "#{HG_BIN} -R #{target('')} log -r :tip --template='\n'" | |
| 144 |           shellout(cmd) {|io| io.readlines.size} | |
| 143 |           cmd = "#{HG_BIN} -R #{target('')} log -r :tip --template='.\n'" | |
| 144 |           shellout(cmd) {|io| io.readlines.compact.size} | |
| 145 | 145 | end | 
| 146 | 146 |  | 
| 147 | 147 | # Returns the entry identified by path and revision identifier |