Petr Ferdus wrote: > > I have several "recent" versions of fossil statically compiled on Windows > with TCL support. The location of init.tcl and other TCL stuff is denoted by > environmental variable TCL_LIBRARY. On my system I set that variable globally > so all command windows have it correctly set now. My expectation is to be able > to execute fossil successfully from any command window, regardless of its > current working directory. >
Yes, this should technically "work"; however, it's not the optimal Tcl runtime configuration on Windows. Ideally, you want the script library associated with the binaries to be used. If the directories are laid out correctly, it should automatically detect the necessary "init.tcl". > > For some reason I can't grasp now, since today I can sucessfuly run > fossil ver -v just from SOME directories. For many directories I receive error: > TCL (Tcl 8.6.0, loaded TH_ERROR: no such command: ) > How was Fossil compiled? Are there any custom modifications to it, especially to the Tcl integration subsystem? Can you share the complete output of "fossil version --verbose"? What are the values of the global Fossil settings matching "tcl*" and "th1*"? > > Only relevant change I am aware of was merging dynamicTh1Docs and th1ReInit > branches info my working fossil branch. I might be grossly overlooking > something but at the moment I am puzzled why I can't execute TCL enabled fossil > from any properly configured shell within any working directory. > The changes on those branches should not cause the behavior you are seeing. > > One thing I noted, those shells with "bad" current working directories had some > "_fossil_" file in them or somewhere up the path. > Basically, inside of an "open checkout". Are these directories on a network drive? > > Those "good" shells, were on path with one specific "_fossil_" file up or down > this path OR without any "_fossil_" file anywhere up or down the path. > I'm confused by this. It does not seem to work with the previous statement. Does the output of "fossil all list" and "fossil all list --ckout" make sense to you? -- Joe Mistachkin _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users