Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for createBranch (0.21 sec)

  1. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/RemoteSourceDependencyIntegrationTest.groovy

                        versionConstraint.branch = 'release'
                    }
                }
            """
            repoB.createBranch('release')
            repoB.checkout('release')
            repoB.commit('version 1.2')
            repoB.createLightWeightTag('1.2')
            repoC.createBranch('release')
            repoC.checkout('release')
            repoC.commit('version 1.2')
            repoC.createLightWeightTag('1.2')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top