Sha256: f1b6ff257af3372b37889ce995ecd1aa40207a755b3ae898d7a22acac6c50342

Contents?: true

Size: 430 Bytes

Versions: 32

Compression:

Stored size: 430 Bytes

Contents

# encoding: utf-8

module Nanoc::Extra::VCSes

  # @see Nanoc::Extra::VCS
  class Mercurial < Nanoc::Extra::VCS

    # @see Nanoc::Extra::VCS#add
    def add(filename)
      system('hg', 'add', filename)
    end

    # @see Nanoc::Extra::VCS#remove
    def remove(filename)
      system('hg', 'rm', filename)
    end

    # @see Nanoc::Extra::VCS#move
    def move(src, dst)
      system('hg', 'mv', src, dst)
    end

  end

end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
nanoc-3.7.4 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.7.3 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.7.2 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.7.1 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.7.0 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.6.11 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.6.10 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.6.9 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.6.8 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.6.7 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.6.6 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.6.5 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.6.4 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.6.3 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.6.2 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.6.1 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.6.0 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.5.0 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.5.0b2 lib/nanoc/extra/vcses/mercurial.rb
nanoc-3.5.0b1 lib/nanoc/extra/vcses/mercurial.rb