stable

Clone or download

Read-only

Clean Pull Request reference namespace when a Git repo is imported or forked

All existing references under refs/tlpr/ are removed. This is part of story #11477: have a dedicated references for pullrequests Change-Id: I824f74a365c762c86150b26149b7a653863c59fe

Modified Files

Name
A plugins/git/include/Git/PostInitGitRepositoryWithDataEvent.php +46 −0 Go to diff View file
M plugins/git/include/GitRepositoryManager.class.php +11 −2 Go to diff View file
M plugins/git/include/Git_Exec.class.php +6 −1 Go to diff View file
M plugins/git/include/autoload.php +3 −2 Go to diff View file
M plugins/git/include/events/SystemEvent_GIT_REPO_FORK..php +4 −1 Go to diff View file
M plugins/git/include/gitPlugin.class.php +2 −1 Go to diff View file
M plugins/git/tests/GitRepositoryManagerTest.php +9 −5 Go to diff View file
M plugins/git/tests/GitXmlImporterTest.php +4 −3 Go to diff View file
M plugins/pullrequest/include/PullRequest/GitExec.php +17 −1 Go to diff View file
A plugins/pullrequest/include/PullRequest/GitReference/GitPullRequestReference.php +26 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/GitReference/GitPullRequestReferenceRemover.php +34 −0 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.class.php +10 −1 Go to diff View file
A plugins/pullrequest/phpunit/.simpletest_skip +0 −0 Go to diff View file
A plugins/pullrequest/phpunit/GitReference/GitPullRequestReferenceRemoverTest.php +54 −0 Go to diff View file
A plugins/pullrequest/phpunit/bootstrap.php +22 −0 Go to diff View file