Skip to content

Commit

Permalink
git-remote-hg 0.3 (new formula)
Browse files Browse the repository at this point in the history
Closes #3573.

Signed-off-by: Mike McQuaid <[email protected]>
  • Loading branch information
DoomHammer authored and MikeMcQuaid committed Aug 4, 2016
1 parent 251f4dd commit 4e49034
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Formula/git-remote-hg.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class GitRemoteHg < Formula
desc "Transparent bidirectional bridge between Git and Mercurial"
homepage "https://github.com/felipec/git-remote-hg"
url "https://github.com/felipec/git-remote-hg/archive/v0.3.tar.gz"
sha256 "2dc889b641d72f5a73c4c7d5df3b8ea788e75a7ce80f5884a7a8d2e099287dce"

depends_on :hg
depends_on :python if MacOS.version <= :snow_leopard

def install
inreplace "git-remote-hg", "python2", "python"
system "make", "install", "prefix=#{prefix}"
end

test do
system "git", "clone", "hg::https://www.mercurial-scm.org/repo/hello"
end
end

0 comments on commit 4e49034

Please sign in to comment.