Permalink
Browse files

add usage, license, and link to my homepage

  • Loading branch information...
1 parent 94f6545 commit c672f97a15522f804930724279844f9e68649c71 @MarkLodato MarkLodato committed Oct 11, 2009
Showing with 40 additions and 1 deletion.
  1. +9 −1 README.rst
  2. +31 −0 git-patch-to-hg-export.py
View
@@ -44,4 +44,12 @@ extensively.
Author
------
-Mark Lodato <lodatom@gmail.com>
+`Mark Lodato`_ <lodatom@gmail.com>
+
+.. _Mark Lodato: http://marklodato.github.com
+
+
+License
+-------
+
+`MIT License <http://www.opensource.org/licenses/mit-license.php>`_
@@ -1,4 +1,9 @@
#!/usr/bin/env python
+"""\
+Git patch to HG changeset patch converter.
+
+USAGE: git-patch-to-hg-export.py < git.patch > hg.patch
+"""
from email.utils import parsedate_tz, mktime_tz
import re
@@ -47,3 +52,29 @@ def git_patch_to_hg(fin, fout):
import sys
git_patch_to_hg(sys.stdin, sys.stdout)
+
+__author__ = "Mark Lodato <lodatom@gmail.com>"
+
+__license__ = """
+This is the MIT license: http://www.opensource.org/licenses/mit-license.php
+
+Copyright (c) 2009 Mark Lodato
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+IN THE SOFTWARE.
+"""

0 comments on commit c672f97

Please sign in to comment.