OK, I finally got the time slice to do this.  Here it goes.

I created the repository on my Windows machine on a USB stick.  (As I said,
I don't work with Windows machines very often so I generally carry my
development tools with me.)  When I got home, I uploaded the repo to my VPS
and made it web-accessible.  (You can access and clone that repo for
inspection through http://halfbaked.doesntexist.org/repos/testrepo if you
like, or if you'd prefer I can grab a copy via rsync and email you the
original.)  Next time I accessed that repository via Windows, I tried to
clone it.  It succeeded (outside of some issues which are going to be
ticketed).  I opened it and edited the test file.  Upon committing:

e:\tmp\junk>fossil commit -m "Test check-in #2."
> Autosync:  http://halfbaked.doesntexist.org/repos/testrepo
>                 Bytes      Cards  Artifacts     Deltas
> Send:             130          1          0          0
> Received:         138          4          0          0
> Total network traffic: 351 bytes sent, 316 bytes received
>
> You need a passphrase to unlock the secret key for
> user: "Michael T. Richter (SECONDARY KEY) <[email protected]>"
> 4096-bit RSA key, ID F3E91F0C, created 2009-09-11
>
> New_Version: d33362e406613c0ddf865acfb646e32450ec8eb4
> Autosync:  http://halfbaked.doesntexist.org/repos/testrepo
>                 Bytes      Cards  Artifacts     Deltas
> Send:            1613          7          1          1
> 3fossil: server says: not authorized to write
>

I tried several variations on the theme, with some of the more interesting
results highlighted:

e:\tmp\junk>fossil remote-url http://Michael%
> 20T.%20Richter:[email protected]/repos/testrepo
> http://halfbaked.doesntexist.org/repos/testrepo
>
> e:\tmp\junk>fossil commit -m "Test check-in #2."
> Autosync:  http://halfbaked.doesntexist.org/repos/testrepo
>                 Bytes      Cards  Artifacts     Deltas
> Send:             130          1          0          0
> Received:         138          4          0          0
> Total network traffic: 354 bytes sent, 316 bytes received
> *fossil: nothing has changed*
>
> e:\tmp\junk>fossil sync
> Server:    http://halfbaked.doesntexist.org/repos/testrepo
>                 Bytes      Cards  Artifacts     Deltas
> Send:            1613          7          1          1
> 3fossil: server says: not authorized to write
>
> e:\tmp\junk>fossil remote-url http://Michael\sT.\
> sRichter:[email protected]/repos/testrepo
> http://halfbaked.doesntexist.org/repos/testrepo
>
> *e:\tmp\junk>fossil remote-url --show-pw
> http://halfbaked.doesntexist.org/repos/testrepo*
>
> e:\tmp\junk>fossil sync
> Server:    http://halfbaked.doesntexist.org/repos/testrepo
>                 Bytes      Cards  Artifacts     Deltas
> Send:            1613          7          1          1
> 3fossil: server says: not authorized to write
>

First, the "nothing has changed" message is a little bit odd coming from a
failed commit.  I *think* I understand what it's saying, but the message
might be better-worded as "nothing has changed on the local repository" or
the like.  Further, it didn't try to sync, despite the earlier failure.
This is a bit disconcerting.

Second, it doesn't seem that userids with spaces can be stored in the URL at
all.  I tried with %20 for the spaces and I tried with \s.  Both of them
resulted in userid/password pairs that seemed to vanish into thin air.

If I follow the same procedure, incidentally, on a Linux machine where my
userid is "michael", there is no problem whatsoever.

2009/9/14 D. Richard Hipp <[email protected]>

>
> On Sep 14, 2009, at 11:45 AM, Michael Richter wrote:
> >
> > I'll see if I can replicate this problem on another (custom-built)
> > repo so I can mail it off to you for investigation, OK?
>
> Thanks.
>
> D. Richard Hipp
> [email protected]
>
>
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to