Posted by haxney on May 31, 2009 at 7:32pm
Jump to:
| Project: | Version Control API -- Subversion backend |
| Version: | 6.x-1.0-rc1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | sdboyer |
| Status: | active |
| Issue tags: | gsoc2009-dhax |
Issue Summary
When a Subversion repository fetches new logs, it sets a message telling how many commits it added. The problem is, it uses count($revisions) to set the message to the user (versioncontrol_svn.log.inc:129), which always returns 1.
Implementing Countable would let count() return the correct result.
Comments
#1
Rebranding: chrono325 → dhax
#2
Oooh, I missed that, The
count()call is a leftover from the original code. I'll have a look at this, and see if it's more prudent to implement Countable or do it by some other means.