Mercurial > public > mercurial-scm > hg-stable
diff contrib/darcs2hg.py @ 5359:6b6104430964
convert: support darcs as a source repo
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 02 Oct 2007 13:49:11 -0700 |
parents | bd706eb8bc25 |
children |
line wrap: on
line diff
--- a/contrib/darcs2hg.py Tue Oct 02 13:48:52 2007 -0700 +++ b/contrib/darcs2hg.py Tue Oct 02 13:49:11 2007 -0700 @@ -3,12 +3,15 @@ # vim: tw=80 ts=4 sw=4 noet # ----------------------------------------------------------------------------- # Project : Basic Darcs to Mercurial conversion script +# +# *** DEPRECATED. Use the convert extension instead. This script will +# *** be removed soon. +# # ----------------------------------------------------------------------------- # Authors : Sebastien Pierre <sebastien@xprima.com> # TK Soh <teekaysoh@gmail.com> # ----------------------------------------------------------------------------- # Creation : 24-May-2006 -# Last mod : 05-Jun-2006 # ----------------------------------------------------------------------------- import os, sys @@ -217,6 +220,7 @@ else: print USAGE sys.exit(-1) + print 'This command is deprecated. Use the convert extension instead.' # Initializes the target repo if not os.path.isdir(darcs_repo + "/_darcs"): print "No darcs directory found at: " + darcs_repo