diff --git a/hg-fast-export.py b/hg-fast-export.py old mode 100644 new mode 100755 index b876ce4..cbd295b --- a/hg-fast-export.py +++ b/hg-fast-export.py @@ -3,10 +3,6 @@ # Copyright (c) 2007 Rocco Rutte # License: MIT -"""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 from tempfile import mkstemp from optparse import OptionParser @@ -27,10 +23,6 @@ cfg_checkpoint_count=0 # write some progress message every this many file contents written cfg_export_boundary=1000 -def usage(ret): - sys.stderr.write(__doc__) - return ret - def setup_repo(url): myui=ui.ui() return myui,hg.repository(myui,url)