On May 13, 2015, at 1:13 AM, Gary_Gabriel <[email protected]> 
wrote:
> 
> First after using your suggestion; Fossil did not recognize the user:
> "fossil user defaultGary_Gabriel_Dev"
> "no such user: Gary_Gabriel_Dev"
> 
> Now checking to see if the new user entry was successful:
> "fossil user list"
> "Gary Gabriel
> Gary_Gabriel_Dev

The fact that the “default" command fails even though “list” shows that user 
tells me you have a fairly serious problem, like a corrupted repository, or 
bogus whitespace in the user name.

You could try saying “fossil ui” and seeing if you can fix it from the Admin 
page.

If you’re feeling brave, “fossil sqlite” will open your repository in the 
SQLite shell.  Then the output of “select * from user;” may be enlightening.

> Consider using the --user command line option

Interesting.  I was only looking at the “fossil help commit” output, but this 
option is handled way up in Fossil’s main() function.  It works for all Fossil 
commands.

I wonder if “fossil help” should list these global flags.

> setting your USER environment variable,

…or FOSSIL_USER, or USERNAME, or LOGNAME, as I said.  That list comes straight 
out of the code.

>> It is telling you that there is no file called 
>> C20131_IR_At7_OpSystem_ProjectFile.fossil in the current directory.
> 
> But the file is there confirmed by "fossil ls”.

I assume C20131_IR_At7_OpSystem_ProjectFile.fossil is the name of your actual 
repository file, the one you called “fossil open” on?  If so, then your “add” 
command added the Fossil DB to the Fossil DB, which is why it shows up in “ls” 
output now.

Come to think about it, I wonder if this corrupted your database somehow.  On 
an OS without mandatory locking, Fossil will be trying to copy data from that 
file while it is also trying to change it, possibly causing damage.

> I thought the syntax was right. I have used this statement with success, what 
> is the correct syntax?

    $ f help ci
    f commit ?OPTIONS? ?FILE…?
    ...

That is, you do not name the repository file (i.e. *.fossil) *at all*.  You 
only tell it which previously “add”ed file you wish to commit, or leave the 
file name off to commit all uncommitted changes.

Have you read the Schimpf book?

    http://www.fossil-scm.org/schimpf-book/doc/2ndEdition/fossilbook.pdf
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to