lib/autobuild/import/darcs.rb in autobuild-1.6.0.rc3 vs lib/autobuild/import/darcs.rb in autobuild-1.6.0.rc4
- old
+ new
@@ -22,10 +22,10 @@
private
def update(package) # :nodoc:
if !File.directory?( File.join(package.srcdir, '_darcs') )
- raise ConfigException, "#{package.srcdir} is not a Darcs repository"
+ raise ConfigException.new(package, 'import'), "#{package.srcdir} is not a Darcs repository"
end
Subprocess.run(package, :import, @program,
'pull', '--all', "--repodir=#{package.srcdir}", '--set-scripts-executable', @source, *@pull)
end