Loading

Paste #p88ragllr

  1. Migrating a hg repo (ELEPHANT example)
  2.  
  3. * copy directory to ELEPHANT.old.hg for backup
  4. * cd ELEPHANT
  5. * source ../../bin27/bin/activate
  6. * git init
  7. * git config core.ignoreCase false
  8. * ../../tools/hg-fast-export/hg-fast-export.sh -r . -A ../../tools/authors-fast-export.txt
  9.     * noting that authors doesn't appear to actually work correctly :P
  10. * git checkout -f HEAD
  11. * fix any wrong authors
  12.    *   git log --all --format='%aN <%cE>' | sort -u
  13.        * verifies current authors
  14.    *   sh ../../tools//fix_author.sh
  15.        * fixes current authors (may need editing for specific authors)
  16.    * verify again
  17. * make a new repo on github
  18. * git remote add origin https://github.com/andythenorth/ELEPHANT.git
  19. * git push -u origin master
  20. * touch .gitignore
  21. * edit .gitignore and commit
  22. * remove .hg* files
  23. * fix anything in the build that depends on hg

Comments