Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Sergei Gavrikov
On Wed, 30 Jan 2013, Jan Nijtmans wrote: 2013/1/29 Stephan Beal: On Tue, Jan 29, 2013 at 9:00 AM, K. Fossil user wrote: Latest stable release or dev release does not compile with option: --static ... Like networking libs, it will produce warnings like: warning: Using 'dlopen' in

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Sergei Gavrikov
On Wed, 30 Jan 2013, Jan Nijtmans wrote: 2013/1/30 Richard Hipp wrote: I'm uncomfortable with this change. If we need to use fossil_strcmp() everywhere (which surprises me, since strcmp() should *not* be subject to localization) then we should do so explicitly, and not depend on

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Sergei Gavrikov
On Wed, 30 Jan 2013, K. Fossil user wrote: People would like to use a DVCS everywhere with any distro with the SAME binary, not the one specific to a distro. First, I do not say that build process for a static executable should fail. But at least such process is not trivial (it was given a lot

[fossil-users] Compile Fossil with Tiny C Compiler

2013-01-30 Thread Sergei Gavrikov
Hi [The below is thanking -static issue] I search through the list for /Fabrice Bellard/ and found nothing. His famous Tiny C Compiler (http://en.wikipedia.org/wiki/Tiny_C_Compiler http://bellard.org/tcc/) is well-known in Tcl community and they know its strengths. I want to share here my

[fossil-users] warning fix

2013-02-19 Thread Sergei Gavrikov
Fix for: ../src/http_transport.c: In function ‘test_ssh_far_side_cmd’: ../src/http_transport.c:271:13: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] Sergei Index: src/http_transport.c

[fossil-users] build error: 'Global' has no member named 'dontKeepUrl'

2013-02-21 Thread Sergei Gavrikov
Hi Could you, please, add it to main.c:Global: Thanks Sergei --- checkout: 75e483899e28a533c7f17bb179acd9c10e9f3b60 2013-02-21 08:15:41 UTC tags: trunk comment: unused variables (user: jan.nijtmans)

Re: [fossil-users] build error: 'Global' has no member named 'dontKeepUrl'

2013-02-21 Thread Sergei Gavrikov
On Thu, 21 Feb 2013, Jan Nijtmans wrote: 2013/2/21 Sergei Gavrikov sergei.gavri...@gmail.com: Hi Could you, please, add it to main.c:Global: Thanks Sergei The actual commit which removed it was one earlier: 03:51:10 [6d6740dcca] Improved handling for remote repository passwords

Re: [fossil-users] looking for guinea pigs for new help functionality

2013-02-21 Thread Sergei Gavrikov
On Thu, 21 Feb 2013, Stephan Beal wrote: Hiho, i'm looking for guinea pigs again :), this time with minor enhancements to the online help system: support for web page-specific help. (Most pages don't have any useful help at the moment, though.) To try it out, check out the 'help-www'

Re: [fossil-users] looking for guinea pigs for new help functionality

2013-02-22 Thread Sergei Gavrikov
On Fri, 22 Feb 2013, Stephan Beal wrote: On Fri, Feb 22, 2013 at 8:06 AM, Sergei Gavrikov sergei.gavri...@gmail.com wrote: $0.02 Good morning, Sergei!   -   I would avoid that output of the base /help URL begins itself too long (more than 1/2 of screen in $BROWSER), I

Re: [fossil-users] looking for guinea pigs for new help functionality

2013-02-22 Thread Sergei Gavrikov
On Fri, 22 Feb 2013, Stephan Beal wrote: On Fri, Feb 22, 2013 at 10:11 AM, Sergei Gavrikov wrote: I mean that new /help web page will be extra informative when you add new volume Available pages to it. Perhaps, it is not big issue for developers, but other can think

[fossil-users] Side-by-side diff and non-English text

2013-02-27 Thread Sergei Gavrikov
Hi Has anyone seen a broken output on the side-by-side diff pages for non-English texts? I mean UTF-8 non-English texts (Russian in my case) and of course the latest Fossil builds. If such an issue exists and it is a limitation the sbs's algorithm, what do you think, Is it good idea to add new

Re: [fossil-users] Side-by-side diff and non-English text

2013-02-28 Thread Sergei Gavrikov
On Wed, 27 Feb 2013, Joe Mistachkin wrote: Sergei Gavrikov wrote: Has anyone seen a broken output on the side-by-side diff pages for non-English texts? Do you have an example that is viewable online? Find, please, a test http://chiselapp.com/user/sg/repository/pangrams Look

Re: [fossil-users] Side-by-side diff and non-English text

2013-03-02 Thread Sergei Gavrikov
On Thu, 28 Feb 2013, Richard Hipp wrote: On Thu, Feb 28, 2013 at 4:20 AM, Jan Nijtmans jan.nijtm...@gmail.com wrote: 2013/2/28 Sergei Gavrikov sergei.gavri...@gmail.com: On Wed, 27 Feb 2013, Joe Mistachkin wrote: Do you have an example that is viewable online? Find, please

Re: [fossil-users] Side-by-side diff and non-English text

2013-03-04 Thread Sergei Gavrikov
On Mon, 4 Mar 2013, Jan Nijtmans wrote: 2013/3/4 Jan Nijtmans jan.nijtm...@gmail.com: It still isn't correct in all cases. See: https://www.fossil-scm.org/index.html/info/256815f9c5 I see that's fixed now too. Thanks Richard! (not visible on fossil-scm.org yet, until it's fossil

Re: [fossil-users] TH1 bomb

2013-05-08 Thread Sergei Gavrikov
On Wed, 8 May 2013, Stephan Beal wrote: On Wed, May 8, 2013 at 6:37 PM, Stephan Beal sgb...@googlemail.com wrote: _Seems_ (without having looked at the code yet) to be an over-eager loop in Th_ErrorMessage. i'll have a look at it this evening. My suspicion was wrong but

Re: [fossil-users] Side-by-side diff improvement

2013-07-06 Thread Sergei Gavrikov
On Fri, 5 Jul 2013, Joel Bruick wrote: Hi all, I've committed a pretty big changeto the diff code(http://www.fossil-scm.org/index.html/info/4081a91c84) , and I'd like some other people to take a look at it/test it out before it (maybe/hopefully) gets merged into the trunk. The purpose

Re: [fossil-users] survey: your top 5 most-used fossil CLI commands?

2013-09-03 Thread Sergei Gavrikov
It seems for me it's good to know and the less-used commands :-) Yesterday I checked my list as % history | gawk \ '{if($2==f||$2==fossil)s[$3]++}END{for(i in s)print s[i],i}'|sort -Vr Sergei On Tue, 3 Sep 2013, Stephan Beal wrote: On Tue, Sep 3, 2013 at 9:08 PM, Ross Berteig

[fossil-users] TH1: expr {42.0/0}

2013-12-28 Thread Sergei Gavrikov
Hi I found that TH1 does not catch Divide by 0 under certain conditions (if numerator or denominator (or both) are floating-point numbers) and quite hangs Fossil: % fossil test-th-eval expr {42/0} TH_ERROR: Divide by 0: 42 # TH1 hangs Fossil % fossil test-th-eval expr {42.0/0} %

Re: [fossil-users] TH1: expr {42.0/0}

2014-01-03 Thread Sergei Gavrikov
On Sat, 28 Dec 2013, Joe Mistachkin wrote: Sergei Gavrikov wrote: I found that TH1 does not catch Divide by 0 under certain conditions (if numerator or denominator (or both) are floating-point numbers) and quite hangs Fossil: Thanks for the report. Fixed here: https

Re: [fossil-users] TH1: expr {42.0/0}

2014-01-03 Thread Sergei Gavrikov
On Fri, 3 Jan 2014, Joe Mistachkin wrote: Sergei Gavrikov wrote: Sorry for delayed answer. Thank you for this fix. One thing that I found today, there are a few early returns in exprEval() which can cause memory leaks (nLeft, nRight stay allocated after return). I would say 'goto

[fossil-users] TH1: set v 0; unset v; info exists v;

2014-01-04 Thread Sergei Gavrikov
Hi Excuse my batch mails on TH1 :-) And although they say that TH1 is the scripting language for web pages ... [http://en.wikipedia.org/wiki/TH1] TH1 is great tool for other tasks. And as I play with TH1 in these days my scripts find some things. New one SYNOPSIS % ./fossil version This is

Re: [fossil-users] TH1: set v 0; unset v; info exists v;

2014-01-05 Thread Sergei Gavrikov
On Sun, 5 Jan 2014, Sergei Gavrikov wrote: [no lyrics] % ./fossil version This is fossil version 1.28 [da90bbe591] 2014-01-04 16:17:47 UTC % ./fossil test-th-eval 'set v 1; unset v; info exists v' 1 We expect 0. No issues with unset % ./fossil test-th-eval 'set v 1; unset v

[fossil-users] OT: TH1 shell

2014-01-05 Thread Sergei Gavrikov
Hi http://chiselapp.com/user/sg/repository/thsh/index it is a tiny TH shell. Main goal was to keep original Fossil TH core (th.c and th_lang.c) without any changes and provide TH1 shell with alone source (th_shell.c, 391 lines in C). Only new one command was added [source] to interact with

Re: [fossil-users] TH1: set v 0; unset v; info exists v;

2014-01-09 Thread Sergei Gavrikov
On Sun, 5 Jan 2014, Joe Mistachkin wrote: Sergei Gavrikov wrote: It seems this was introduced with Th_ExistsVar() http://fossil-scm.org/index.html/artifact/a561c58c237b3eb43eaf55e6f9cc6a9b8a 26e5d1?ln=1154-1159 (check-in http://fossil-scm.org/index.html/info/4f8c8975bc). As I could

Re: [fossil-users] TH1: set v 0; unset v; info exists v;

2014-01-09 Thread Sergei Gavrikov
On Thu, 9 Jan 2014, Joe Mistachkin wrote: Sergei Gavrikov wrote: Thank you for the fixes! I'm sorry, but, I found yet another issue with Th_ExistsVar(). If a variable is not exists, Th_ExistsVar() does clear TH stack trace: Thanks again, fixed here: https://www.fossil

Re: [fossil-users] Version 1.28 release?

2014-01-10 Thread Sergei Gavrikov
../configure --quietmake -s test|sed -ne '/Final result:/,$p' Cannot run this test within an open checkout Cannot run this test within an open checkout Cannot run this test within an open checkout * Final result: 2 errors out of 18915 tests * Failures: merge-utf-24-23

Re: [fossil-users] TH1: set v 0; unset v; info exists v;

2014-01-13 Thread Sergei Gavrikov
Sergei Gavrikov wrote: As I could see Th_ExistsVar() does miss a test for pValue-zData as Th_GetVar() does http://fossil-scm.org/index.html/artifact/a561c58c237b3eb43eaf55e6f9cc6a9b8a26e5d1?ln=1142-1149. It looks like the same check is needed for Th_UnsetVar() too. # Expect {TH_ERROR

Re: [fossil-users] TH1: set v 0; unset v; info exists v;

2014-01-13 Thread Sergei Gavrikov
On Mon, 13 Jan 2014, Joe Mistachkin wrote: Sergei Gavrikov wrote: It looks like the same check is needed for Th_UnsetVar() too. Actually, the issue with Th_UnsetVar was slightly different; however, it should be fixed now: http://www.fossil-scm.org/index.html/info/1ebe4b02e4

[fossil-users] fossil import --git --incremental regression?

2014-01-15 Thread Sergei Gavrikov
Hi After this http://fossil-scm.org/index.html/info/1aef260f4c check-in I cannot do incremental import anymore (I get the second dup trunk). An imported git project is simple and has 'master' branch only. After that I did revert this check-in the latest Fossil build does incremental import for

Re: [fossil-users] TH1: string sub-sommands (first, last)

2014-01-16 Thread Sergei Gavrikov
On Wed, 15 Jan 2014, Joe Mistachkin wrote: All the issues should be fixed now: https://www.fossil-scm.org/index.html/vdiff?from=d0d7ca17a46a0832to=f61958b 183db741bsbs=1 Thank you! Also thanks for 'th1UnsetVar' work. Sergei ___ fossil-users

Re: [fossil-users] fossil import --git --incremental regression?

2014-01-17 Thread Sergei Gavrikov
On Thu, 16 Jan 2014, Sergei Gavrikov wrote: After this http://fossil-scm.org/index.html/info/1aef260f4c check-in I cannot do incremental import anymore (I get the second dup trunk). An imported git project is simple and has 'master' branch only. After that I did revert this check

Re: [fossil-users] fossil import --git --incremental regression?

2014-01-17 Thread Sergei Gavrikov
On Fri, 17 Jan 2014, Sergei Gavrikov wrote: Excuse word regression. s/regression/fix/. However, new handling of timezone offset begins new timeline as the previous imports have been done before this check-in. If you fall in the same trap, the next filter did restore the previous Fossil import

[fossil-users] TH1: expr -2147483648

2014-02-04 Thread Sergei Gavrikov
Hi, There is an issue in Th_SetResultInt(), it can not interpret INT_MIN value: % fossil test-th-eval 'expr -2147483648' -( % fossil test-th-eval 'expr {-2147483647-1}' -( % fossil test-th-eval 'expr {-2147483648+0}' TH_ERROR: expected number, got: -( It seems those iVal%10,

Re: [fossil-users] TH1: expr -2147483648

2014-02-05 Thread Sergei Gavrikov
On Tue, 4 Feb 2014, Joe Mistachkin wrote: This should now be fixed, along with another issue. Thanks! Sergei ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

[fossil-users] TH: unary bitwise operator

2014-04-01 Thread Sergei Gavrikov
Hi [FYI] % fossil test-th-eval 'expr ~1234' fossil: ../src/th.c:2002: exprEval: Assertion `!Internal error' failed. Sergei Index: src/th.c == --- src/th.c +++ src/th.c @@ -1996,10 +1996,11 @@ case OP_BITWISE_OR:

[fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Sergei Gavrikov
Hi I have a small patch (it is attached just for reference) to make TH1 use the integers also in other formats (hexadecimal and octal forms). For example, we would use the same expressions then % expr {010+10+0x10} 34 Could we add such a support in Fossil TH1? I believe the TH1 stands for

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Sergei Gavrikov
On Thu, 3 Apr 2014, Jan Nijtmans wrote: 2014-04-03 14:05 GMT+02:00 Sergei Gavrikov sergei.gavri...@gmail.com: Could anyone take a look on the workaround, please? Well, Th_ToInt() become itself a bit more slow, but I think it is still more fast than strtoll(). At the least, I can say

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Sergei Gavrikov
On Thu, 3 Apr 2014, Jan Nijtmans wrote: 2014-04-03 15:10 GMT+02:00 Sergei Gavrikov sergei.gavri...@gmail.com: Good point. Thak you. With new patch TH1 works as Tcl 8.5 While on it, I added binary as well. http://www.fossil-scm.org/index.html/info/1f6734c30b Thanks! Sure, '0b' also

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Sergei Gavrikov
On Thu, 3 Apr 2014, Sergei Gavrikov wrote: TH does trig on such typos expr 0+0b2 expr 0+0o8 I mean % fossil test-th-eval 'expr 0+0b2' fossil: ../src/th.c:2140: exprMakeTree: Assertion `!apToken[jj] || !apToken[0]' failed. Aborted So, for the new three things I would enter three

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-03 Thread Sergei Gavrikov
On Thu, 3 Apr 2014, Sergei Gavrikov wrote: The fix is attached. ^^^ Please, forget it! Sorry. Sergei ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-04 Thread Sergei Gavrikov
On Fri, 4 Apr 2014, Jan Nijtmans wrote: An additional issue is that binary/octal/hex numbers cannot contain dots, so they must be handled separately anyway. Done here: http://fossil-scm.org/index.html/info/a306f771d8 [the issues went away] Thank you very much! Now we have the

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-07 Thread Sergei Gavrikov
On Fri, 4 Apr 2014, Sergei Gavrikov wrote: On Fri, 4 Apr 2014, Jan Nijtmans wrote: An additional issue is that binary/octal/hex numbers cannot contain dots, so they must be handled separately anyway. Done here: http://fossil-scm.org/index.html/info/a306f771d8 [the issues went away

Re: [fossil-users] TH1: support for octal and hexadecimal numbers in expressions

2014-04-07 Thread Sergei Gavrikov
On Mon, 7 Apr 2014, Jan Nijtmans wrote: 2014-04-07 19:34 GMT+02:00 Sergei Gavrikov wrote: Could you, please, take a look on this puzzle? fossil-scm.org/index.html/info/b153caf67e Thanks! Regards, Sergei ___ fossil-users mailing list fossil

[fossil-users] Fossil latest, /dir?ci=trunk issue

2014-04-08 Thread Sergei Gavrikov
Hi SYNOPSIS i. ./fossil version This is fossil version 1.28 [b18f3a5cfb] 2014-04-08 09:37:43 UTC ii. ./fossil ui -P iii. Click on [Code] tab (http://localhost:/dir?ci=trunk) iv. Now if I try to open any directory, e.g. www/ I get an error no such checkin:

[fossil-users] TH1: make TH1 be more verbose on parse error

2014-06-10 Thread Sergei Gavrikov
Hi SYNOPSIS % fossil test-th-eval set x y; set z \ TH_ERROR: y % fossil test-th-eval set x y; set z { TH_ERROR: y % fossil test-th-eval set x y; set z [ TH_ERROR: y Take a look on src/th.c:thNextWord(), please. Could we make TH be more verbose there? See $.02 patch. ./fossil

Re: [fossil-users] TH1: make TH1 be more verbose on parse error

2014-06-11 Thread Sergei Gavrikov
On Tue, 10 Jun 2014, Stephan Beal wrote: On Tue, Jun 10, 2014 at 3:31 PM, Sergei Gavrikov wrote: Take a look on src/th.c:thNextWord(), please. Could we make TH be more verbose there? See $.02 patch. Thanks for the patch - i'll get this or something equivalent checked in as soon

Re: [fossil-users] libfossil + fuse

2014-06-15 Thread Sergei Gavrikov
On Fri, 13 Jun 2014, Richard Hipp wrote: This appears to be working now on trunk.  Get the latest code.  Rerun ./configure and recompile (on a Linux system with FuseFS support - Ubuntu 13.10 works for me after apt-get install fuse).  Then: fossil fusefs /tmp/myrepo Then you can access

Re: [fossil-users] libfossil + fuse

2014-06-15 Thread Sergei Gavrikov
there is the issue in Fossil fuse readdir for root items only. Sergei On Sun, 15 Jun 2014, Thomas Schnurrenberger wrote: On 15.06.2014 15:45, Sergei Gavrikov wrote: touch foo;f add foo;f ci -m add foo touch foo-bar;f add foo-bar;f ci -m add foo-bar mkdir bar;touch bar/.stick;f add --dotfiles bar;f

Re: [fossil-users] libfossil + fuse

2014-06-15 Thread Sergei Gavrikov
The issue went away. Thanks! Sergei On Sun, 15 Jun 2014, Richard Hipp wrote: On Sun, Jun 15, 2014 at 9:45 AM, Sergei Gavrikov sergei.gavri...@gmail.com wrote: Thanks for nice Fossil FS! I found one strange thing. One my Fossil repository has two directories, rootfs and rootfs-earth. After

Re: [fossil-users] fossil CLI tricks: interrupting a commit message

2014-06-17 Thread Sergei Gavrikov
On Tue, 17 Jun 2014, Nico Williams wrote: On Mon, Jun 16, 2014 at 11:49 PM, B Harder wrote: Remember that the buffer is only one level deep, though. A subsequent ^W, ^K , etc will clobber the previous contents. Along lines of Stephan Beals method, I use : preceding the fossil command.

[fossil-users] TH1: TH1 voyage

2014-06-24 Thread Sergei Gavrikov
Hi [FYI] TH1 interpreter (important part of Fossil project) runs almost five days on Tabletsat-Aurora satellite http://sputnix.ru/en/mediainfo. The TH1 sources (src/th.[ch] and src/th_lang.c) were used `AS IS' from Fossil project. Many TH1 commands were implemented to test, manage, and glue

[fossil-users] A typo in Makefile.in

2014-07-09 Thread Sergei Gavrikov
FYI: there is a typo in Makefile.in which does cause compile error http://fossil-scm.org/index.html/vpatch?from=df3ada575c9e3f0cto=45feda65e9978b9e s/_HAVE_SQLITE_CONFIG_H/HAVE_SQLITE_CONFIG_H/ (?) Sergei ___ fossil-users mailing list

Re: [fossil-users] A typo in Makefile.in

2014-07-09 Thread Sergei Gavrikov
On Wed, 9 Jul 2014, Jan Nijtmans wrote: 2014-07-09 22:11 GMT+02:00 Sergei Gavrikov sergei.gavri...@gmail.com: FYI: there is a typo in Makefile.in which does cause compile error http://fossil-scm.org/index.html/vpatch?from=df3ada575c9e3f0cto=45feda65e9978b9e s/_HAVE_SQLITE_CONFIG_H

Re: [fossil-users] A typo in Makefile.in

2014-07-09 Thread Sergei Gavrikov
On Wed, 9 Jul 2014, Jan Nijtmans wrote: Found the problem: _GNU_SOURCE needs to be defined BEFORE inclusion of the first system header file. Yes, this fixed the issue. Thanks! Sergei ___ fossil-users mailing list fossil-users@lists.fossil-scm.org

Re: [fossil-users] How to compare set of files between versions?

2014-08-12 Thread Sergei Gavrikov
, Stephan Beal wrote: On Tue, Aug 12, 2014 at 12:37 PM, Stephan Beal sgb...@googlemail.com wrote: On Mon, Aug 11, 2014 at 9:43 PM, Sergei Gavrikov sergei.gavri...@gmail.com wrote:   % fossil diff --from prev | filterdiff -i '*src*'   +        case OP_RIGHTSHIFT:   if( iLeft0

[fossil-users] www/mkindex.tcl

2015-02-05 Thread Sergei Gavrikov
Hi FYI: 'Command-line help' link on permutedindex.html page broken, it points on /doc/help (there is missed ../ in www/mkindex.tcl script). Thanks for Fossil, Sergei ___ fossil-users mailing list fossil-users@lists.fossil-scm.org

[fossil-users] TH1: Th_ToInt() issue

2015-04-01 Thread Sergei Gavrikov
Hi This check http://fossil-scm.org/index.html/artifact/f3e2d60ea44acd11?ln=2651-2653 allows to interpret - or + as valid integer, 0. By mistake, I entered - in stead 0 in my script and catch this. Examples fossil test-th-eval 'for {set i -} {$i3} {set i [expr {$i+1}]} {puts $i\n};' - 1

Re: [fossil-users] Fossil source download naming scheme

2015-02-25 Thread Sergei Gavrikov
On Wed, 25 Feb 2015, Stephan Beal wrote: On Tue, Feb 24, 2015 at 9:11 PM, Richard Hipp d...@sqlite.org wrote: So it seems like having dates on the download would be more meaningful than having a made-up version number.  No?  With a date, at least you know about how old the

[fossil-users] New sub-commands for TH1 [info]

2015-02-20 Thread Sergei Gavrikov
Hi Could we add two Tcl-like sub-commands for TH1 [info] command? I lack in [info commands] and [info globals]. Today's TH1 state for my Fossil build is llength [info globals] 15 and llength [info commands] 56 I have a draft prototype for missing sub-commands, but I am sure that Tcl

Re: [fossil-users] Documenting the TH1 extended commands...

2015-04-05 Thread Sergei Gavrikov
On Sat, 4 Apr 2015, Joe Mistachkin wrote: I've committed an initial draft of the documentation for the TH1 extended commands exposed by Fossil. Corrections and feedback are more than welcome. https://www.fossil-scm.org/fossil/doc/trunk/www/th1.md Thanks! It is very very useful page.

Re: [fossil-users] Documenting the TH1 extended commands...

2015-04-05 Thread Sergei Gavrikov
On Sun, 5 Apr 2015, Joe Mistachkin wrote: I've added new info commands and info vars sub-commands on trunk. You can combine the info vars sub-command with uplevel to get the same effect as info globals. Really, you presented even more, info globals and info locals with the laconic info vars.

[fossil-users] TH1 [array] command

2015-06-05 Thread Sergei Gavrikov
Hi [TH1 language] Thanking introducing to TH1 Th_InterpAndList and thListAppend() by Joe Mistachkin http://fossil-scm.org/index.html/info/810e6c1e687c161f it is possible to implement [array keys] sub-command. If expand the structure and iterate function slightly, it is possible to implement

Re: [fossil-users] permuted index doc-page: request for feedback (was: Remove redundant shun links from doc page.)

2015-08-24 Thread Sergei Gavrikov
On Mon, 24 Aug 2015, Stephan Beal wrote: On Mon, Aug 24, 2015 at 11:02 AM, Michai Ramakers wrote: Done in http://fossil-scm.org/index.html/info/49a77b5184ef2f5a , and for preview visit http://fossil-scm.org/index.html/doc/doc-bold-canonical/www/permutedindex.html IMO that is

Re: [fossil-users] permuted index doc-page: request for feedback (was: Remove redundant shun links from doc page.)

2015-08-24 Thread Sergei Gavrikov
On Mon, 24 Aug 2015, Stephan Beal wrote: On Mon, Aug 24, 2015 at 12:42 PM, Sergei Gavrikov wrote: Two lists (C/P) look too long for human. Perhaps, Fossil documentation reached the state when tag cloud https://en.wikipedia.org/wiki/Tag_cloud would be the next solution

Re: [fossil-users] forget binary files

2015-08-04 Thread Sergei Gavrikov
On Tue, 4 Aug 2015, Stephan Beal wrote: On Tue, Aug 4, 2015 at 1:02 PM, David Mason dma...@ryerson.ca wrote:   Just be careful not to shun 0 length files or you won't be able to commit a 0-length file until you've cleared the shun table (because all 0-length files have the

Re: [fossil-users] forget binary files

2015-08-04 Thread Sergei Gavrikov
On Tue, 4 Aug 2015, Stephan Beal wrote: On Tue, Aug 4, 2015 at 1:47 PM, Sergei Gavrikov sergei.gavri...@gmail.com wrote: I know one, that's 'The Infinitely Profitable Program'   http://peetm.com/blog/?p=55 :-) To summarize: GO.COM contained no program bytes at all

Re: [fossil-users] Idea: automatic check for extras prior to commit

2015-08-04 Thread Sergei Gavrikov
On Tue, 4 Aug 2015, Ron W wrote: On Tue, Aug 4, 2015 at 11:37 AM, Stephan Beal sgb...@googlemail.com wrote: On Tue, Aug 4, 2015 at 5:23 PM, Ron W ronw.m...@gmail.com wrote: I think this would be a useful feature. To me this all sounds like fossil enforcing

Re: [fossil-users] Any interest in testing/merging check-in-edit branch?

2015-07-16 Thread Sergei Gavrikov
On Thu, 16 Jul 2015, Michai Ramakers wrote: Hello, On 16 July 2015 at 07:06, Andy Bradford amb-fos...@bradfords.org wrote: Has anyone (other than me) tested the changes for enabling amending checkins from the command line in the check-in-edit branch? Thanks for CLI support. Mostly

[fossil-users] Fossil internal error: failed to save undo information for path

2015-07-15 Thread Sergei Gavrikov
Hi, Fossil falls at dry run of merge for one my repository: % f merge -n trunk [snip] Fossil internal error: failed to save undo information for path: garbage What may a reason be? Just in a case, fossil version % fossil version -v This is fossil version 1.33 [b9b9d7e739] 2015-07-15

Re: [fossil-users] Any interest in testing/merging check-in-edit branch?

2015-07-18 Thread Sergei Gavrikov
On Sat, 17 Jul 2015, Andy Bradford wrote: Thus said Sergei Gavrikov on Thu, 16 Jul 2015 17:21:55 +0300: I also expected that 'fossil amend uuid' will spawn $EDITOR with an original check-in message likes 'fossil commit' does. But, I met cold silence. Probably, to support $EDITOR

Re: [fossil-users] Any interest in testing/merging check-in-edit branch?

2015-07-18 Thread Sergei Gavrikov
On Sat, 18 Jul 2015, Stephan Beal wrote: On Sat, Jul 18, 2015 at 11:10 AM, Sergei Gavrikov wrote: --edit-comment option. However, with a forest the options Fossil CLI increasingly resembles Git CLI :-) See: http://git-man-page-generator.lokaltog.net/ Of course, I have been

Re: [fossil-users] Any interest in testing/merging check-in-edit branch?

2015-07-19 Thread Sergei Gavrikov
On Sat, 18 Jul 2015, Andy Bradford wrote: Thus said Sergei Gavrikov on Sat, 18 Jul 2015 12:10:42 +0300: However, with a forest the options Fossil CLI increasingly resembles Git CLI :-) Perhaps then, ``amend'' should only have short options where ``commit'' has short options? I think

Re: [fossil-users] Any interest in testing/merging check-in-edit branch?

2015-07-19 Thread Sergei Gavrikov
On Sat, 18 Jul 2015, Scott Robison wrote: Still on phone. Instead of -euser how about -author? Instinctively seems less clumsy but it's just a knee-jerk reaction to -euser which seems both long and short simultaneously. :) +1 I would vote for `-author' or for any not abbreviated word(s).

Re: [fossil-users] permuted index doc-page: request for feedback (was: Remove redundant shun links from doc page.)

2015-08-24 Thread Sergei Gavrikov
On Mon, 24 Aug 2015, Michai Ramakers wrote: On 24 August 2015 at 13:29, Sergei Gavrikov sergei.gavri...@gmail.com wrote: On Mon, 24 Aug 2015, Stephan Beal wrote: On Mon, Aug 24, 2015 at 12:42 PM, Sergei Gavrikov wrote: Two lists (C/P) look too long for human. Perhaps, Fossil

Re: [fossil-users] Fossil on Raspberry Pi

2015-09-17 Thread Sergei Gavrikov
On Mon, 28 Jul 2014, Stephan Beal wrote: > On Mon, Jul 28, 2014 at 9:57 PM, Richard Hipp wrote: > FWIW, took 6m36.130s to compile with -Os on the beaglebone. > Management summary: > > Start time: Mon Jul 28 21:03:36 UTC 2014 > End time: Mon Jul 28 21:24:58 UTC 2014 > == 21m22s

Re: [fossil-users] Multiple Projects in one Repo

2015-09-19 Thread Sergei Gavrikov
On Thu, 16 Sep 2015, Andy Bradford wrote: > Thus said Oliver Friedrich on Sat, 12 Sep 2015 12:34:21 -: > > > What I really would like to have is to gather multiple such small > > projects in one repo file, so instead of having one ROOT check-in, > > having one ROOT for each project.

[fossil-users] fossil ci -branch private

2016-06-10 Thread Sergei Gavrikov
Hi! Could Fossil warn about spurious "private" check-ins? I rarely use private branches but I use and a few times I did wrong check-ins as fossil ci -branch private ... IMO, it would be nice if Fossil warn that he/she (possible) misuses privacy. Excuse my stupid request (wish you never

Re: [fossil-users] How to get artifact's content as raw text in one click?

2016-01-17 Thread Sergei Gavrikov
On Sun, 17 Jan 2016, Baruch Burstein wrote: > I don't seem to see this problem. go to > https://www.fossil-scm.org/index.html/dir?ci=tip. I clicked on > "COPYRIGHT-BSD2.txt" and was given the text. If I click "Download" on > that page, I am given just the raw text. That's right. But I pointed on

Re: [fossil-users] How to get artifact's content as raw text in one click?

2016-01-17 Thread Sergei Gavrikov
On Sun, 17 Jan 2016, Stephan Beal wrote: > The mime type is normally guessed based on the file name. How do you > propose fossil determines the mime type of: > > >   echo a>a > f add a > f ci -private -m 'add a' > > > without itself having a full-featured

Re: [fossil-users] How to get artifact's content as raw text in one click?

2016-01-18 Thread Sergei Gavrikov
On Mon, 18 Jan 2016, Andy Bradford wrote: > Thus said Sergei Gavrikov on Sun, 17 Jan 2016 13:28:05 +0300: > > > > > When *text* files have unknown MIME type (unknown extension) > > > > we cannot download them (in a fact to get a raw view in a > > > >

Re: [fossil-users] Colored output on console

2016-04-25 Thread Sergei Gavrikov
On Mon, 25 Apr 2016, Michael Richter wrote: I know that every time I mention this I get silently, perhaps even hostilely, ignored, but really guys, why not just use fsl for your customization needs?  Colourizing output is in the cookbook: http://fossil.0branch.com/fsl/wiki?name=Cookbook, along

Re: [fossil-users] [PROPOSED FEATURE] Fossil commands output sent through a pager

2017-03-25 Thread Sergei Gavrikov
My 2 cents. Many of us use f-alias to deal with fossil in a terminal, right? Then why not f-function? SYNOPSIS unalias f f(){ fossil "$@" | more ; } or f(){ fossil "$@" | less -FRSXQ ; } if you like more 'less' then 'more' :) Then try f help commit f

Re: [fossil-users] Is there a way to find identical files?

2017-04-18 Thread Sergei Gavrikov
Tony Papadimitriou wrote: [snip] For example, if /defs.inc is the same as /project1/defines.inc, and project2/lib.mod is the same as project3/library.inc and project4/libroutines.inc, and docs/mydocs.pdf is the same as project1/docs.pdf, I would like some simple report like this: defs.inc

[fossil-users] autosetup v0.6.6 issue

2017-05-11 Thread Sergei Gavrikov
Hi, It seems that new autosetup [c5e4100705] cannot handle properly configure options with prefixes (enable|disable|with|without). Try, please $ ./configure --with-th1-docs Host System...x86_64-unknown-linux-gnu Build System...x86_64-unknown-linux-gnu C compiler...ccache cc -g -O2

Re: [fossil-users] autosetup v0.6.6 issue

2017-05-11 Thread Sergei Gavrikov
On Fri, 12 May 2017, Sergei Gavrikov wrote: Temp. solution for my set of --with-* options is $ echo configure ... | sed 's/--with-\w\+/&=1/g' | sh To err is human $ echo ./configure ... | sed 's/--with-[^[:space:]]\+/&=1/g' | sh

Re: [fossil-users] autosetup v0.6.6 issue

2017-05-11 Thread Sergei Gavrikov
Temp. solution for my set of --with-* options is $ echo configure ... | sed 's/--with-\w\+/&=1/g' | sh Sergei ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

[fossil-users] No rule to make target 'src/email.c', ...

2018-06-20 Thread Sergei Gavrikov
[FYI] $ f info project-name: Fossil ... project-code: CE59BB9F186226D80E49D1FA2DB29F935CCA0333 checkout: 25eafed11494e801c28babfbc5784f877c3aa0b7 2018-06-20 19:04:04 UTC parent: 9a2e5f47170b4f2d86e23c1b2cb37d5b284e7982 2018-06-20 18:47:46 UTC tags: trunk