stable

Clone or download

Read-only

Merge 'gerrit #30492' into stable/master

* commit '7d708e877f': feat(git): Close request #36842 Git XML export and import must deal with default branch Change-Id: I9ab60ba6a0022997e1b4c2d7b826e2d8ec14d65f

Modified Files

Name
A plugins/git/include/DefaultBranch/DefaultBranchRetriever.php +48 −0 Go to diff View file
A plugins/git/include/DefaultBranch/RetrieveRepositoryDefaultBranch.php +37 −0 Go to diff View file
M plugins/git/include/GitXMLExporter.php +25 −11 Go to diff View file
A plugins/git/include/GitXMLImportDefaultBranchRetriever.php +55 −0 Go to diff View file
M plugins/git/include/GitXmlImporter.class.php +36 −16 Go to diff View file
A plugins/git/include/RetrieveGitDefaultBranchInXMLImport.php +29 −0 Go to diff View file
M plugins/git/include/gitPlugin.php +5 −0 Go to diff View file
M plugins/git/tests/integration/GitXmlImporterTest.php +3 −0 Go to diff View file
M plugins/git/tests/unit/GitXMLExporterTest.php +57 −28 Go to diff View file
A plugins/git/tests/unit/GitXMLImportDefaultBranchRetrieverTest.php +163 −0 Go to diff View file
M src/common/xml/resources/git-definition.rnc +1 −0 Go to diff View file
M src/common/xml/resources/project/git-definition.rng +5 −0 Go to diff View file
M src/common/xml/resources/project/project.rng +5 −0 Go to diff View file