From c84790da823533320be3cb60e03680564ad37ec5 Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Wed, 14 Mar 2007 10:29:24 +0000 Subject: [PATCH] Use MIT license, adjust hg2git script names to match fast-export repo style Signed-off-by: Rocco Rutte --- hg2git.py => hg-fast-export.py | 8 ++++---- hg2git.sh => hg-fast-export.sh | 3 +++ hg2git.txt => hg-fast-export.txt | 7 ++++++- 3 files changed, 13 insertions(+), 5 deletions(-) rename hg2git.py => hg-fast-export.py (97%) rename hg2git.sh => hg-fast-export.sh (95%) rename hg2git.txt => hg-fast-export.txt (91%) diff --git a/hg2git.py b/hg-fast-export.py similarity index 97% rename from hg2git.py rename to hg-fast-export.py index eb927a4..b876ce4 100644 --- a/hg2git.py +++ b/hg-fast-export.py @@ -1,10 +1,10 @@ #!/usr/bin/env python # Copyright (c) 2007 Rocco Rutte -# License: GPLv2 +# License: MIT -"""hg2git.py - A mercurial-to-git filter for git-fast-import(1) -Usage: hg2git.py +"""hg-fast-export.py - A mercurial-to-git filter for git-fast-import(1) +Usage: hg-fast-export.py """ 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 diff --git a/hg2git.sh b/hg-fast-export.sh similarity index 95% rename from hg2git.sh rename to hg-fast-export.sh index 8bd96f4..5cbf934 100755 --- a/hg2git.sh +++ b/hg-fast-export.sh @@ -1,5 +1,8 @@ #!/bin/sh +# Copyright (c) 2007 Rocco Rutte +# License: MIT + ROOT="`dirname $0`" REPO="" PFX="hg2git" diff --git a/hg2git.txt b/hg-fast-export.txt similarity index 91% rename from hg2git.txt rename to hg-fast-export.txt index f4da258..fdd8b9f 100644 --- a/hg2git.txt +++ b/hg-fast-export.txt @@ -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 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 -- 2.11.4.GIT