[
https://issues.jenkins-ci.org/browse/JENKINS-12544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162275#comment-162275
]
dogfood commented on JENKINS-12544:
-----------------------------------
Integrated in !http://ci.jenkins-ci.org/images/16x16/blue.png!
[plugins_mercurial #99|http://ci.jenkins-ci.org/job/plugins_mercurial/99/]
[FIXED JENKINS-12544] Illegal directory name on Windows when port number
used in URL. (Revision fd76cf11527760b2f880ee81ee76a23d1b083079)
Result = SUCCESS
Jesse Glick :
Files :
* src/main/java/hudson/plugins/mercurial/Cache.java
* src/test/java/hudson/plugins/mercurial/CacheTest.java
> mercurial generates illegal directory name on Windows
> -----------------------------------------------------
>
> Key: JENKINS-12544
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12544
> Project: Jenkins
> Issue Type: Bug
> Components: mercurial
> Affects Versions: current
> Environment: Windows 2003 R2
> Java 6.0.30
> Jenkins 1.242.2 LTS
> Mercurial plugin 1.38
> Reporter: javakoe
> Assignee: Kohsuke Kawaguchi
> Labels: plugin, windows
>
> My local mercurial server runs on port 8000 and the plugin tries to use
> ":8000" in the filename. But : is an illegal character in a filename on
> Windows.
> Started by user anonymous
> [workspace] $ "C:\Program Files\Mercurial\hg.exe" showconfig paths.default
> $ "C:\Program Files\Mercurial\hg.exe" clone --noupdate
> http://ronaldradial:8000/
> C:\java\hudson\hgcache\DA7E6A4632009859A61A551999EE2109EBB69267-ronaldradial:8000
> abort: The directory name is invalid:
> C:\java\hudson\hgcache\DA7E6A4632009859A61A551999EE2109EBB69267-ronaldradial:8000
> ERROR: Failed to clone http://ronaldradial:8000/
> ERROR: Failed to use repository cache for http://ronaldradial:8000/
> [workspace] $ "C:\Program Files\Mercurial\hg.exe" pull --rev default
> [workspace] $ "C:\Program Files\Mercurial\hg.exe" update --clean --rev default
> 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
> [workspace] $ "C:\Program Files\Mercurial\hg.exe" --config extensions.purge=
> clean --all
> [workspace] $ "C:\Program Files\Mercurial\hg.exe" log --rev . --template
> {node}
> [workspace] $ "C:\Program Files\Mercurial\hg.exe" log --rev
> bdd41ba264aa37472c5bf4be6bcb9e46be3c7633
> [workspace] $ "C:\Program Files\Mercurial\hg.exe" log --template "<changeset
> node='{node}' author='{author|xmlescape}' rev='{rev}'
> date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n"
> --rev default:0 --follow --prune bdd41ba264aa37472c5bf4be6bcb9e46be3c7633
> [workspace] $ cmd /c call
> C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\hudson3374063823382421936.bat
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira