Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10928: bzr_next_revision.diff

File bzr_next_revision.diff, 485 bytes (added by casret, 10 months ago)
  • lib/capistrano/recipes/deploy/scm/bzr.rb

    old new  
    7070          end 
    7171        end 
    7272 
     73        # Increments the given revision number and returns it. 
     74        def next_revision(revision) 
     75          revision.to_i + 1 
     76        end 
     77 
    7378        private 
    7479 
    7580          def revswitch(revision)