Permalink
Browse files

Implement Bzr#next_revision so that pending changes can be reported c…

…orrectly (closes #10928)

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@8903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
jamis committed Feb 19, 2008
1 parent 26e0ce3 commit d3ecd1c3ca6210462b68a596de459432f8a23ded
Showing with 7 additions and 0 deletions.
  1. +2 −0 CHANGELOG
  2. +5 −0 lib/capistrano/recipes/deploy/scm/bzr.rb
View
@@ -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]
@@ -62,6 +62,11 @@ def query_revision(revision)
revision
end
+ # Increments the given revision number and returns it.
+ def next_revision(revision)
+ revision.to_i + 1
+ end
+
private
def revswitch(revision)

0 comments on commit d3ecd1c

Please sign in to comment.