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.2.4 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.2.3 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.2.2 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.2.1 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.2.0 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.2.0b3 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.2.0b2 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.2.0b1 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.9 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.8 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.2.0a4 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.7 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.6 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.2.0a3 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.5 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.4 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.2.0a2 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.3 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.2.0a1 lib/nanoc3/extra/vcses/mercurial.rb
nanoc3-3.1.2 lib/nanoc3/extra/vcses/mercurial.rb