Sha256: 22fdb71f61dbdbfe707fa981ad3ae88f4ba9e8ac87f9b0b5251ef8a3da5c0e7e

Contents?: true

Size: 246 Bytes

Versions: 37

Compression:

Stored size: 246 Bytes

Contents

module OhlohScm::Adapters
  class SvnAdapter < AbstractAdapter
    def patch_for_commit(commit)
      parent = commit.token.to_i - 1
      run("svn diff --trust-server-cert --non-interactive -r#{parent}:#{commit.token} #{url}")
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
ohloh_scm-2.2.13 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.2.12 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.2.11 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.2.10 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.2.9 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.2.8 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.2.7 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.2.6 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.2.5 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.2.4 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.2.3 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.2.2 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.2.1 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.2.0 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.1.0 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.0.1 lib/ohloh_scm/adapters/svn/patch.rb
ohloh_scm-2.0.0 lib/ohloh_scm/adapters/svn/patch.rb