salimfadhley/jenkinsapi — pull request #62 by victorgp (2012-12-21 11:51:03+00:00)
Title: Getting mercurial revision from mercurialNodeName instead

There might be cases when the build has the changeSet list empty, the current implementation fails with IndexError when trying to access to the empty list.
This list, for example, can be empty if the build is manually forced, because the starting changeset will be the same as the previous one.