Flint
View Ticket
Not logged in
Ticket Hash: 36fa86ac51c60ae78234177f2ffd477a859abce4
Title: Override project code - NOT working
Status: Open Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: Resolution: Open
Last Modified: 2023-01-26 01:34:11
Version Found In:
User Comments:
anonymous added on 2022-06-25 12:33:01: (text/x-markdown)
**"Override project code"** option does not have any effect while creating new fossil repo at *chiselapp.com*. 
It should supposed to set project ID/code specified by user in `"Override project code"` option, 
but different project ID is assigned to newly created repo at *chiselapp.com*.

Existing local repo cannot be pushed into remote repo at *chiselapp.com* because of different project ID. 
**Login failure** error occures. 


## Work around method
here is workaround method for one who interested to upload existing repo to *chiselapp.com* till this issue resolves.  

* clone remote repo from *chiselapp.com*  
 ` fossil clone https://chiselapp.com/user/xxx/repository/myrepo myrepo.fossil`
* get project ID of remote repo  
 `fossil info -R myrepo.fossil`
* modify existing local repo project ID to match remote repo ID
```
fossil sql -R <local-repo>
UPDATE config SET value='<project-code-from-remote-repo>' where name='project-code';
.exit
```

anonymous added on 2023-01-26 01:34:11: (text/x-markdown)
Related to the following tickets:

[[22b852d25a]](https://chiselapp.com/user/rkeene/repository/flint/tktview/22b852d25a1edb07dd4c7ae19e7a68daa9663c36) - unable to sync existing repository correctly

[[d34bf8dda6](https://chiselapp.com/user/rkeene/repository/flint/tktview?name=d34bf8dda6)] - new repo project-code override does NOT override it