Announcement

Collapse
No announcement yet.

viewvc checkout error : repository moved permanently..

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • viewvc checkout error : repository moved permanently..

    Hi, all,

    I successlly set up svn and viewvc on my Apache server. When I checkout my repository using TortoiseSVN client:

    URL of Repository:
    http://servername/svn/repository

    The SVN works great as usuall.

    Now I use viewvc ( which works great on repository listing). I check out using Tortoise client. it displayed the URL of:

    http://servername/viewvc/repository

    and when I check out, it said:

    error: Repository moved permanently to '/viewvc/repository'; please relocate.

    I was wondering if any member has encounted the same isee, and know what it may be caused by? Thanks for any tips

    Regards
    Todd

  • #2
    Hi Todd

    ViewVC is just a Subversion client - think of it as being equivalent to TortoiseSVN's repository browser. You can use it to see more detail (i.e. past revisions) than the usual web view of Subversion-through-Apache, but you can't use it to checkout from or commit to Subversion - you'll need to use Subversion+Apache instead of Subversion+ViewVC for that.

    Cheers
    John
    John Niven

    Comment


    • #3
      I use Tortoise Firefox add-on

      Hi, John,

      I use Tortoise Firefox add-on. So in viewvc page, I right-click repository ->TortoiseSVN ->Checkout; then I got Tortoise Checkout window

      By default, the URL or Repository is displayed as:
      http://servername/viewvc/repository

      Then I change it to:
      http://servername/svn/repository

      Then I can do the svn checkout. Just my two cents. I could not figure out what I need to change in httpd.conf or viewvc.con to make the change automatically.

      Thanks
      Todd

      Comment


      • #4
        Hi Todd

        There's nothing to change - ViewVC simply isn't anything more than a client. You can use any client, and copy and paste a URL from it into another client, changing it as required. The correct URL will remain the "svn" one, not the "viewvc" one. Subversion-through-Apache will serve SVN content through the URL in httpd.conf; it has no knowledge of ViewVC.

        Cheers
        John
        John Niven

        Comment

        Working...
        X