3891: Error adding new mercurial repository
- Fixed
- Review Board
rodolf*******@gmai***** (Google Code) (Is this you? Claim this profile.) | |
What version are you running? 2.0.17 What's the URL of the page containing the problem? It's internal, not public https://xxx.oracle.com/reviews/admin/db/scmtools/repository/add/ What steps will reproduce the problem? 1. Just adding a new repository for mercurial 2. 3. What is the expected output? What do you see instead? success adding the repository, but I got: Please correct the error below. invalid literal for int() with base 10: '' What operating system are you using? What browser? Linux RedHat 6 Please provide any additional information below.
OK, I believe the issue is you have an extra : character at the end of the hostname in your URL, so it's trying to parse out a port that isn't there. If you get rid of that character, it ought to work.
then, how you define the path through ssh protocol?
I believe if you do: "ssh://xxx.oracle.com/hgroot/..." it should work (note that you have "://" where you should just have "/").
my mistake, you are right! thanks
I'm going to keep this open because we should have a better error message.
-
- NeedInfo + New -
+ EasyFix + Component-Admin + BetterErrors
Was able to reproduce the error. Will look into fixing now for an easy-bug-fix.