adding svn repo with https url gives error; using http url works. then review request forwards to https which is still not working.

275 views
Skip to first unread message

C. F.

unread,
Dec 12, 2014, 4:43:37 PM12/12/14
to revie...@googlegroups.com

I have an svn repo at an https url.  I am unable to add the repository at the location because when I do, I get an error like this:


When I modify the url to be http of the same machine, the repo is added successfully.  But, now when I go to start a review I see this:
There was an error loading information from this repository:
("Repository moved temporarily to 'https://mysite/svn/PROJECT'; please relocate", 175011)
This may be a temporary failure. Try again

Any thoughts about what might be going on here?  

Would particularly like to solve the issue with adding the repo using https.

Thanks so much,
Colin

David Trowbridge

unread,
Dec 13, 2014, 6:00:51 PM12/13/14
to revie...@googlegroups.com
Are you using the subvertpy or pysvn backend? If the former, can you try with pysvn?

-David
--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

C. F.

unread,
Dec 15, 2014, 12:45:58 PM12/15/14
to revie...@googlegroups.com

Thanks for the tip, David.

Our setup was using subvertpy.  I'm not directly administering the instance, but I trust the admin, and he added pysvn and removed subvertpy, and we got this error:

The Python module "subvertpy" is not installed. You may need to restart the server after installing it.

That's upon removing the old repo, and adding the new one, and we have restarted the instance of RB.

Is there any trick to getting it to work with 2.0.11?  Maybe there's some setting we didn't trip to change from subvertpy to pysvn?  Does the UI have any noticeable change when selecting the repo type when using subvertpy or pysvn?

Thanks for any help, 

-Colin

David Trowbridge

unread,
Dec 15, 2014, 5:35:51 PM12/15/14
to reviewboard
Assuming pysvn is installed correctly, it should be picked up automatically (we prefer pysvn if installed, then subvertpy). How was it installed onto the system?

-David

C. F.

unread,
Dec 15, 2014, 6:12:54 PM12/15/14
to revie...@googlegroups.com

Re how installed: in short, incorrectly.  Sysadmin did a naïve google for pysvn, and installed a GitHub project called pysvn.  These things happen.

So, using the URLs in the RB install docs, I pointed him at some potential RPMs that might help.  No joy there.  The thing is, the OS is RHEL 6, with Python 2.7 ultimately connecting to an SVN 1.6.11 instance.  Changing any of those versions was pretty much a dealbreaker.

Luckily, after a big of digging, we wound up finding the tar.gz for pysvn-1.7.7, whose INSTALL.html seemed to indicate is the last version to work with SVN 1.6.  (Maybe later versions still work, but we did not try them.)  Following the build instructions in that tarball got pysvn onto the machine... correctly.

I was then able to remove the old repo entry from RB, recreated it with the https://... url to our svn, put the dir to the interesting project in the "mirror path", and...  looks like it's working now!  

Able to start reviews from SVN commits and everything.  w00t.

Thanks again for the tip David.  Would have taken me forever to figure out to try that!

-Colin
Reply all
Reply to author
Forward
0 new messages