mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
The Hg-Git plugin is an extension for Mercurial, adding the ability to push to
and pull from a Git server repository from Mercurial. This means you can collaborate on Git based projects from Mercurial, or use a Git server as a collaboration point for a team with developers using both Git and Mercurial. The Hg-Git plugin can convert commits / changesets losslessly from one system to another, so you can push via a Mercurial repository and another Mercurial client can pull it and their changeset node ids will be identical - Mercurial data does not get lost in translation. This plugin is implemented entirely in Python - there are no Git binary dependencies, you do not need to have Git installed on your system. WWW: http://hg-git.github.com/ PR: ports/140025 Submitted by: Marco Broeder <marco.broeder at gmx.eu>
This commit is contained in:
parent
12eaa77c7b
commit
e11a8ad074
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243652
@ -500,6 +500,7 @@
|
||||
SUBDIR += happydoc
|
||||
SUBDIR += hapy
|
||||
SUBDIR += hcs12mem
|
||||
SUBDIR += hg-git
|
||||
SUBDIR += hgsvn
|
||||
SUBDIR += hgview
|
||||
SUBDIR += highlighterkit
|
||||
|
29
devel/hg-git/Makefile
Normal file
29
devel/hg-git/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# Ports collection makefile for: hg-git
|
||||
# Date created: 2009-10-24
|
||||
# Whom: Marco Broeder <marco.broeder@gmx.eu>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= hg-git
|
||||
PORTVERSION= 0.1.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= marco.broeder@gmx.eu
|
||||
COMMENT= Mercurial extension to pull from or push to a Git repository
|
||||
|
||||
RUN_DEPENDS= ${PKGNAMEPREFIX}dulwich>=0.4.0:${PORTSDIR}/devel/dulwich \
|
||||
hg:${PORTSDIR}/devel/mercurial
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS=easy_install
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION} PYVER=${PYTHON_VERSION:S/python//}
|
||||
PLIST_FILES= %%PYTHON_SITELIBDIR%%/hg_git-%%VERSION%%-py%%PYVER%%.egg
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/hg-git/distinfo
Normal file
3
devel/hg-git/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (hg-git-0.1.0.tar.gz) = 2c083d92dbf89f228ae28a0fc7805d9e
|
||||
SHA256 (hg-git-0.1.0.tar.gz) = 8745c331f010dbdda6b1343a852ef3fb242d5d29196c7dd1197e27e6051212d8
|
||||
SIZE (hg-git-0.1.0.tar.gz) = 11351
|
14
devel/hg-git/pkg-descr
Normal file
14
devel/hg-git/pkg-descr
Normal file
@ -0,0 +1,14 @@
|
||||
The Hg-Git plugin is an extension for Mercurial, adding the ability to push to
|
||||
and pull from a Git server repository from Mercurial. This means you can
|
||||
collaborate on Git based projects from Mercurial, or use a Git server as a
|
||||
collaboration point for a team with developers using both Git and Mercurial.
|
||||
|
||||
The Hg-Git plugin can convert commits / changesets losslessly from one system
|
||||
to another, so you can push via a Mercurial repository and another Mercurial
|
||||
client can pull it and their changeset node ids will be identical - Mercurial
|
||||
data does not get lost in translation.
|
||||
|
||||
This plugin is implemented entirely in Python - there are no Git binary
|
||||
dependencies, you do not need to have Git installed on your system.
|
||||
|
||||
WWW: http://hg-git.github.com/
|
15
devel/hg-git/pkg-message
Normal file
15
devel/hg-git/pkg-message
Normal file
@ -0,0 +1,15 @@
|
||||
====
|
||||
|
||||
*** Attention! ***
|
||||
|
||||
To enable the Hg-Git extension make sure you have the following lines in your
|
||||
Mercurial global configuration file '~/.hgrc':
|
||||
|
||||
[extensions]
|
||||
bookmarks =
|
||||
hggit =
|
||||
|
||||
The bookmarks section is not compulsory, but it makes some things a bit nicer.
|
||||
Bookmarks will be translated to git heads when pushing.
|
||||
|
||||
====
|
Loading…
Reference in New Issue
Block a user