Mark repo as deprecated, point to fast-export.gitmaster
authorRocco Rutte <[email protected]>
Tue, 25 Nov 2008 10:41:07 +0000 (25 11:41 +0100)
committerRocco Rutte <[email protected]>
Tue, 25 Nov 2008 10:41:07 +0000 (25 11:41 +0100)
Signed-off-by: Rocco Rutte <[email protected]>
hg2git.py
hg2git.sh
hg2git.txt

index eb927a4..36419cb 100644 (file)
--- a/hg2git.py
+++ b/hg2git.py
@@ -3,6 +3,9 @@
 # Copyright (c) 2007 Rocco Rutte <[email protected]>
 # License: GPLv2
 
+# This file is deprecated after merging it into:
+# http://repo.or.cz/w/fast-export.git
+
 """hg2git.py - A mercurial-to-git filter for git-fast-import(1)
 Usage: hg2git.py <hg repo url> <marks file> <heads file> <tip file>
 """
index 8bd96f4..7ece3c8 100755 (executable)
--- a/hg2git.sh
+++ b/hg2git.sh
@@ -1,5 +1,8 @@
 #!/bin/sh
 
+# This file is deprecated after merging it into:
+# http://repo.or.cz/w/fast-export.git
+
 ROOT="`dirname $0`"
 REPO=""
 PFX="hg2git"
dissimilarity index 99%
index f4da258..0a1264f 100644 (file)
@@ -1,57 +1,4 @@
-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
-Rocco Rutte <[email protected]> with hints and help from the git list and
-#mercurial on freenode.
-
-Usage
-=====
-
-Using it is quite simple for a mercurial repository <repo>:
-
-  mkdir repo-git # or whatever
-  cd repo-git
-  git init
-  hg2git.sh -r <repo>
-
-Incremental imports to track hg repos is supported, too.
-
-Notes/Limitations
-=================
-
-hg2git supports multiple branches but only named branches with exaclty
-one head each. Otherwise commits to the tip of these heads within branch
-will get flattened into merge commits.
-
-As each git-fast-import run creates a new pack file, it may be required
-to repack the repository quite often for incremental imports (especially
-when importing a small number of changesets per incremental import).
-
-Design
-======
-
-hg2git.py was designed in a way that doesn't require a 2-pass mechanism
-or any prior repository analysis: if just feeds what it finds into
-git-fast-import. This also implies that it heavily relies on strictly
-linear ordering of changesets from hg, i.e. its append-only storage
-model so that changesets hg2git already saw never get modified.
-
-Todo
-====
-
-For incremental imports, handling tags needs to be reworked (maybe):
-Right now we assume that once a tag is created, it stays forever and
-never changes. However,
-
-  1) tags in hg may be removed
-  2) tags may change
-
-I'm not yet sure how to handle this and how this interferes with
-non-hg-based tags in git.
-
-The same for branches: They may get removed.
-
-For one-time conversions, everything is fine.
+NOTE: These files are deprecated because they've been merged into
+fast-export.git at:
+
+               http://repo.or.cz/w/fast-export.git