hgext/convert/__init__.py
changeset 5252 0b0caffcf175
parent 5202 6f636d13f6b8
child 5281 a176f9c8b26e
equal deleted inserted replaced
5246:585471802a01 5252:0b0caffcf175
   395     The [username mapping] file is a simple text file that maps each source
   395     The [username mapping] file is a simple text file that maps each source
   396     commit author to a destination commit author. It is handy for source SCMs
   396     commit author to a destination commit author. It is handy for source SCMs
   397     that use unix logins to identify authors (eg: CVS). One line per author
   397     that use unix logins to identify authors (eg: CVS). One line per author
   398     mapping and the line format is:
   398     mapping and the line format is:
   399     srcauthor=whatever string you want
   399     srcauthor=whatever string you want
       
   400 
       
   401     The filemap is a file that allows filtering and remapping of files
       
   402     and directories.  Comment lines start with '#'.  Each line can
       
   403     contain one of the following directives:
       
   404 
       
   405       include path/to/file
       
   406 
       
   407       exclude path/to/file
       
   408 
       
   409       rename from/file to/file
       
   410     
       
   411     The 'include' directive causes a file, or all files under a
       
   412     directory, to be included in the destination repository.  The
       
   413     'exclude' directive causes files or directories to be omitted.
       
   414     The 'rename' directive renames a file or directory.  To rename
       
   415     from a subdirectory into the root of the repository, use '.' as
       
   416     the path to rename to.
   400     """
   417     """
   401 
   418 
   402     util._encoding = 'UTF-8'
   419     util._encoding = 'UTF-8'
   403 
   420 
   404     if not dest:
   421     if not dest: