Re: [fossil-users] Cannot determine user when using -A
Fossil certainly will spawn external programs if you: 1) start a commit w/o a command-line commit message 2) run a did with an external diff-command configured. , maybe others. On Jun 7, 2014 12:00 PM, Ron Wilson ronw.m...@gmail.com wrote: On Sat, Jun 7, 2014 at 11:52 AM, Stephan Beal sgb...@googlemail.com wrote: On Sat, Jun 7, 2014 at 5:18 PM, Will Parsons varro@nodomain.invalid wrote: Or you should be able to simply set the environment variable: $ USER=philip_bennefall and then you don't need to worry about the -A or --user options. That would work, but note that many programs use $USER to create strings (paths) and such, so reassigning it is generally not a good idea. However... export FOSSIL_USER=philip_bennefall should do the trick without endangering any other apps. Also: env USER= philip_bennefall fossil command options etc Will run fossil will that value of USER but not affect other things (unless fossil invokes them, but fossil doesn't do that) ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Cannot determine user when using -A
On Sun, Jun 8, 2014 at 3:25 PM, B Harder brad.har...@gmail.com wrote: Fossil certainly will spawn external programs if you: 1) start a commit w/o a command-line commit message 2) run a did with an external diff-command configured. , maybe others. 3) A new process is started to handle each incoming HTTP request when you run fossil ui or fossil server. 4) gpg is run in a separate process to sign checkins, if you have checkin signing enabled. 5) ssh is run as a separate process if you push or pull using the ssh: protocol. 6) The fossil all sync command (as well as other subcommands under all) starts a second fossil instance in a separate process for each repository to be synced. -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Cannot determine user when using -A
On Sun, Jun 8, 2014 at 3:25 PM, B Harder brad.har...@gmail.com wrote: Fossil certainly will spawn external programs if you: 1) start a commit w/o a command-line commit message 2) run a did with an external diff-command configured. I had been thinking about hooks and discussion of multi platform support issues. I had forgotten about invoking an external editor or diff tool. (I had not forgotten about Fossil forking copies of itself. I just wasn't counting those as external tool invocations.) ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Cannot determine user when using -A
Philip Bennefall wrote: I have been experimenting with Fossil for a few days now and am really liking it so far. I am in the process of switching all my old SVN repositories to Fossil and haven't had any trouble. However, I ran into an issue when creating a new repository today. To illustrate: fossil new dummy.fossil -A philip_bennefall fossil open dummy.fossil fossil add readme.txt fossil commit Then, I get the Cannot figure out who you are! message that I've read about in the archives. So I try: fossil user default philip_bennefall I think you can use: fossil user default philip_bennefall --user philip_bennefall And I get the same message again. It says that it cannot determine user. I don't want to use my computer username for the repository, but I can only get it working if I don't pass -A to fossil new. Any hints would be appreciated. Or you should be able to simply set the environment variable: $ USER=philip_bennefall and then you don't need to worry about the -A or --user options. -- Will ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Cannot determine user when using -A
On Sat, Jun 7, 2014 at 5:18 PM, Will Parsons varro@nodomain.invalid wrote: Or you should be able to simply set the environment variable: $ USER=philip_bennefall and then you don't need to worry about the -A or --user options. That would work, but note that many programs use $USER to create strings (paths) and such, so reassigning it is generally not a good idea. However... export FOSSIL_USER=philip_bennefall should do the trick without endangering any other apps. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Cannot determine user when using -A
Stephan Beal wrote: --===0473655165== Content-Type: multipart/alternative; boundary=047d7ba972dac592b704fb40f859 --047d7ba972dac592b704fb40f859 Content-Type: text/plain; charset=UTF-8 On Sat, Jun 7, 2014 at 5:18 PM, Will Parsons varro@nodomain.invalid wrote: Or you should be able to simply set the environment variable: $ USER=philip_bennefall and then you don't need to worry about the -A or --user options. That would work, but note that many programs use $USER to create strings (paths) and such, so reassigning it is generally not a good idea. However... export FOSSIL_USER=philip_bennefall should do the trick without endangering any other apps. I didn't know about that one. Whether reassigning USER is dangerous or not depends I think on how one works. I generally work under X and would typically call up another terminal window for my fossil session. Since doing a one-time assignment of USER is transitory (as long as one doesn't add the assignment to something like .profile or .cshrc), and is only needed for the initial repository setup, there's really no danger. (But, of course, that depends on how I work - as they say, YMMV.) -- Will ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Cannot determine user when using -A
On Sat, Jun 7, 2014 at 11:52 AM, Stephan Beal sgb...@googlemail.com wrote: On Sat, Jun 7, 2014 at 5:18 PM, Will Parsons varro@nodomain.invalid wrote: Or you should be able to simply set the environment variable: $ USER=philip_bennefall and then you don't need to worry about the -A or --user options. That would work, but note that many programs use $USER to create strings (paths) and such, so reassigning it is generally not a good idea. However... export FOSSIL_USER=philip_bennefall should do the trick without endangering any other apps. Also: env USER= philip_bennefall fossil command options etc Will run fossil will that value of USER but not affect other things (unless fossil invokes them, but fossil doesn't do that) ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Cannot determine user when using -A
2014-06-06 2:13 GMT+02:00 Philip Bennefall phi...@blastbay.com: fossil user default philip_bennefall And I get the same message again. It says that it cannot determine user. I don't want to use my computer username for the repository, but I can only get it working if I don't pass -A to fossil new. Any hints would be appreciated. Thanks for the report. This is indeed cumersome. Should be fixed in (upcoming) fossil 1.29: fossil-scm.org/index.html/info/4306f0f3d6 Regards, Jan Nijtmans ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Cannot determine user when using -A
I have been experimenting with Fossil for a few days now and am really liking it so far. I am in the process of switching all my old SVN repositories to Fossil and haven't had any trouble. However, I ran into an issue when creating a new repository today. To illustrate: fossil new dummy.fossil -A philip_bennefall fossil open dummy.fossil fossil add readme.txt fossil commit Then, I get the Cannot figure out who you are! message that I've read about in the archives. So I try: fossil user default philip_bennefall And I get the same message again. It says that it cannot determine user. I don't want to use my computer username for the repository, but I can only get it working if I don't pass -A to fossil new. Any hints would be appreciated. Kind regards, Philip Bennefall ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users