Sha256: 639f45b6e95edba8d1eafb1b6af0edd87dec6e510ca298cbe31533cd6f637a4d

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

command :untrack do |c|
  c.workflow :hg
  c.desc "Stop tracking the file"
  
  c.on_run do |opts, args|
    opts[:"no-unlink"] = true
    opts[:quiet]       = true
    
    puts "Forgetting #{args.size} file#{args.size == 1 ? '' : 's'}"
    Amp::Command['remove'].run opts, args
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amp-0.5.3 lib/amp/commands/commands/workflows/hg/untrack.rb