{ "info": { "author": "Nathan Hoad", "author_email": "nathan@getoffmalawn.com", "bugtrack_url": null, "classifiers": [], "description": "hg-canttype: mercurial extension for bad typists\n================================================\n\nCorrects simple typing errors in commands using\n`Damerau-Levenshtein distance `_.\n\nEver typed `hg dfif`, `hg doff` or `hg banrch`? This fixes that.\n\n\nSome examples of how it helps::\n\n $ hg dfif\n Correcting 'dfif' to 'diff'\n\n $ hg brnch\n Correcting 'brnch' to 'branch'\n\n\nInstallation & Setup\n--------------------\n\nInstalling hg-canttype is simple::\n\n $ pip install hgcanttype\n\n\nSetup is easy too, just add hgcanttype to your hgrc::\n\n [extensions]\n hgcanttype=\n\nYou can configure the distance to consider a command \"close enough\" like so::\n\n [canttype]\n distance = 5\n\n\nThe default is 1. Take note that setting the distance too high is a bad idea::\n\n $ hg dfif\n Correcting 'dfif' to 'help'\n\n\nYou can also configure the plugin to provide suggestions rather than\nautomatically correcting the command, just like git::\n\n $ hg dfif\n hg: unknown command 'dfif'\n\n Did you mean this?\n diff\n\nThis is easy to configure::\n\n [canttype]\n suggest = true\n\nNote that it will automatically do this if it finds more than one command, even\nif you have suggestions turned off::\n\n $ hg cu\n hg: unknown command 'cu'\n\n Did you mean this?\n ci\n cp\n co\n\n\nLicense\n-------\n\nAs this is a derived work of the Mercurial project, the license is GPLv2+ as\nper the `Mercurial License `_ page.\n\n\nChange History\n--------------\n\n1.0.8 (4th April 2014)\n - Fix indexing error when not using suggestions\n\n1.0.7 (4th April 2014)\n - Don't recommend the same command multiple times\n\n1.0.6 (24th March 2014)\n - I hate Restructured Text\n\n1.0.5 (24th March 2014)\n - Provide suggestions if multiple matches were found.\n - Provide suggests all the time if [canttype]/suggest = true.\n\n1.0.4 (12th March 2014)\n - Handle no command being passed in. Thank you, Andrew Taumoefolau!\n\n1.0.3 (11th March 2014)\n - Removed pointless print statement\n\n1.0.2 (10th March 2014)\n - Fix more typos...\n\n1.0.1 (10th March 2014)\n - Fix typos. The irony.\n\n1.0.0 (10th March 2014)\n - Initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/getoffmalawn/hgcanttype", "keywords": "hg mercurial", "license": "GPLv2+", "maintainer": null, "maintainer_email": null, "name": "hgcanttype", "package_url": "https://pypi.org/project/hgcanttype/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hgcanttype/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/getoffmalawn/hgcanttype" }, "release_url": "https://pypi.org/project/hgcanttype/1.0.8/", "requires_dist": null, "requires_python": null, "summary": "Typo handler for Mercurial commands", "version": "1.0.8" }, "last_serial": 1135232, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "9847deb7be5d44848315cd871319bf74", "sha256": "ebaeedc6cc330aaa4e6792f14ab0472fac3b4276267cd1ba9617d8867d77a9b5" }, "downloads": -1, "filename": "hgcanttype-1.0.0.tar.gz", "has_sig": false, "md5_digest": "9847deb7be5d44848315cd871319bf74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2452, "upload_time": "2014-03-10T08:30:34", "url": "https://files.pythonhosted.org/packages/36/2e/f368c51f23e9224552d4e49c12517562acfa4159a2bac0a719aba3f0ce04/hgcanttype-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "8861fd68fdfda20bcebb5ee938e0c18e", "sha256": "2eed31f0b460c286082172979def9b1696f0abcbf99fdd246c603427d5f5853c" }, "downloads": -1, "filename": "hgcanttype-1.0.1.tar.gz", "has_sig": false, "md5_digest": "8861fd68fdfda20bcebb5ee938e0c18e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2475, "upload_time": "2014-03-10T08:31:41", "url": "https://files.pythonhosted.org/packages/08/76/a9fa9cc666f84ea87b84b2f9ab5fbfda26555a993dcb865c4ae1c0d30d15/hgcanttype-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "17f4f0165a8031f61a7f32dfa1ebeda4", "sha256": "6fc774413b850fa3729f238c063468e390317e889db3fd63f536cd88ad00e966" }, "downloads": -1, "filename": "hgcanttype-1.0.2.tar.gz", "has_sig": false, "md5_digest": "17f4f0165a8031f61a7f32dfa1ebeda4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2496, "upload_time": "2014-03-10T08:38:00", "url": "https://files.pythonhosted.org/packages/30/af/7e5a3ccede8da742b8e58c985ae3771c2fc9d1c786fdb6b3ec11dcdadfc8/hgcanttype-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "ba191e8e9ea2d1904f5d748955504b91", "sha256": "668f81548563b478b471ceb58e86f15748eb2f29f5c069044c8ba74309f7f57f" }, "downloads": -1, "filename": "hgcanttype-1.0.3.tar.gz", "has_sig": false, "md5_digest": "ba191e8e9ea2d1904f5d748955504b91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2520, "upload_time": "2014-03-10T23:13:13", "url": "https://files.pythonhosted.org/packages/23/15/1cb5c9570d515ba526e959c0a8fa608d71740f26f9cb788ef0ad1fd234e5/hgcanttype-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "a6ec59a94efcaf7fd8e093597ac0d99b", "sha256": "8f927d7406c8e15aea1660ef3255dbc2196744275f0d8312c338b442f3e2966a" }, "downloads": -1, "filename": "hgcanttype-1.0.4.tar.gz", "has_sig": false, "md5_digest": "a6ec59a94efcaf7fd8e093597ac0d99b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2603, "upload_time": "2014-03-12T01:13:55", "url": "https://files.pythonhosted.org/packages/ab/e6/bb75d4ee5be2614a4a5c1d3f170d06f3850ec6734ec7fa28f258dd626901/hgcanttype-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "f15bd85e092130932fd8bc10202ac243", "sha256": "1854858a82dc7456f35244088211ae5e99e7cbd87449a09e2cf7744afb54766c" }, "downloads": -1, "filename": "hgcanttype-1.0.5.tar.gz", "has_sig": false, "md5_digest": "f15bd85e092130932fd8bc10202ac243", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3127, "upload_time": "2014-03-24T06:19:30", "url": "https://files.pythonhosted.org/packages/b8/6e/79425d1a722d8deb1d0b67a5743af1e9ea315243801c7f9e69dec045145f/hgcanttype-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "50ab28ab1c3a33f637b610a9882dd8ed", "sha256": "9ebc5b69f1da6b77d53ee22b8d6dedb204a6ad6f98a0e4c1224f036abaecf989" }, "downloads": -1, "filename": "hgcanttype-1.0.6.tar.gz", "has_sig": false, "md5_digest": "50ab28ab1c3a33f637b610a9882dd8ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3161, "upload_time": "2014-03-24T06:21:58", "url": "https://files.pythonhosted.org/packages/8a/3d/f20cea1f13421e4a96310ac3e2d5d6a9a998af09261ce90dae9e90efe7c2/hgcanttype-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "141905fa475ddc527788ce192bcd594a", "sha256": "77af2891fd80fe557f8418b8a7da3a83b66ee13b17c640c161454876d465e9ff" }, "downloads": -1, "filename": "hgcanttype-1.0.7.tar.gz", "has_sig": false, "md5_digest": "141905fa475ddc527788ce192bcd594a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3202, "upload_time": "2014-04-04T05:45:32", "url": "https://files.pythonhosted.org/packages/63/de/125a7d294162847763c0239d09650e760f1328885d5f1fc4cf91122fe0a5/hgcanttype-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "251ee571c7d0dd5c2ff77c24d5108f61", "sha256": "f18016946c143c193db0a1e3a917dcc867a270a4d5ac6a85094f27bbcb100f5f" }, "downloads": -1, "filename": "hgcanttype-1.0.8.tar.gz", "has_sig": false, "md5_digest": "251ee571c7d0dd5c2ff77c24d5108f61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3241, "upload_time": "2014-06-24T00:31:23", "url": "https://files.pythonhosted.org/packages/ad/dc/20e37e595245ca2dbd9aa6f7c2bb717f528ac91ab1b28c13a61f40f97fb0/hgcanttype-1.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "251ee571c7d0dd5c2ff77c24d5108f61", "sha256": "f18016946c143c193db0a1e3a917dcc867a270a4d5ac6a85094f27bbcb100f5f" }, "downloads": -1, "filename": "hgcanttype-1.0.8.tar.gz", "has_sig": false, "md5_digest": "251ee571c7d0dd5c2ff77c24d5108f61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3241, "upload_time": "2014-06-24T00:31:23", "url": "https://files.pythonhosted.org/packages/ad/dc/20e37e595245ca2dbd9aa6f7c2bb717f528ac91ab1b28c13a61f40f97fb0/hgcanttype-1.0.8.tar.gz" } ] }