Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4457

svn switch can not switch from svn to https protocol

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.8.x
    • ---
    • unknown
    • None
    • FreeBSD

    Description

      svn switch do not allows to switch to https version of repository if i have
      checkouted that repo via svn. Quick demo
      
      1. my local repo checkout via svn protocol
      
      > svn info
      Path: .
      Working Copy Root Path: /usr/src
      URL: svn://svn0.eu.freebsd.org/base/releng/10.0
      Relative URL: ^/releng/10.0
      Repository Root: svn://svn0.eu.freebsd.org/base
      Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
      Revision: 259101
      Node Kind: directory
      Schedule: normal
      Last Changed Author: gjb
      Last Changed Rev: 259068
      Last Changed Date: 2013-12-07 14:03:14 +0100 (Sat, 07 Dec 2013)
      
      2. lets try to switch to https protocol checkout
      svn switch https://svn0.eu.freebsd.org/base/releng/10.0
      Error validating server certificate for 'https://svn0.eu.freebsd.org:443':
       - The certificate is not issued by a trusted authority. Use the
         fingerprint to validate the certificate manually!
      Certificate information:
       - Hostname: svn0.eu.FreeBSD.org
       - Valid: from Jun 29 12:24:17 2013 GMT until Jun 29 12:24:17 2015 GMT
       - Issuer: clusteradm, FreeBSD.org, CA, US(clusteradm@FreeBSD.org)
       - Fingerprint: 39:B0:53:35:CE:60:C7:BB:00:54:96:96:71:10:94:BB:CE:1C:07:A7
      (R)eject, accept (t)emporarily or accept (p)ermanently? p
      svn: E155025: 'svn switch' does not support switching a working copy to a
      different repository
      svn: E155025: 'svn://svn0.eu.freebsd.org/base/releng/10.0'
      is not the same repository as
      'https://svn0.eu.freebsd.org/base'
      
      3. hmm lets check https repo UUID
      
      svn info https://svn0.eu.freebsd.org/base
      Path: base
      URL: https://svn0.eu.freebsd.org/base
      Relative URL: ^/
      Repository Root: https://svn0.eu.freebsd.org/base
      Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
      Revision: 259222
      Node Kind: directory
      Last Changed Author: mav
      Last Changed Rev: 259222
      Last Changed Date: 2013-12-11 18:40:35 +0100 (Wed, 11 Dec 2013)
      
      UUID are same, its same repo, svn switch must work
      

      Original issue reported by hsn

      Attachments

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: