{ "info": { "author": "Nick Timkovich", "author_email": "prometheus235@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2 :: Only", "Topic :: Utilities" ], "description": "Autolycus - Mercurial to Git converter\n===============================================\n\n.. image:: https://img.shields.io/travis/nicktimko/autolycus.svg?maxAge=2592000?style=flat-square :target: https://travis-ci.org/nicktimko/autolycus\n\n.. image:: https://img.shields.io/codecov/c/github/nicktimko/autolycus.svg?maxAge=2592000?style=flat-square :target: https://codecov.io/gh/nicktimko/autolycus\n\n.. image:: https://img.shields.io/pypi/v/autolycus.svg?maxAge=2592000?style=flat-square :target: https://pypi.python.org/pypi/autolycus\n\nUsage\n-----\n\nUsing ``hg-fast-export`` is quite simple for a Mercurial repository :\n\n::\n\n mkdir repo-git # or whatever\n cd repo-git\n git init\n hg-fast-export.sh -r \n\nPlease note that ``hg-fast-export`` does not automatically check out the newly imported repository. You probably want to follow up the import with a ``git checkout``-command.\n\nIncremental imports to track hg repos is supported, too.\n\nUsing ``hg-reset`` it is quite simple within a Git repository that is ``hg-fast-export``\\ 'ed from Mercurial:\n\n::\n\n hg-reset.sh -R \n\nwill give hints on which branches need adjustment for starting over again.\n\nWhen a Mercurial repository does not use UTF-8 for encoding author strings and commit messages the ``-e `` command line option can be used to force fast-export to convert incoming meta data from to UTF-8. This encoding option is also applied to file names.\n\nIn some locales Mercurial uses different encodings for commit messages and file names. In that case, you can use ``--fe `` command line option which overrides the ``-e`` option for file names.\n\nAs Mercurial appears to be much less picky about the syntax of the author information than Git, an author mapping file can be given to hg-fast-export to fix up malformed author strings. The file is specified using the ``-A`` option. The file should contain lines of the form ``FromAuthor=ToAuthor``. The example ``authors.map`` below will translate ``User `` to ``User ``.\n\n::\n\n -- Start of authors.map --\n User =User \n -- End of authors.map --\n\nTag and Branch Naming\n---------------------\n\nAs Git and Mercurial have differ in what is a valid branch and tag name the ``-B`` and ``-T`` options allow a mapping file to be specified to rename branches and tags (respectively). The syntax of the mapping file is the same as for the author mapping.\n\nNotes/Limitations\n-----------------\n\n``hg-fast-export`` supports multiple branches but only named branches with exactly one head each. Otherwise commits to the tip of these heads within the branch will get flattened into merge commits.\n\nAs 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).\n\nThe way the Hg API and remote access protocol is designed it is not possible to use ``hg-fast-export`` on remote repositories (HTTP/SSH). First clone the repository, then convert it.\n\nMercurial `doesn't support Python 3`_ and probably won't for a while.\n\nDesign\n------\n\n``hg-fast-export.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 `hg-fast-export` already saw never get modified.\n\n.. _doesn't support Python 3: https://www.mercurial-scm.org/wiki/SupportedPythonVersions#Python_3.x_support\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/nicktimko/autolycus", "keywords": "mercurial git vcs dvcs", "license": "GPLv2", "maintainer": "", "maintainer_email": "", "name": "autolycus", "package_url": "https://pypi.org/project/autolycus/", "platform": "", "project_url": "https://pypi.org/project/autolycus/", "project_urls": { "Homepage": "http://github.com/nicktimko/autolycus" }, "release_url": "https://pypi.org/project/autolycus/0.0.7/", "requires_dist": [ "mercurial" ], "requires_python": "", "summary": "Exports/synchronizes a Mercurial repo to Git", "version": "0.0.7" }, "last_serial": 2373743, "releases": { "0.0.5": [ { "comment_text": "", "digests": { "md5": "7b954644fe5fcc0ac920c91675c91b22", "sha256": "0a5b21f024bec2d0f4765fcc91f783cfe08d3f006a02b99bc54a2f8bef7123bd" }, "downloads": -1, "filename": "autolycus-0.0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "7b954644fe5fcc0ac920c91675c91b22", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 29527, "upload_time": "2016-09-14T06:47:32", "url": "https://files.pythonhosted.org/packages/5c/c5/d4066ca242bb079a579bcebb2e72e3a79c71061114feca119bfc2673414c/autolycus-0.0.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7ee8f707dc4d7475db2cb607db5e22d1", "sha256": "a2e4151f4c9a5687c5e0ce70f656baca031422c96df8663b5b039c87534e250b" }, "downloads": -1, "filename": "autolycus-0.0.5.tar.gz", "has_sig": false, "md5_digest": "7ee8f707dc4d7475db2cb607db5e22d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25085, "upload_time": "2016-09-14T06:47:33", "url": "https://files.pythonhosted.org/packages/8c/d9/110fd0ca2bff13fd6d70da0f4949cfe1b76600a653157dd041bc65f0bd8d/autolycus-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "5676434deedb75d400ea6deb36ae9086", "sha256": "8ca67dd6a96ffb35078fe4020738579c7c8aca3b889f1d98fc3ac3da875f89ff" }, "downloads": -1, "filename": "autolycus-0.0.6-py2-none-any.whl", "has_sig": false, "md5_digest": "5676434deedb75d400ea6deb36ae9086", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 21828, "upload_time": "2016-09-15T00:06:25", "url": "https://files.pythonhosted.org/packages/0e/63/431be6b9bacc9d3062f6b5b52d93f6a80dad892e12a3b33cf5b9ccc4ccef/autolycus-0.0.6-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "428c2e8ff6b66c1819954358edb87cbc", "sha256": "00f79b4f94b931e6f7dab713ee4ba0be851fb434b787a493822cacae7e5917fc" }, "downloads": -1, "filename": "autolycus-0.0.6.tar.gz", "has_sig": false, "md5_digest": "428c2e8ff6b66c1819954358edb87cbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22797, "upload_time": "2016-09-15T00:06:27", "url": "https://files.pythonhosted.org/packages/4d/3d/2204ea3383de2d6792d2c45da195ab006d226e73ab1a9a01937cedc72785/autolycus-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "08c935e744030d8c77174aedb317595e", "sha256": "aca6b92c04d68d331abde92a04c34f5d6ef8926ed32f84386ceee2892f9fa4a6" }, "downloads": -1, "filename": "autolycus-0.0.7-py2-none-any.whl", "has_sig": false, "md5_digest": "08c935e744030d8c77174aedb317595e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 22083, "upload_time": "2016-09-30T16:52:33", "url": "https://files.pythonhosted.org/packages/3b/4f/7f2bf3a80b9cf0ca3206e29c740968e81215f3b40f39690a193d70adeaa2/autolycus-0.0.7-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0e6ea6bc81d5e757ac3a13107ed67301", "sha256": "45cbac9e8c72debcee9112cd4f94651dfe6e97b968d717d4b7a452d7a66d5e45" }, "downloads": -1, "filename": "autolycus-0.0.7.tar.gz", "has_sig": false, "md5_digest": "0e6ea6bc81d5e757ac3a13107ed67301", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22960, "upload_time": "2016-09-30T16:52:36", "url": "https://files.pythonhosted.org/packages/cd/eb/2413a52794374a0eeff50b829c2f015f17196a9a97ca1f6939c52a8e8943/autolycus-0.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "08c935e744030d8c77174aedb317595e", "sha256": "aca6b92c04d68d331abde92a04c34f5d6ef8926ed32f84386ceee2892f9fa4a6" }, "downloads": -1, "filename": "autolycus-0.0.7-py2-none-any.whl", "has_sig": false, "md5_digest": "08c935e744030d8c77174aedb317595e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 22083, "upload_time": "2016-09-30T16:52:33", "url": "https://files.pythonhosted.org/packages/3b/4f/7f2bf3a80b9cf0ca3206e29c740968e81215f3b40f39690a193d70adeaa2/autolycus-0.0.7-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0e6ea6bc81d5e757ac3a13107ed67301", "sha256": "45cbac9e8c72debcee9112cd4f94651dfe6e97b968d717d4b7a452d7a66d5e45" }, "downloads": -1, "filename": "autolycus-0.0.7.tar.gz", "has_sig": false, "md5_digest": "0e6ea6bc81d5e757ac3a13107ed67301", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22960, "upload_time": "2016-09-30T16:52:36", "url": "https://files.pythonhosted.org/packages/cd/eb/2413a52794374a0eeff50b829c2f015f17196a9a97ca1f6939c52a8e8943/autolycus-0.0.7.tar.gz" } ] }