Trac issue/bug tracking software - is there a way to use git AND svn on the same trac installation

StackOverflow https://stackoverflow.com/questions/19057239

  •  29-06-2022
  •  | 
  •  

문제

I've successfully installed Trac bug tracking software which has the ability to use SVN and GIT - however I am having problems setting up both types of repositories for the same trac installation. The config seems to imply that there should be only one 'type' of repository for a trac install but this seems to fly in the face of the interface which implies that more than one type of repo can be added to the interface.

Anyone have this same issue? I have been to google already and cannot find the search terms needed to address this specific issue.

EDIT

This is the error I get when trying to 'resync' the git repo GitError: GIT control files not found, maybe wrong directory?

Any help is appreciated. Thank you!

도움이 되었습니까?

해결책

Yes, you an use both Git and SVN in the same installation; trac.edgewall.org is doing just that. TracRepositoryAdmin explains how to add multiple repositories through either the trac.ini config file, or the database (recommended).

Regarding the resync error, perhaps you haven't pointed dir to the .git directory. The issue discussed in #11297 might be what you are experiencing.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top