- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for createBranch (0.2 sec)
-
platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/GitVersionSelectionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 14.3K bytes - Viewed (0) -
platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/RemoteSourceDependencyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 8.7K bytes - Viewed (0) -
platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitHttpRepository.java
@Override public Ref checkout(String branchName) throws GitAPIException { return backingRepo.checkout(branchName); } @Override public Ref createBranch(String branchName) throws GitAPIException { return backingRepo.createBranch(branchName); } @Override public Ref createLightWeightTag(String tagName) throws GitAPIException { return backingRepo.createLightWeightTag(tagName); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitRepository.java
import org.eclipse.jgit.lib.Ref; import org.eclipse.jgit.revwalk.RevCommit; import org.gradle.test.fixtures.file.TestFile; import java.net.URI; public interface GitRepository { URI getUrl(); Ref createBranch(String branchName) throws GitAPIException; Ref checkout(String branchName) throws GitAPIException; Ref createLightWeightTag(String tagName) throws GitAPIException; TestFile getWorkTree();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitFileRepository.java
} add.call(); final CommitCommand commit = git.commit(); commit.setSign(false); return commit.setMessage(message).call(); } @Override public Ref createBranch(String branchName) throws GitAPIException { return git.branchCreate().setName(branchName).call(); } @Override public Ref checkout(String branchName) throws GitAPIException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6.5K bytes - Viewed (0) -
platforms/software/version-control/src/test/groovy/org/gradle/vcs/git/internal/GitVersionControlSystemSpec.groovy
// Commit a file to the repository def textFile = repo.workTree.file('source.txt') textFile << 'Hello world!' c1 = repo.commit('Initial commit') repo.createBranch('release') repo.createLightWeightTag('1.0.1') repo.createAnnotatedTag('v1.0.1', 'Release 1.0.1') def anotherSource = repo.workTree.file('dir/another.txt') anotherSource << 'Goodbye world!'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 13:11:16 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerDependencyMappingIntegrationTest.groovy
lib1Repo.file("src/main/swift/Lib1.swift") << """ public class Lib1 { public class func thing() { } } """ lib1Repo.commit("v1") lib1Repo.createBranch("release") lib1Repo.checkout("release") executer.inDirectory(lib1Repo.workTree).withTasks("generateSwiftPmManifest").run() lib1Repo.commit("v2") settingsFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 16.4K bytes - Viewed (0)