Cloning a repository named "www.fossil" produces "fossil.fossil"
(1) By silasdb on 2021-05-13 19:07:39 [source]
Hi!
I have a repository called www.fossil (true: this is my personal website repository!).
For the first time I cloned it without passing an extra parameter to fossil clone
:
$ fossil clone /path/to/museum/www.fossil
Repository cloned into ./fossil.fossil
After a bit investigation I found it this in url.c:
** * If the URL is just a domain name, without a path, then use the
** first element of the domain name, except skip over "www." if
** present.
and
if( sqlite3_strnicmp(zTail, "www.", 4)==0 ) zTail += 4;
Maybe it would be nice to avoid such confusion?
Thanks!
(2) By sean (jungleboogie) on 2021-05-14 14:30:03 in reply to 1 [link] [source]
Looks like drh fixed this on trunk. Are you able to compile from src and try again?
(3) By silasdb on 2021-05-16 19:19:44 in reply to 2 [link] [source]
Looks like drh fixed this on trunk. Are you able to compile from src and try again?
https://fossil-scm.org/home/info/380aa578a8ecbc95
I tested it and it is now working fine! Thanks!