mantisbt-plugins / source-integration

Source control integration plugin framework for MantisBT, including support for Github, Gitlab, Bitbucket, Gitea, Gitweb, Cgit, Subversion, Mercurial and more
http://noswap.com/projects/source-integration/
MIT License
181 stars 130 forks source link

Full import without changesets causes repo name to be changed #245

Closed dregad closed 7 years ago

dregad commented 7 years ago

If a repository is imported successfully but import_full() does not actually return any changesets, the temp repo created for the import remains with its Import <timestamp> name instead of being renamed to the original repo's name, and the latter is deleted.