Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cvs-plugin
    • Labels:
    • Environment:
      2.10-SNAPSHOT in hpi:run on Linux
    • Similar Issues:

      Description

      Create a tree in CVS including an empty directory. Configure a Jenkins job to check it out, leaving the prune option checked. The build runs but the empty directories are not checked out.

      Seems to be a bug in the client. UpdateCommand.pruneEmptyDirectories is called but emptyDirectories is empty; messageSent was called once, but MessageEvent.getMessage was blank.

      If you select Show all CVS output then it works, presumably because cvs update: Updating workspace/empty was printed.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            git bisect says:

            13af4be2de6a1b279da9a7f85cd7578da09db682 is the first bad commit
            commit 13af4be2de6a1b279da9a7f85cd7578da09db682
            Author: Nicolas De Loof <nicolas.deloof@gmail.com>
            Date:   Thu Apr 4 18:21:14 2013 +0200
            
                [FIXED JENKINS-17470] global option -Q is only accepted by cvs server if -q is set as well
            
            :040000 040000 a7bd4bde36ce9165a5bebabb275cd2850967f09c 83fbb065ba7d5fe7d83549ed8585e2778c07ee4d M	src
            
            Show
            jglick Jesse Glick added a comment - git bisect says: 13af4be2de6a1b279da9a7f85cd7578da09db682 is the first bad commit commit 13af4be2de6a1b279da9a7f85cd7578da09db682 Author: Nicolas De Loof <nicolas.deloof@gmail.com> Date: Thu Apr 4 18:21:14 2013 +0200 [FIXED JENKINS-17470] global option -Q is only accepted by cvs server if -q is set as well :040000 040000 a7bd4bde36ce9165a5bebabb275cd2850967f09c 83fbb065ba7d5fe7d83549ed8585e2778c07ee4d M src
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/hudson/scm/AbstractCvs.java
            http://jenkins-ci.org/commit/cvs-plugin/8499b096d51d32cce77a9af40782092da5c2756c
            Log:
            [FIXED JENKINS-18390] -P did not work with -Q; implementing prune manually.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/hudson/scm/AbstractCvs.java http://jenkins-ci.org/commit/cvs-plugin/8499b096d51d32cce77a9af40782092da5c2756c Log: [FIXED JENKINS-18390] -P did not work with -Q; implementing prune manually.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Michael Clarke
            Path:
            src/main/java/hudson/scm/AbstractCvs.java
            http://jenkins-ci.org/commit/cvs-plugin/b1f5341a03325a6f96c73ec9be2d5aa3e8c62088
            Log:
            Merge pull request #21 from jglick/JENKINS-18390-prune

            [FIXED JENKINS-18390] -P did not work with -Q

            Compare: https://github.com/jenkinsci/cvs-plugin/compare/c4e376e874d4...b1f5341a0332

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michael Clarke Path: src/main/java/hudson/scm/AbstractCvs.java http://jenkins-ci.org/commit/cvs-plugin/b1f5341a03325a6f96c73ec9be2d5aa3e8c62088 Log: Merge pull request #21 from jglick/ JENKINS-18390 -prune [FIXED JENKINS-18390] -P did not work with -Q Compare: https://github.com/jenkinsci/cvs-plugin/compare/c4e376e874d4...b1f5341a0332

              People

              • Assignee:
                Unassigned
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: