# HG changeset patch # User Matt Mackall # Date 1166655847 21600 # Node ID b58c1681d23b1d62cd7a1c50a64520767529bbbc # Parent 0fab73b3f4538002f340c9167497c86b5b5b4eeb Update convert-repo usage comments 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