Sha256: d0670305d9301c27c340d7c7e31ff9eebdb8f9ec5d0146018ed458b61a83d73b

Contents?: true

Size: 314 Bytes

Versions: 10

Compression:

Stored size: 314 Bytes

Contents

module Nanoc::Extra::VCSes

  class Mercurial < Nanoc::Extra::VCS

    identifiers :mercurial, :hg

    def add(filename)
      system('hg', 'add', filename)
    end

    def remove(filename)
      system('hg', 'rm', filename)
    end

    def move(src, dst)
      system('hg', 'mv', src, dst)
    end

  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
nanoc-2.1 lib/nanoc/extra/vcses/mercurial.rb
nanoc-2.1.1 lib/nanoc/extra/vcses/mercurial.rb
nanoc-2.1.2 lib/nanoc/extra/vcses/mercurial.rb
nanoc-2.1.3 lib/nanoc/extra/vcses/mercurial.rb
nanoc-2.1.4 lib/nanoc/extra/vcses/mercurial.rb
nanoc-2.1.5 lib/nanoc/extra/vcses/mercurial.rb
nanoc-2.1.6 lib/nanoc/extra/vcses/mercurial.rb
nanoc-2.2 lib/nanoc/extra/vcses/mercurial.rb
nanoc-2.2.1 lib/nanoc/extra/vcses/mercurial.rb
nanoc-2.2.2 lib/nanoc/extra/vcses/mercurial.rb