--similarity option for hg convert ?

Martin Geisler mg at lazybytes.net
Thu Jul 2 09:36:56 CDT 2009


Philippe De Muyter <phdm at macqel.be> writes:

> Hello,
>
> I would like to convert a git repository to hg using 'hg convert'.
>
> Does convert have a --similarity option to detect renamed and moved files,
> like other hg subcommands have ?

Try the help, it says:

  % hg help convert
  ...
  options:

   -A --authors      username mapping filename
   -d --dest-type    destination repository type
      --filemap      remap file names using contents of file
   -r --rev          import up to target revision REV
   -s --source-type  source repository type
      --splicemap    splice synthesized history into place
      --branchmap    change branch names while converting
      --branchsort   try to sort changesets by branches
      --datesort     try to sort changesets by date
      --sourcesort   preserve source changesets order

  use "hg -v help convert" to show global options

so the answer is no.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.


More information about the Mercurial mailing list