-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #3573. Signed-off-by: Mike McQuaid <[email protected]>
- Loading branch information
1 parent
251f4dd
commit 4e49034
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |