version control - Cannot clone Mercurial repo - abort: repository http://hg.something.com/something error -


i ran command clone repo

[19:07:19 root /data]$  hg clone http://hg.something.com/something dir abort: repository http://hg.something.com/something not found! [19:07:19 root /data]$ 

i not sure why hg says cannot find repo when can access repo http://hg.something.com/something web browser. same command works colleague's machine. , ping hg.something.com works fine. 1 more thing have same repo cloned using same command in same directory few days back. hg totally operational inside directory.

any hint may causing problem?

ps: can't use ssh. have stick http.

i found peculiar problem. had copied repo link web browser looked this-

enter image description here

if see there small character ( red circle ) indicates repo link. when copied whole command, character got copied. when pasted command linux terminal, turned invisible character , such never spot mercurial could.

when pasted whole command vim, showed "invisible" character this-

hg clone <200b>http://hg.something.com/fs 

so invisible character zero width space.

quite insidious bug though!


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -