diff --git a/contrib/convert-repo b/contrib/convert-repo --- a/contrib/convert-repo +++ b/contrib/convert-repo @@ -3,19 +3,21 @@ # This is a generalized framework for converting between SCM # repository formats. # -# In its current form, it's hardcoded to convert incrementally between -# git and Mercurial. -# # To use, run: # -# convert-repo +# convert-repo [ []] # -# (don't forget to create the repository beforehand) +# Currently accepted source formats: git +# Currently accepted destination formats: hg # -# The is a simple text file that maps a git commit hash to -# the hash in Mercurial for that version, like so: +# If destination isn't given, a new Mercurial repo named -hg will +# be created. If isn't given, it will be put in a default +# location (/.hg/shamap by default) # -# +# The is a simple text file that maps each source commit ID to +# the destination ID for that revision, like so: +# +# # # If the file doesn't exist, it's automatically created. It's updated # on each commit copied, so convert-repo can be interrupted and can