]> git.cworth.org Git - sup/commit
refactor index locking interaction and replace suicidemanager
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Fri, 7 Aug 2009 01:33:19 +0000 (21:33 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Fri, 7 Aug 2009 01:33:19 +0000 (21:33 -0400)
commit57dea7ad93bb15491cd33281d933ca4ef6440e45
treede021e3b92593712378be853f664b34167abe07d
parent9edd376555a9b946a1c194582c8de8854da628e2
refactor index locking interaction and replace suicidemanager

Since SIGTERM now works, we have a better way of killing a remote
process than SuicideManager. So replace that with a $die global.
Also refactor the interactive locking code into a separate module
so as not to pollute index.rb with such trivial concerns.
Manifest.txt
bin/sup
bin/sup-add
bin/sup-sync
bin/sup-sync-back
bin/sup-tweak-labels
lib/sup.rb
lib/sup/index.rb
lib/sup/interactive-lock.rb [new file with mode: 0644]
lib/sup/suicide.rb [deleted file]
lib/sup/util.rb