Fossil SCM

fossil push - server says: not authorized to write

Closed

9ce0321b54eb5c8… · opened 16 years, 11 months ago

Type
Incident
Priority
Low
Severity
Resolution
Open
Subsystem
Created
May 9, 2009 2:48 p.m.

Whenever I want to sync or push from a local repository to the 'main' repository, I get this answer and fossil bails out. I checked the users on the local and remote repositories and they are the same. Tried to look for this in the documentation and tickets but could not find anything. How can I resolve this ?

Thx, Wim


anonymous added on 2009-05-09 15:33:57:
I found out by browsing the database where my problem was. Although you update your user info (specifically passwords), the last-sync-url does not get updated. Updating this variable with the reset password settles the problem. Is there a way to update the last-sync-url from the command line ?


drh added on 2009-05-09 19:15:22:
The last-sync-url is updated automatically when you do a push, pull, or sync that specifies an explicit url. Example:

fossil pull http://USER:[email protected]/project1

The command above will store the "http://USER:[email protected]/project1" in the last-sync-url variable. Note also that the USER:PASSWORD, is stored but never displayed.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button