Skip to content

Instantly share code, notes, and snippets.

@ursm
Created July 29, 2008 18:21
Embed
What would you like to do?
class Ditz::HookManager
on :after_add do |project, config, issues|
issues.each do |i|
`hg add #{i.pathname}`
end
end
on :after_delete do |project, config, issues|
issues.each do |i|
`hg remove #{i.pathname}`
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment