Hi Warren,
Thanks for your help and comments. I tried your tip , and checked the
user name again, the repo is installed on a PC with another user name.
But irregardless of what I tried; Fossil replies with "no such user:
Gary_Gabriel_Dev". The details follow.
Fossil attempts to guess the correct user name from several environment
variables: FOSSIL_USER, USER, LOGNAME, then USERNAME, in that order. The first
one that succeeds is used.
If none of these is set correctly with respect to your Fossil user scheme (i.e.
Fossil users and your local LDAP user names are different) you can override
this guessing game with the “fossil user default” command.
I added a new user with the current user name, but the same error(1)
continues. Here are the console results after adding the new user with a
current user name.
First after using your suggestion; Fossil did not recognize the user:
"fossil user default Gary_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
anonymous Anon
developer Dev
nobody Nobody
reader Reader"
I do not understand the problem. "Gary_Gabriel_Dev" is the valid PC user
name and is recognized by "fossil user list". However the commit command
fails and Fossil continues to reply "no such user: Gary_Gabriel_Dev".
Or- Fossil refuses the commit with the comment:
"Cannot figure out who you are! Consider using the --user
command line option, setting your USER environment variable,
or setting a default user with "fossil user default USER"."
For completeness I replied to your thoughtful tips.
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".
You probably do not mean to be checking one Fossil repo into another Fossil
repo anyway. I’m guessing that you are passing that parameter by mistake,
thinking that you are telling Fossil which repo to make the checkin on.
If you want to make a checkin on a particular Fossil repo, you need to be
making that checkin from within the directory where you said
fossil open /path/to/C20131_IR_At7_OpSystem_ProjectFile.fossil
Previous to the posted commands; I cd'ed to the correct directory where
the repo is and checked repo file availability with "fossil ls" and
"fossil status". The console returned the confirmation of the open repo.
"You probably do not mean to be checking one Fossil repo into another
Fossil repo anyway. I’m guessing that you are passing that parameter by
mistake, thinking that you are telling Fossil which repo to make the
checkin on." You're right. I thought the syntax was right. I have used
this statement with success, what is the correct syntax?
I get this error[1] with a commit:
fossil commit -m "12.05.2015. C20131_IR_At7_OpSystem_ProjectFile.tcl." --tag
"C20131_IR_At7_OpSystem_ProjectFile" --allow-empty
C20131_IR_At7_OpSystem_ProjectFile.fossil
Do you mean --allow-empty? What change is fossil not seeing? What does
Fossil say when you try to “fossil diff” that file, or ask “fossil
finfo” on it?
Yes- that is the command posted above, assuming the syntax in the commit
statement is correct. To workaround Fossil's refusal to commit; I made
some more changes to the source and tried again. But even after the
changes; Fossil did not detect the changes. But this is secondary to the
problem.
Fossil recognizes "--user "Gary Gabriel" “?
There is no such flag.
This Fossil console comment refers to the flag "--user".
"Cannot figure out who you are! Consider using the --user
command line option, setting your USER environment variable,
or setting a default user with "fossil user default USER"."
I appreciate your time and expertise, and it helped me along.
- Gary Gabriel
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users