On Fri, 14 Mar 2014 11:08:32 +0100 Stephan Beal <sgb...@googlemail.com> wrote:
> On Fri, Mar 14, 2014 at 11:03 AM, Michael Weise > <michael.we...@ek-team.de>wrote: > > > $ fossil sync https://user:pass@server/fossil/test_helloworld > > Round-trips: 1 Artifacts sent: 0 received: 0 > > Sync finished with 502 bytes sent, 420 bytes received > > > > $ fossil sync > > missing or incorrect password for user "user" > > > > > > Doesn't fossil store the password for future use? > > > > Yes. When this has happened to me, it's because i skipped a step in the > following: > > 1) create repo locally (fossil new) > 2) fossil ui -R new.repo > 3) set my password there > 4) scp the repo to my hoster > > i occasionally forget steps 2/3. 1) $ fossil new -A user test_helloworld.fossil project-id: 5397a06fb4a74a90cb13605890b72a83d48f0aff server-id: 1222a5b2f271877ff5fb68f04752185af3075cd2 admin-user: user (initial password is "9aa9ee") 2.1) Doesn't work with -R $ fossil ui -R test_helloworld.fossil Usage: C:\devel\msys\bin\fossil.exe ui ?REPOSITORY? 2.2) $ fossil ui test_helloworld.fossil Listening for HTTP requests on TCP port 8080 Launch webbrowser: start http://localhost:8080/ & Type Ctrl-C to stop the HTTP server 3) (Using ui to set project name to "test_helloworld" and set a new password for "user") 4) $ scp test_helloworld.fossil user@server: user@server's password: test_helloworld.fossil 100% 57KB 57.0KB/s 00:00 5) Now doing some stuff on my own: $ fossil open test_helloworld.fossil project-name: temp_helloworld repository: ... more output ... $ fossil push https://user@server/fossil/test_helloworld missing or incorrect password for user "user" $ fossil push https://user:pass@sweserver/fossil/test_helloworld Round-trips: 1 Artifacts sent: 0 received: 0 Push finished with 386 bytes sent, 276 bytes received $ fossil push missing or incorrect password for user "user" > That said, this might have something to do with you using SSL, in which > case maybe someone familiar with that can suggest a solution. > > > I want to sync without having to enter the password / full URL every > > time. How can I do that? > > It "should" just work. What fossil version are you using? There have > recently been changes in how passwords are collected/used. $ fossil version This is fossil version 1.28 [3d49f04587] 2014-01-27 17:33:44 UTC Seems like this didn't solve the issue. Any more suggestions? _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users