View Ticket
Not logged in
Ticket UUID: 71c9b46198c04e536dd4a8d4e70953a88719092d
Title: fossil clone fails on windows when username contains a space
Status: Fixed Type: Code_Defect
Severity: Severe Priority:
Subsystem: Resolution: Fixed
Last Modified: 2009-09-10 14:32:09
Version Found In: 713b8be852 2009-08-28 22:59:27 UTC
Description & Comments:
on a windows machine using powershell, my fossil clone attempts to use "ron wilson" as my login name without quotes. this is my windows account name.

PS C:\fossil> fossil clone http://www.fossil-scm.org/ fossil.fossil
Bytes Cards Artifacts Deltas
Send: 552 22 0 0
C:\WINDOWS\system32\fossil.exe: server says: bad command: login ron wilson be70bbac9fb714783e3460c62a2c142d2b894cfd fe7a08a0c11e6b99de544ab8a23002a97f689264

i suspect fossil is grabbing my username from windows and using it as the username for logging in. perhaps the name should be quoted? i would prefer to specify a username with the clone command, but there doesn't seem to be a way.

anonymous added on 2009-09-10 05:47:36:
You can use http://username@unknown.com as URL to sepcify username, you might have to add a %20 instead of the actual space.


drh added on 2009-09-10 14:08:39:
Fixed by check-in ee47021f51fa7b81bd00


anonymous added on 2009-09-10 14:32:09:
that works