mirror of
https://github.com/frej/fast-export.git
synced 2026-02-02 11:29:02 +01:00
Use MIT license, adjust hg2git script names to match fast-export repo style
Signed-off-by: Rocco Rutte <pdmef@gmx.net>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# Copyright (c) 2007 Rocco Rutte <pdmef@gmx.net>
|
||||
# License: GPLv2
|
||||
# License: MIT <http://www.opensource.org/licenses/mit-license.php>
|
||||
|
||||
"""hg2git.py - A mercurial-to-git filter for git-fast-import(1)
|
||||
Usage: hg2git.py <hg repo url> <marks file> <heads file> <tip file>
|
||||
"""hg-fast-export.py - A mercurial-to-git filter for git-fast-import(1)
|
||||
Usage: hg-fast-export.py <hg repo url> <marks file> <heads file> <tip file>
|
||||
"""
|
||||
|
||||
from mercurial import repo,hg,cmdutil,util,ui,revlog,node
|
||||
@@ -357,7 +357,7 @@ def verify_heads(ui,repo,cache,force):
|
||||
if sha1!=None and c!=None:
|
||||
sys.stderr.write('Verifying branch [%s]\n' % b)
|
||||
if sha1!=c:
|
||||
sys.stderr.write('Error: Branch [%s] modified outside hg2git:'
|
||||
sys.stderr.write('Error: Branch [%s] modified outside hg-fast-export:'
|
||||
'\n%s (repo) != %s (cache)\n' % (b,sha1,c))
|
||||
if not force: return False
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright (c) 2007 Rocco Rutte <pdmef@gmx.net>
|
||||
# License: MIT <http://www.opensource.org/licenses/mit-license.php>
|
||||
|
||||
ROOT="`dirname $0`"
|
||||
REPO=""
|
||||
PFX="hg2git"
|
||||
@@ -3,7 +3,7 @@ hg2git.(sh|py) - mercurial to git converter using git-fast-import
|
||||
Legal
|
||||
=====
|
||||
|
||||
The scripts are licensed under the GPL version 2 and were written by
|
||||
The scripts are licensed under the MIT license[0] and were written by
|
||||
Rocco Rutte <pdmef@gmx.net> with hints and help from the git list and
|
||||
#mercurial on freenode.
|
||||
|
||||
@@ -55,3 +55,8 @@ non-hg-based tags in git.
|
||||
The same for branches: They may get removed.
|
||||
|
||||
For one-time conversions, everything is fine.
|
||||
|
||||
Footnotes
|
||||
=========
|
||||
|
||||
[0] http://www.opensource.org/licenses/mit-license.php
|
||||
Reference in New Issue
Block a user