2016-08-21 19:23:41 +00:00
|
|
|
class HgFastExport < Formula
|
2016-08-22 22:12:56 +00:00
|
|
|
desc "Fast Mercurial to Git converter"
|
2016-08-21 19:23:41 +00:00
|
|
|
homepage "http://repo.or.cz/w/fast-export.git"
|
|
|
|
url "https://github.com/frej/fast-export/archive/v160415.tar.gz"
|
|
|
|
sha256 "0e8a8c27110f200b52be55d13858045ed069ae60a51b4d8878a310426d244316"
|
|
|
|
|
|
|
|
head "git://repo.or.cz/fast-export.git"
|
|
|
|
|
2016-08-22 22:12:56 +00:00
|
|
|
bottle :unneeded
|
|
|
|
|
2016-08-21 19:23:41 +00:00
|
|
|
def install
|
|
|
|
bin.install "hg-fast-export.py", "hg-fast-export.sh",
|
|
|
|
"hg-reset.py", "hg-reset.sh",
|
|
|
|
"hg2git.py"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2016-08-24 07:43:29 +00:00
|
|
|
system bin/"hg-fast-export.sh", "--help"
|
2016-08-21 19:23:41 +00:00
|
|
|
end
|
|
|
|
end
|