Forum Discussion

greg_whiteley's avatar
greg_whiteley
New Contributor
12 years ago

[CodeReviewer] Failure uploading certain changelists using "svn addchangelists"

I usually have no problems uploading svn revisions from the commandline using addchangelists.



I'm getting the following error with certain changelists:



>ccollab addchangelist new 74146

Connecting to Collaborator Server https://review.<deleted>:8443/

Connected as: <deleted>

Creating new review.

New review created: Review #415: "Untitled Review"

Attaching changelists to review

Auto-detecting SCM System for 'C:\SVN\Repository.

Detected Subversion

Loading information for changelist `74146`

Ensuring changelist can be uploaded

Checking that you are allowed to upload files to this review

Uploading r74146 to Collaborator Server

Loading version control data

Review #415 deleted.

ERROR: SCM system communication problem:

Unknown directory state encountered: CONTROLLED



I've been able to upload other revisions on the same branch (often with consecutive revision numbers).



The only thing I can observe that is any different about these revisions is that they contain direcories which include svn:mergeinfo property changes (ie they are the result of merges).



Frustrating as I only merged them to keep a nice clean history for code-review,...



Any suggesions?
  • Also reproducable through Collaborator UI - here's the UI log exerpt:



    !SESSION 2013-10-25 14:37:33.110 -----------------------------------------------

    eclipse.buildId=unknown

    java.version=1.7.0_45

    java.vendor=Oracle Corporation

    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_AU



    !ENTRY com.smartbear.collaborator.ui.standalone 4 0 2013-10-25 14:37:34.769

    !MESSAGE Collaborator version 8.2.8201



    !ENTRY com.smartbear.collaborator.ui 4 0 2013-10-25 14:38:13.739

    !MESSAGE Could not finish Review Job

    !STACK 0

    com.smartbear.cmdline.ScmCommunicationException: Unknown directory state encountered: CONTROLLED

        at com.smartbear.scm.impl.subversion.SubversionAtomicChange.getVersions(SubversionAtomicChange.java:102)

        at com.smartbear.scm.ScmChangeset.addAtomicChange(ScmChangeset.java:328)

        at com.smartbear.ccollab.datamodel.Scm.uploadChangelist(Scm.java:285)

        at com.smartbear.ccollab.client.commands.AbstractAddChangelistCommand.execute(AbstractAddChangelistCommand.java:139)

        at com.smartbear.ccollab.client.commands.admin.review.AbstractReviewCommand.execute(AbstractReviewCommand.java:125)

        at com.smartbear.ccollab.client.commands.Command.validateAndExecute(Command.java:347)

        at com.smartbear.ccollab.client.commands.Command.validateAndExecute(Command.java:423)

        at com.smartbear.collaborator.Collaborator.execute(Collaborator.java:164)

        at com.smartbear.collaborator.jobs.AddToReviewJob.processChanges(AddToReviewJob.java:158)

        at com.smartbear.collaborator.jobs.AddToReviewJob.run(AddToReviewJob.java:103)

        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
  • Logged this with support and they indicated this is an issue with SVN functionality in 8201 and is resolved in build 8202.



    Installed that and no-longer see the problem.  Hope that helps others who stumble on this.