cramerdev/capistrano-notifier — pull request #60 by artificialrobot (2013-05-24 16:55:54+00:00)
Title: Handle case when previous revision is nil for initial deployments

When doing an initial deployment cap notifier will completely fail if previous revision is undefined. I just added in a try to handle this case and return nil, since nils are handled gracefully by the git_range method already.

This should address issue: https://github.com/cramerdev/capistrano-notifier/issues/51