I tried to import my code for https://sourceforge.net/p/ucomponents/ and received confirmation that the repositery was imported.
"The remote Mercurial import you started for http://ucomponents.hg.sourceforge.net:8000/hgroot/ucomponents has completed successfully."
However nothing was imported. The URL that bitbucket attempted to import from "http://ucomponents.hg.sourceforge.net/hgweb/ucomponents" appears to have no code. A web interface for mercurial is however available at "http://hg.code.sf.net/p/ucomponents/code"
By bypassing the restrictions for the import field and putting in "http://hg.code.sf.net/p/ucomponents/code" instead of the default "http://ucomponents.hg.sourceforge.net:8000/hgroot/ucomponents" I was able to successfully import the project.
Please consider: * making the input field editable by default, * checkin if the repository is empty and warn about it. * automatically determining where to import from