Sha256: 22275152bc51dbecb85b4d8bb22e406f68699537447482450c901058da98f92e

Contents?: true

Size: 436 Bytes

Versions: 28

Compression:

Stored size: 436 Bytes

Contents

# encoding: utf-8

module Nanoc3::Extra::VCSes

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

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

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

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

  end

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
nanoc3-3.1.1 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.0 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.0rc1 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.0b2 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.0b1 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.0a3 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.0a2 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.0a1 lib/nanoc3/extra/vcses/mercurial.rb