3891: Error adding new mercurial repository

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.
david
#1 david
Can you show us the full contents of the form?
  • +NeedInfo
david
#3 david
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.
#4 rodolf*******@gmai***** (Google Code) (Is this you? Claim this profile.)
is this good enough?
#5 rodolf*******@gmai***** (Google Code) (Is this you? Claim this profile.)
then, how you define the path through ssh protocol?
david
#6 david
I believe if you do: "ssh://xxx.oracle.com/hgroot/..." it should work (note that you have "://" where you should just have "/").
#8 rodolf*******@gmai***** (Google Code) (Is this you? Claim this profile.)
my mistake, you are right!
thanks
david
#9 david
I'm going to keep this open because we should have a better error message.
  • -NeedInfo
    +New
  • +EasyFix
    +Component-Admin
    +BetterErrors
#10 Justin*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Was able to reproduce the error. Will look into fixing now for an easy-bug-fix.
#11 calvinshin
  • +calvinshin
#12 calvinshin
  • -calvinshin
david
#13 david

This was fixed in release-2.0.x (214465c). This will ship in 2.0.21 and 2.5. Thanks!

  • -New
    +Fixed