1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Implement Bzr#next_revision so that pending changes can be reported correctly (closes #10928)

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@8903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2008-02-19 23:27:38 +00:00
parent 26e0ce324b
commit d3ecd1c3ca
2 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,7 @@
*SVN*
* Implement Bzr#next_revision so that pending changes can be reported correctly [casret]
* Use a proper export command for bzr SCM [drudru]
* Use checkout instead of merge for git SCM [nuttycom]

View file

@ -62,6 +62,11 @@ module Capistrano
revision
end
# Increments the given revision number and returns it.
def next_revision(revision)
revision.to_i + 1
end
private
def revswitch(revision)