Skip to content

tacozMacleo/repoUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

repoUtils

A repo with scripts for handling repos.

repo_converter

Convert a mercurial repo into a git repo. All commit descriptions, author & date are retained.

Have an option to add a filter on what to convert. It could be a single file, or only what inside a folder.

Example: repo_converter -r Project/superBigProgram -o Project/superPart -f coolPart/

The above example takes a existent repo superBigProgram in the Project folder, and commit all the files that er under the coolPart folder,into the new repo superPart.

Added option to shorten the folder path from the output repo, by the filter.

Known Bugs


TODO:

  • It do not handle file diffs from the first mercurial commit.
  • Test the branch only option. Do it even make sense to have it?
  • Add option to convert & import all branches as once.

About

A repo with scripts for handling repos.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages