Re: [fossil-users] Scripting in Fossil v2

2013-07-23 Thread Leo Razoumov
On Tue, Jul 23, 2013 at 5:29 AM, Konstantin Khomoutov flatw...@users.sourceforge.net wrote: [...] But please don't also miss out a first-hand experience of someone who implemented a well-visible program centered around Lua: [1], [2]. Personally, I find that minimality (of the runtime) is the

Re: [fossil-users] Markdown engine integrated into fossil

2012-05-30 Thread Leo Razoumov
On Wed, May 30, 2012 at 1:24 PM, Ron Wilson ronw.m...@gmail.com wrote: On Thu, May 24, 2012 at 1:51 AM, Natacha Porté nata...@instinctive.eu wrote: If you don't mind, I'd rather have it not named at all. Due to how it's (still) heavily loaded with negative emotions, I would like not having

Re: [fossil-users] fossil bug - same file created simultaneously in two work areas not merging properly

2012-05-24 Thread Leo Razoumov
On Wed, May 23, 2012 at 6:11 PM, Richard Hipp d...@sqlite.org wrote: On Wed, May 23, 2012 at 4:34 PM, Matt Welland estifo...@gmail.com wrote: On Wed, May 23, 2012 at 1:28 PM, Richard Hipp d...@sqlite.org wrote: On Wed, May 23, 2012 at 4:23 PM, Lluís Batlle i Rossell How would fossil merge

Re: [fossil-users] SSH commands run as user nobody

2012-05-09 Thread Leo Razoumov
On Wed, May 9, 2012 at 5:25 AM, Lluís Batlle i Rossell vi...@viric.name wrote: On Tue, May 08, 2012 at 06:57:02PM -0400, Leo Razoumov wrote: And I do not see the extra a  because I have the following line in the beginning of my ~/.bashrc # If not running interactively, don't do anything [ -z

Re: [fossil-users] recent change: alt-root and its purpose?

2012-04-30 Thread Leo Razoumov
On Sat, Apr 28, 2012 at 09:34, Richard Hipp d...@sqlite.org wrote: On a server, I often have multiple CGI scripts all pointing to the same repository.  A similar feature, added at the same time, keeps track of all of the possible URLs for accessing a repository.  On the main Fossil webserver

Re: [fossil-users] cannot checkout a read-only Fossil repository

2012-04-30 Thread Leo Razoumov
On Mon, Apr 30, 2012 at 09:45, Kevin Quick qu...@sparq.org wrote: On Sun, 29 Apr 2012 18:46:49 -0700, Leo Razoumov slonik...@gmail.com wrote: And at least in UNIX you really do not want making your repository writable by several people. Huh?  Bob works on stuff and commits it.  After Bob

Re: [fossil-users] cannot checkout a read-only Fossil repository

2012-04-30 Thread Leo Razoumov
On Mon, Apr 30, 2012 at 13:43, Stephan Beal sgb...@googlemail.com wrote: On Mon, Apr 30, 2012 at 7:25 PM, Leo Razoumov slonik...@gmail.com wrote: others (chmod 0644 repo.fossil). In the case of CGI the owner is whatever your http server likes (www-data on Ubuntu). Tip: many CGI environments

Re: [fossil-users] recent change: alt-root and its purpose?

2012-04-29 Thread Leo Razoumov
On Sat, Apr 28, 2012 at 13:00, Matt Welland estifo...@gmail.com wrote: On Sat, Apr 28, 2012 at 6:34 AM, Richard Hipp d...@sqlite.org wrote: On Sat, Apr 28, 2012 at 7:03 AM, Leo Razoumov slonik...@gmail.com wrote: Hi All, Fossil design clearly separates a project repository database from

[fossil-users] cannot checkout a read-only Fossil repository

2012-04-29 Thread Leo Razoumov
Hi All, the recent changes to the trunk make fossil open to modify the fossil repository being opened. If this repository is read-only or mounted on a read-only file system than fossil open fails [2] and no _FOSSIL_ file is created. I would prefer the solution proposed by Matt Welland [1] to keep

Re: [fossil-users] cannot checkout a read-only Fossil repository

2012-04-29 Thread Leo Razoumov
On Sun, Apr 29, 2012 at 12:08, Kevin Quick qu...@sparq.org wrote: This isn't quite as convincing an argument to me: I can see the utility of a pull/sync from a read-only repository, but a fossil open implies that one will be doing work with the opened contents and further implies that one

Re: [fossil-users] recent change: alt-root and its purpose?

2012-04-28 Thread Leo Razoumov
On Sat, Apr 28, 2012 at 07:25, Stephan Beal sgb...@googlemail.com wrote: On Sat, Apr 28, 2012 at 1:03 PM, Leo Razoumov slonik...@gmail.com wrote: (3)  Rational for violating long-standing Fossil design principle that project repo database does not know its checkouts. This sounds like

Re: [fossil-users] pre-written commit message

2012-04-05 Thread Leo Razoumov
On Thu, Apr 5, 2012 at 07:18, Lluís Batlle i Rossell vi...@viric.name wrote: Before finishing edit the message, I realised I don't want to commit those changes that way, I prefer to do a little more change. I quit the edtior without saving changes, and fossil commits my changes with the old

[fossil-users] (Q) How to add the row number column to an open tickets report?

2012-04-03 Thread Leo Razoumov
Hi Everyone, I am sorry if I am asking something trivial but I am not a SQL expert. I have a ticket report that lists all open and active tickets. I would like its first column to simply show row numbers starting with 1 for the first row of the report, 2 for the second row and so on. Google

Re: [fossil-users] embedding doxygen into wiki

2012-03-24 Thread Leo Razoumov
On Sat, Mar 24, 2012 at 16:33, ST smn...@gmail.com wrote: Thank you Bill, however I didn't understand what I need to do in order to be able to create a link like this: a href=file://$pathToProject/doc/html/index.htmlproject/a Do I have to reimplement something? I think there is a simple

Re: [fossil-users] The fdiff page, 'patch' mode, has html

2012-03-24 Thread Leo Razoumov
2012/3/24 Lluís Batlle i Rossell vi...@viric.name: On Sat, Mar 24, 2012 at 04:39:52PM -0400, Leo Razoumov wrote: That patch is since some weeks in a branch I maintain with the annoyances I consider worth fixing, and features worth having (as far as I can program). http://fossil-scm.org

Re: [fossil-users] New user wants to know what commands are command-line only? (So I can ignore all others)

2012-03-24 Thread Leo Razoumov
On Sat, Mar 24, 2012 at 17:26, Stephan Beal sgb...@googlemail.com wrote: On Sat, Mar 24, 2012 at 8:06 PM, H.C. Chen hcchen5...@gmail.com wrote: Thanks, it's very very helpful and have saved me a lot of time. I'd like to add,     changes     addremove     init FWIW: i've been using

Re: [fossil-users] New user wants to know what commands are command-line only? (So I can ignore all others)

2012-03-24 Thread Leo Razoumov
On Sat, Mar 24, 2012 at 17:42, Stephan Beal sgb...@googlemail.com wrote: On Sat, Mar 24, 2012 at 10:37 PM, Leo Razoumov slonik...@gmail.com wrote: I understand one can use fossil without changes or addremove but how can you survive since 2007 without init ?? fossil new foo.fsl mkdir foo

Re: [fossil-users] asciidoc-fossil-backend

2012-03-22 Thread Leo Razoumov
On Thu, Mar 22, 2012 at 03:12, Gour g...@atmarama.net wrote: Hello! In our search for adequate markup to be used for our upcoming open-source project, we stumbled upon AsciiDoc (http://www.methods.co.nz/asciidoc/) and, so far, like it very much and decided to use it instead of reST/Sphinx,

Re: [fossil-users] asciidoc-fossil-backend

2012-03-22 Thread Leo Razoumov
On Thu, Mar 22, 2012 at 11:16, Gour g...@atmarama.net wrote: On Thu, 22 Mar 2012 15:52:12 +0100 Ephrim Khong dr.khong+fos...@gmail.com wrote: It seems, though, that the AsciiDoc-Backend simply translates text from AsciiDoc-Markup to Fossil-Markup. Correct. I think it would be better to

Re: [fossil-users] merge strategy ours

2012-03-21 Thread Leo Razoumov
On Wed, Mar 21, 2012 at 12:23, Themba Fletcher themba.fletc...@gmail.com wrote: On Tue, 2012-03-20 at 15:04 -0400, Leo Razoumov wrote: On Tue, Mar 20, 2012 at 09:57, Richard Hipp d...@sqlite.org wrote: Why not just fossil revert my/file.txt? For each one of dozens of files in the manifest

Re: [fossil-users] How can I determine if a repository has actually changed?

2012-03-21 Thread Leo Razoumov
On Wed, Mar 21, 2012 at 13:25, Stephan Beal sgb...@googlemail.com wrote: i don't know about Ubuntu1, but dropbox synchronizes only the bytes which changed, so the sync is really fast. There is, however, still a couple caveats with this approach (sorry for my brevity earlier - i was on my

Re: [fossil-users] How can I determine if a repository has actually changed?

2012-03-21 Thread Leo Razoumov
On Wed, Mar 21, 2012 at 14:53, Ron Aaron r...@ronware.org wrote: On 03/21/2012 08:06 PM, Leo Razoumov wrote: True, but does not help if your file is encrypted. You change a single byte of your plain-text-file and your encrypted version changes entirely. Precisely so.  And I don't want

Re: [fossil-users] How can I determine if a repository has actually changed?

2012-03-21 Thread Leo Razoumov
On Wed, Mar 21, 2012 at 17:17, Stephan Beal sgb...@googlemail.com wrote: On Wed, Mar 21, 2012 at 8:40 PM, Ron Aaron r...@ronware.org wrote: So what I am looking for is a way to take a 'snapshot' of a repo, and determine if the new version of that repo is actually different, even though I may

[fossil-users] merge strategy ours

2012-03-20 Thread Leo Razoumov
Hi there, GIT has a useful merge strategy git merge -s ours that always chooses our current version over the version being merged in. The resulting merge has exactly the same files contents as its base parent. The only difference being that the commit merged in is now added to the list of merge

Re: [fossil-users] merge strategy ours

2012-03-20 Thread Leo Razoumov
table). All I want is to record a new merge parent without merging in file contents. --Leo-- On Tue, Mar 20, 2012 at 14:14, Leo Razoumov slonik...@gmail.com wrote: Hi there, GIT has a useful merge strategy git merge -s ours that always chooses our current version over the version being merged

Re: [fossil-users] strange 'login failed' error on initial repository clone.

2012-03-20 Thread Leo Razoumov
. In general I would recommend to stay away from special chars like *^#* in your password. If you are concerned with your password security make your password longer. 64^8 is greater than 70^7. --Leo-- On Tue, Mar 20, 2012 at 4:03 AM, Leo Razoumov slonik...@gmail.com wrote: On Tue, Mar 20

Re: [fossil-users] problem with illegal characters

2012-03-09 Thread Leo Razoumov
On Fri, Mar 9, 2012 at 04:18, Gour g...@atmarama.net wrote: What do you mean 'pre-existing'? Software is created by you. Can you show me some sotware project using names with such funky characters? Gour, one size fits all does not work in real life. For instance, brackets, spaces, etc. are

Re: [fossil-users] problem with illegal characters

2012-03-09 Thread Leo Razoumov
On Fri, Mar 9, 2012 at 07:11, Stephan Beal sgb...@googlemail.com wrote: Perhaps we could/should make the set of illegal characters a config option, defaulting to the current set? This may cause problem with globing. --Leo-- ___ fossil-users mailing

Re: [fossil-users] clearsign, so what

2012-03-09 Thread Leo Razoumov
On Fri, Mar 9, 2012 at 13:02, Thomas Stover c...@thomasstover.com wrote: -Algorithmically verify that changes are signed by trusted users on push/pull operations. (this is also a question) Theoretically, it is sufficient to sign a leaf manifest so that entire part of the DAG that grows out

Re: [fossil-users] clearsign, so what

2012-03-08 Thread Leo Razoumov
On Wed, Mar 7, 2012 at 22:03, Richard Hipp d...@sqlite.org wrote: On Wed, Mar 7, 2012 at 7:10 PM, Leo Razoumov slonik...@gmail.com wrote: On Wed, Mar 7, 2012 at 18:03, Brian Smith br...@linuxfood.net wrote: On Wed, Mar 7, 2012 at 2:40 PM, Leo Razoumov slonik...@gmail.com wrote: Looking

Re: [fossil-users] clearsign, so what

2012-03-07 Thread Leo Razoumov
On Wed, Mar 7, 2012 at 19:11, Brian Smith br...@linuxfood.net wrote: On Wed, Mar 7, 2012 at 4:10 PM, Leo Razoumov slonik...@gmail.com wrote: On Wed, Mar 7, 2012 at 18:03, Brian Smith br...@linuxfood.net wrote: On Wed, Mar 7, 2012 at 2:40 PM, Leo Razoumov slonik...@gmail.com wrote

Re: [fossil-users] clearsign, so what

2012-03-07 Thread Leo Razoumov
On Wed, Mar 7, 2012 at 19:37, Themba Fletcher themba.fletc...@gmail.com wrote: If I understand correctly, what happened at github was that someone exploited a misconfiguration in the rails framework to insert his own public key as trusted with respect to several repositories. The fossil

Re: [fossil-users] ASCII filename issue

2012-03-06 Thread Leo Razoumov
On Tue, Mar 6, 2012 at 06:21, Ștefan Fulea fulea.ste...@gmail.com wrote: Fossil doesn't seem to get along with square brackets: Z:\fossil add file[N].x Z:\fossil.exe: filename contains illegal characters: file[N].x Confirmed on Linux with fossil trunk [7367cec4c8]. Escaping brackets does not

[fossil-users] detecting site compromise

2012-03-05 Thread Leo Razoumov
In light of a recent Github compromise https://lwn.net/Articles/485162/ I am curious of how one can detect and repair a compromised fossil site?? --Leo-- ___ fossil-users mailing list fossil-users@lists.fossil-scm.org

Re: [fossil-users] detecting site compromise

2012-03-05 Thread Leo Razoumov
On Mon, Mar 5, 2012 at 18:25, Richard Hipp d...@sqlite.org wrote: On Mon, Mar 5, 2012 at 6:14 PM, Leo Razoumov slonik...@gmail.com wrote: In light of a recent Github compromise  https://lwn.net/Articles/485162/ I am curious of how one can detect and repair a compromised fossil site

Re: [fossil-users] detecting site compromise

2012-03-05 Thread Leo Razoumov
On Mon, Mar 5, 2012 at 18:49, Richard Hipp d...@sqlite.org wrote: On Mon, Mar 5, 2012 at 6:34 PM, Leo Razoumov slonik...@gmail.com wrote: What happens if an attacker can shun artifacts, rebuild database, edit commit messages, events, tickets, etc? Fossil sync might happily pull compromised

Re: [fossil-users] feature proposal: explicitly public branches

2012-03-02 Thread Leo Razoumov
On Fri, Mar 2, 2012 at 03:50, Stephan Beal sgb...@googlemail.com wrote: FYI: the JSON API doesn't aim to handle functionality which works directly with a checkout, e.g. checkout, commit, pull, push, update. It's main aim is to provide more or less the same data needed for implementing

Re: [fossil-users] feature proposal: explicitly public branches

2012-03-02 Thread Leo Razoumov
On Fri, Mar 2, 2012 at 03:50, Stephan Beal sgb...@googlemail.com wrote: Correct - i don't think we'll be able to do that kind of feature in JSON, largely because JSON doesn't do binary. The closest thing to commit i think we'll be able to portably/sensibly pull off is handling embedded docs

Re: [fossil-users] feature proposal: explicitly public branches

2012-03-01 Thread Leo Razoumov
, but, I'll try to carve out some time this afternoon to summarize the open questions and give an overview of what I'd like to push into a branch on the master repo once the feature has more testing. -B On Saturday, February 25, 2012 at 7:37 PM, Leo Razoumov wrote: On Sat, Feb 25, 2012 at 21

Re: [fossil-users] feature proposal: explicitly public branches

2012-03-01 Thread Leo Razoumov
On Thu, Mar 1, 2012 at 09:16, Richard Hipp d...@sqlite.org wrote: On Thu, Mar 1, 2012 at 6:18 AM, Leo Razoumov slonik...@gmail.com wrote: Brian, for simplicity you might want to follow the selection rules that already exist in fossil web-interface. When I go to the web-interface=Branches

Re: [fossil-users] Overwriting binary files on 'update'

2012-03-01 Thread Leo Razoumov
2012/3/1 Lluís Batlle i Rossell vi...@viric.name: Hello, in fossil 1.21, I've a modified openoffice file. Then I run fossil update, and it tells me there is a merge conflict with a binary file, that it cannot merge. What I'm surprised about is that fossil overwrites my local changes with

Re: [fossil-users] feature proposal: explicitly public branches

2012-03-01 Thread Leo Razoumov
On Thu, Mar 1, 2012 at 18:04, Brian Smith br...@linuxfood.net wrote: On Thursday, March 1, 2012 at 3:18 AM, Leo Razoumov wrote: Brian, for simplicity you might want to follow the selection rules that already exist in fossil web-interface. When I go to the web-interface=Branches and select

Re: [fossil-users] Behavior of rm, mv, and changes/extra

2012-02-29 Thread Leo Razoumov
On Tue, Feb 28, 2012 at 07:28, Richard Hipp d...@sqlite.org wrote: Assuming we go with Fossil 2.0, can somebody propose a list of interface changes that are needed.  We don't want to repeat this exercise if it can be avoided, so let's fix everything all at once.  Here's a start: (1)  fossil

Re: [fossil-users] Behavior of rm, mv, and changes/extra

2012-02-29 Thread Leo Razoumov
On Wed, Feb 29, 2012 at 13:00, Tomek Kott tkott.s...@gmail.com wrote: Leo, did you know you can type 'fossil time' from the cmd line to get the last 10 commits? then just use the first 3-6 characters to reference the correct parent, that way avoiding the command line. How can I do it in a

Re: [fossil-users] Behavior of rm, mv, and changes/extra

2012-02-29 Thread Leo Razoumov
On Wed, Feb 29, 2012 at 16:47, Stephan Beal sgb...@googlemail.com wrote: Indeed! How does this look: i got tired of waiting ;) and went ahead with: a) removed parentUuid b) defined the first element in the parents array to be the primary parent. Thanks for your effort! Time permitting I

Re: [fossil-users] Behavior of rm, mv, and changes/extra

2012-02-28 Thread Leo Razoumov
On Tue, Feb 28, 2012 at 07:59, Ramon Ribó ram...@compassis.com wrote: (1)  fossil rm removes the files from the disk (2)  fossil mv renames the files on disk (3)  fossil settings crnl-glob ** (4)  fossil update == fossil update current (5)  Unlimited undo (purgin old undos after a defined

Re: [fossil-users] Behavior of rm, mv, and changes/extra

2012-02-28 Thread Leo Razoumov
On Tue, Feb 28, 2012 at 08:22, Leo Razoumov slonik...@gmail.com wrote: On Tue, Feb 28, 2012 at 07:59, Ramon Ribó ram...@compassis.com wrote: (1)  fossil rm removes the files from the disk (2)  fossil mv renames the files on disk (3)  fossil settings crnl-glob ** (4)  fossil update == fossil

Re: [fossil-users] how to maintain a set of patches?

2012-02-26 Thread Leo Razoumov
On Sun, Feb 26, 2012 at 04:48, Stephan Beal sgb...@googlemail.com wrote: On Sat, Feb 25, 2012 at 9:48 PM, Leo Razoumov slonik...@gmail.com wrote: I sincerely hope that fossil was not designed with only one work-flow (SQLite and fossil) in mind. Am I mistaken? If i'm not sorely mistaken

Re: [fossil-users] how to maintain a set of patches?

2012-02-25 Thread Leo Razoumov
On Sat, Feb 25, 2012 at 02:26, Gour g...@atmarama.net wrote: On Fri, 24 Feb 2012 18:13:15 -0500 Leo Razoumov slonik...@gmail.com wrote: One thing that I miss in fossil above everything else is inability to push/pull individual branches or/and individual artifacts. This is really big item

Re: [fossil-users] how to maintain a set of patches?

2012-02-25 Thread Leo Razoumov
On Sat, Feb 25, 2012 at 09:17, Richard Hipp d...@sqlite.org wrote: A key philosophical design principle of Fossil is no erasures.  This is how business financial accounting is (or used to be) done.  You write in ink. I am fine with this philosophy of no-rewriting of published history. And I

[fossil-users] feature proposal: explicitly public branches

2012-02-25 Thread Leo Razoumov
Hi List, I am trying to accomplish a cascading work-flow Personal.fossil - Team.fossil - Public.fossil without history rewriting. Right now fossil has concept of private branches that are tagged with private. Those branches are pushed/pulled only in presence of --private option. Everything else

Re: [fossil-users] how to maintain a set of patches?

2012-02-25 Thread Leo Razoumov
On Sat, Feb 25, 2012 at 14:19, Eric e...@deptj.eu wrote: On Sat, February 25, 2012 5:44 pm, Leo Razoumov wrote: I am fine with this philosophy of no-rewriting of published history. And I am *not* asking for a git rebase equivalent. But I have to follow a work-flow that consists of a cascade

Re: [fossil-users] how to maintain a set of patches?

2012-02-25 Thread Leo Razoumov
On Sat, Feb 25, 2012 at 18:17, Gour g...@atmarama.net wrote: Heh today after more detailed reading of the docs, I've 'found out' that fossil scrub --private might be good enough as replacing hg's MQ extension...Was absent the whole day and will try tomorrow. Be aware that fossil scrub

Re: [fossil-users] how to maintain a set of patches?

2012-02-25 Thread Leo Razoumov
On Sat, Feb 25, 2012 at 09:17, Richard Hipp d...@sqlite.org wrote: A key philosophical design principle of Fossil is no erasures.  This is how business financial accounting is (or used to be) done.  You write in ink.  If an error is found, you annotate the erroneous entry with a note of

Re: [fossil-users] feature proposal: explicitly public branches

2012-02-25 Thread Leo Razoumov
On Sat, Feb 25, 2012 at 21:30, Jan Danielsson jan.m.daniels...@gmail.com wrote: On 02/26/12 03:09, altufa...@mail.com wrote: Why not just productize limsync?   Going by what Brian Smith has written, it's a question of having time do work on it and handling a few special cases.   Brian, if

Re: [fossil-users] how to maintain a set of patches?

2012-02-24 Thread Leo Razoumov
On Fri, Feb 24, 2012 at 02:53, Gour g...@atmarama.net wrote: On Fri, 10 Feb 2012 15:46:15 -0500 Leo Razoumov slonik...@gmail.com wrote: I am sorry if my language was not clear. Here are the diagrams: I am sorry to jump in this thread...we might soon start working on our application which

Re: [fossil-users] how to maintain a set of patches?

2012-02-24 Thread Leo Razoumov
On Fri, Feb 24, 2012 at 15:12, Gour g...@atmarama.net wrote: On Fri, 24 Feb 2012 08:55:09 -0500 Leo Razoumov slonik...@gmail.com wrote: If the code above does not work you can try poor-man's approach with the patch (untested) fossil co E fossil diff --from P1-parent  --to P3  | patch Â

[fossil-users] cloning and inherited private tag

2012-02-20 Thread Leo Razoumov
Hi List, I have a repo with three brunches: trunk, BR1.prv and BR2. trunk and BR2 were created public while BR1.prv was created private. After some commits in all the branches I tag branching point of public BR2 with a propagating private tag: $ fossil tag add --propagate --raw private checkinID

Re: [fossil-users] cloning and inherited private tag

2012-02-20 Thread Leo Razoumov
On Mon, Feb 20, 2012 at 08:05, Richard Hipp d...@sqlite.org wrote: Right.  Be sure to use the latest version of Fossil (not the latest *released* version, but rather one that you build yourself from the tip of trunk).  Then if you run fossil rebuild, I think it might begin to honor your

Re: [fossil-users] Derived code, not to be pushed public

2012-02-18 Thread Leo Razoumov
On Thu, Feb 16, 2012 at 14:15, Brian Smith br...@linuxfood.net wrote: For what it's worth, I was working on limited branch syncing awhile back. I never got around to merging it back into the master fossil repo, but, I think at least your use case is functional..

[fossil-users] memory leak using fossil_getenv and fossil_mbcs_to_utf8

2012-02-16 Thread Leo Razoumov
Very recently fossil_getenv function was introduced as a wrapper around standard getenv to get Unicode right. In file.c: /* ** Return the value of an environment variable as UTF8. */ char *fossil_getenv(const char *zName){ char *zValue = getenv(zName); #ifdef _WIN32 if( zValue ) zValue =

Re: [fossil-users] memory leak using fossil_getenv and fossil_mbcs_to_utf8

2012-02-16 Thread Leo Razoumov
2012/2/16 Lluís Batlle i Rossell vi...@viric.name: On Thu, Feb 16, 2012 at 06:37:49AM -0500, Leo Razoumov wrote: In Unix it returns pointer pointing into actual environment (should not be modified or deallocated). In Windows, on the other hand, fossil_mbcs_to_utf8 allocates memory via

Re: [fossil-users] memory leak using fossil_getenv and fossil_mbcs_to_utf8

2012-02-16 Thread Leo Razoumov
2012/2/16 Lluís Batlle i Rossell vi...@viric.name: On Thu, Feb 16, 2012 at 07:09:22AM -0500, Leo Razoumov wrote: 2012/2/16 Lluís Batlle i Rossell vi...@viric.name: On Thu, Feb 16, 2012 at 06:37:49AM -0500, Leo Razoumov wrote: In Unix it returns pointer pointing into actual environment

Re: [fossil-users] With jimtcl available can we have hooks that trigger tcl scripts stored in the db?

2012-02-16 Thread Leo Razoumov
On Thu, Feb 16, 2012 at 09:00, Richard Hipp d...@sqlite.org wrote: I was once open to this kind of thing.  But since the security risks have been pointed out to me, I'm now very reluctant to do anything like this. TH1 is secure by virtual of being minimalist.  It really doesn't do much

Re: [fossil-users] Seeing SBS between any checkins

2012-02-16 Thread Leo Razoumov
On Thu, Feb 16, 2012 at 13:43, Richard Hipp d...@sqlite.org wrote: Try pressing Reload several times to convince Chrome to load the newest CSS. In order to force CSS reload go to Admin-Skins, change to any skin and then change back to the default skin. --Leo--

Re: [fossil-users] Derived code, not to be pushed public

2012-02-16 Thread Leo Razoumov
On Thu, Feb 16, 2012 at 14:15, Brian Smith br...@linuxfood.net wrote: For what it's worth, I was working on limited branch syncing awhile back. I never got around to merging it back into the master fossil repo, but, I think at least your use case is functional..

[fossil-users] wiki full text search?

2012-02-15 Thread Leo Razoumov
Hi All, AFAIK, fossil does not provide full-text search of wiki pages. Is there a plugin or extension that does it? So far I was only able to find a shell script in the fossil Cookbook which is just a wrapper around grep. --Leo-- ___ fossil-users

Re: [fossil-users] wiki full text search?

2012-02-15 Thread Leo Razoumov
My comments are interspersed in-between the lines of the original message. On Wed, Feb 15, 2012 at 11:03, Richard Hipp d...@sqlite.org wrote: No full-text search (FTS) mechanism is currently provided. Of course, every Fossil repository is an SQLite database and there is a very powerful FTS

Re: [fossil-users] Bug: non-ASCII user names are corrupted

2012-02-15 Thread Leo Razoumov
2012/2/15 Роман Донченко dxdra...@yandex.ru: Hello, I'm using (well, trying to) Fossil on Windows. My username is Роман. This happens: F:\Sourcefossil init test.sqlite project-id: c162b4ff218ffca0d4f3fe26f20a34fd5c7cf892 server-id:  01814b880714e63786ef5af7b403f5bb4fbee016 admin-user:

Re: [fossil-users] With jimtcl available can we have hooks that trigger tcl scripts stored in the db?

2012-02-14 Thread Leo Razoumov
On Tue, Feb 14, 2012 at 07:53, Richard Hipp d...@sqlite.org wrote: (4) Scripts are only exchanged between repositories on a fossil clone or fossil configuration pull/sync.  For the latter, detailed warnings about changes to scripts and recommendations to redo audits might be in order. IMHO

Re: [fossil-users] comments in Fossil wiki and embedded documentation?

2012-02-13 Thread Leo Razoumov
On Sun, Feb 12, 2012 at 19:15, Bill Burdick bill.burd...@gmail.com wrote: May I recommend my markdown plugin?  It's here: http://chiselapp.com/user/zot/repository/fossil-pagedown  It will let you use markdown as your wiki language and it also supports XML comments. Bill, I cloned the pagedown

Re: [fossil-users] With jimtcl available can we have hooks that trigger tcl scripts stored in the db?

2012-02-13 Thread Leo Razoumov
On Mon, Feb 13, 2012 at 18:30, Gé Weijers g...@weijers.org wrote: On Mon, Feb 13, 2012 at 1:49 PM, Steve Bennett ste...@workware.net.au wrote: Joe Mistachkin has recently added support for calling TH1 scripts on certain actions. See http://www.fossil-scm.org/index.html/info/0b61e3c019 In

[fossil-users] comments in Fossil wiki and embedded documentation?

2012-02-12 Thread Leo Razoumov
I would like to put some comments into embedded doc foo.wiki page which I am editing. Standard HTML comment tag !-- comments -- does not work. What should I do? --Leo-- ___ fossil-users mailing list fossil-users@lists.fossil-scm.org

Re: [fossil-users] comments in Fossil wiki and embedded documentation?

2012-02-12 Thread Leo Razoumov
On Sun, Feb 12, 2012 at 08:35, Stephan Beal sgb...@googlemail.com wrote: Fossil doesn't support comments in the wiki. See: http://fossil-scm.org/index.html/wiki_rules That's really bad for the embedded documentation. Unlike wiki embedded docs can be edited in any editor and comments are very

[fossil-users] PATCH: fossil wiki markup accepts HTML comments

2012-02-12 Thread Leo Razoumov
Please, find attached a patch that allows to use HTML comments of the form !-- . -- in fossil wiki markup. This feature is especially handy for embedded documentations written using a text editor of choice. Comments allow to annotate wiki sources in meaningful way, comment out portions of the

Re: [fossil-users] PATCH: fossil wiki markup accepts HTML comments

2012-02-12 Thread Leo Razoumov
On Sun, Feb 12, 2012 at 12:43, Richard Hipp d...@sqlite.org wrote: Comments are not supported in wiki precisely because I don't want people, especially anonymous contributors, to be able hide things from view.  The idea is that all changes should be plainly visible, without having to click on

Re: [fossil-users] comments in Fossil wiki and embedded documentation?

2012-02-12 Thread Leo Razoumov
On Sun, Feb 12, 2012 at 19:15, Bill Burdick bill.burd...@gmail.com wrote: May I recommend my markdown plugin?  It's here: http://chiselapp.com/user/zot/repository/fossil-pagedown  It will let you use markdown as your wiki language and it also supports XML comments. Bill, thanks you! I will

[fossil-users] PATCH-v2: HTML comments in fossil wiki markup

2012-02-12 Thread Leo Razoumov
Following up the mailing list discussion I modified my original patch to achieve the following behavior: (1) By default HTML comments !--...-- are *NOT* recognized in wiki markup, exactly the same way as it is now. (2) An Admin can switch HTML comments ON in wiki markup by means of a new

[fossil-users] Valentine's Day wish

2012-02-11 Thread Leo Razoumov
I recently discovered fossil and so far I like it very much. It does most of the things I need and does them very well. If I would be asked to name one feature that fossil still lacks I would name my favorite one: - Ability to push one branch at a time. Right now fossil push is all-or-nothing

Re: [fossil-users] stdout flush on external diff command

2012-02-10 Thread Leo Razoumov
2012/2/10 Lluís Batlle i Rossell vi...@viric.name: Hello, But if I run: $ fossil diff | less First go the outputs of all the diff commands, and at the end, all the Index:.. and === in a row. I think the diff_print_index() function that writes the Index: and the === needs a flush, to fix

[fossil-users] how to maintain a set of patches?

2012-02-10 Thread Leo Razoumov
I guess at some point with every SCM system one faces a challenge of a patch based workflow. I need to maintain a set of patches on a branch which are periodically reapplied as trunk moves forward. Git has git rebase, Mercurial has hg mq. What solution does fossil offer? --Leo--

Re: [fossil-users] how to maintain a set of patches?

2012-02-10 Thread Leo Razoumov
On Fri, Feb 10, 2012 at 15:28, Richard Hipp d...@sqlite.org wrote: On Fri, Feb 10, 2012 at 3:19 PM, Leo Razoumov slonik...@gmail.com wrote: I guess at some point with every SCM system one faces a challenge  of a patch based workflow. I need to maintain a set of patches on a branch which

Re: [fossil-users] how to maintain a set of patches?

2012-02-10 Thread Leo Razoumov
On Fri, Feb 10, 2012 at 15:54, Richard Hipp d...@sqlite.org wrote: fossil update D fossil merge --cherrypick P1 fossil commit --branch P1p fossil merge --cherrypick P2 fossil commit --tag P2p fossil merge --cherrypick P3 fossil commit --tag P3p Richard, thanks for the suggestion. Will I

Re: [fossil-users] how to maintain a set of patches?

2012-02-10 Thread Leo Razoumov
On Fri, Feb 10, 2012 at 18:38, Richard Hipp d...@sqlite.org wrote: On Fri, Feb 10, 2012 at 4:48 PM, Leo Razoumov slonik...@gmail.com wrote: I hope that fossil could pre-populate the message with the text from the commit that is being cherry-picked. It would save lots of typing. A very

[fossil-users] fossil commit failure after merge

2012-02-09 Thread Leo Razoumov
Hi List, I ran into a strange problem which results in fossil commit failure after a specific type of merge. I attached a self-contained shell script that reproduces the problem. Tested with trunk version of fossil on Linux. Here is the problem description. A fossil repository T.fossil contains

Re: [fossil-users] fossil commit failure after merge

2012-02-09 Thread Leo Razoumov
not compile. Now this policy cannot be followed in some cases. And secondly such inconsistent commits break bisect. --Leo-- - Original Message - From: Leo Razoumov Sent: 02/10/12 03:39 AM To: Fossil SCM user's discussion Subject: [fossil-users] fossil commit failure after merge Hi List

Re: [fossil-users] _FOSSIL_ file grows large

2012-02-08 Thread Leo Razoumov
On Tue, Feb 7, 2012 at 19:26, Richard Hipp d...@sqlite.org wrote: The _FOSSIL_ file contains (among other things) your stash and your undo history.  What does     sqlite3_analyzer _FOSSIL_ Hmm, I just compliled/installed sqlite-3.7.10 from its fossil repo and it did build sqlite3 executable

Re: [fossil-users] _FOSSIL_ file grows large

2012-02-08 Thread Leo Razoumov
On Tue, Feb 7, 2012 at 19:26, Richard Hipp d...@sqlite.org wrote: On Tue, Feb 7, 2012 at 7:24 PM, Leo Razoumov slonik...@gmail.com wrote: Hi List, I wonder why _FOSSIL_ file grows so fast. I did some little work with a clone of fossil source code repository (23MB) and over space of two days

Re: [fossil-users] _FOSSIL_ file grows large

2012-02-08 Thread Leo Razoumov
On Wed, Feb 8, 2012 at 11:05, Richard Hipp d...@sqlite.org wrote: Probably what happened is that you did some operation that created a large undo stack, which was stored in the _FOSSIL_ file.  Then later, after the undo expired, that space was freed.  If the space utilization is an issue for

Re: [fossil-users] _FOSSIL_ file grows large

2012-02-08 Thread Leo Razoumov
On Wed, Feb 8, 2012 at 11:05, Richard Hipp d...@sqlite.org wrote: Probably what happened is that you did some operation that created a large undo stack, which was stored in the _FOSSIL_ file.  Then later, after the undo expired, that space was freed.  If the space utilization is an issue for

Re: [fossil-users] In-line versus side-by-side diffs

2012-02-07 Thread Leo Razoumov
On Mon, Feb 6, 2012 at 23:26, Richard Hipp d...@sqlite.org wrote: A lot of people have been telling me that they prefer the unified or context style in-line diffs over side-by-side diffs. And I have to admit that sometimes an in-line diff is easier to read and understand.  But side-by-side

[fossil-users] PATCH: fossil diff --brief outputs only whether files differ

2012-02-07 Thread Leo Razoumov
Hi Richard, please, find attached a patch that introduces --brief (short -q) option to fossil diff that acts analogous to regular diff --brief or diff -q. It suppresses diff contents and outputs just the file names that differ. Output format is similar to fossil changes. But unlike fossil changes

[fossil-users] _FOSSIL_ file grows large

2012-02-07 Thread Leo Razoumov
Hi List, I wonder why _FOSSIL_ file grows so fast. I did some little work with a clone of fossil source code repository (23MB) and over space of two days _FOSSIL_ reached 10MB. What gives? --Leo-- ___ fossil-users mailing list

[fossil-users] Help needed: fossil clone user authentication does not seem to work over ssh

2012-02-06 Thread Leo Razoumov
Hi List, I am trying to clone a repository over ssh complete with all the private branches by means of $ fossil clone --private ssh://username:pass@hostname/path-to-Repo my.fossil Prior to doing that I set Private flag for username on the remote repo using the web interface. The clone operation

[fossil-users] BUG: clone/pull/push over SSH always use nobody privileges

2012-02-06 Thread Leo Razoumov
Hi Richard, It seems that clone/push/pull over ssh ignore ssh://USER:PASSWORD settings and always connect to a remote fossil end as nobody. As a result * One cannot push anything to a remote repo (unless nobody is granted developer privileges) * clone/pull private branches does not work

Re: [fossil-users] BUG: clone/pull/push over SSH always use nobody privileges

2012-02-06 Thread Leo Razoumov
On Mon, Feb 6, 2012 at 09:24, Leo Razoumov slonik...@gmail.com wrote: Hi Richard, It seems that clone/push/pull over ssh ignore ssh://USER:PASSWORD settings and always connect to a remote fossil end as nobody. Richard, Thank you very much for pushing a prompt fix to the trunk [a928c89cb18

[fossil-users] how to clone private branches over ssh?

2012-02-05 Thread Leo Razoumov
Hi List, I am trying to clone my repository over SSH complete with all my private branches. So far I have had no luck. I compiled fossil on Ubuntu-10.04 from its current trunk version and that's what I am getting: $ fossil clone --private

Re: [fossil-users] how to clone private branches over ssh?

2012-02-05 Thread Leo Razoumov
On Sun, Feb 5, 2012 at 12:16, Richard Hipp d...@sqlite.org wrote: On Sun, Feb 5, 2012 at 12:03 PM, Leo Razoumov slonik...@gmail.com wrote: Hi List, I am trying to clone my repository over SSH complete with all my private branches. So far I have had no luck. What options should I enable

Re: [fossil-users] Derived code, not to be pushed public

2012-02-05 Thread Leo Razoumov
2012/2/5 Lluís Batlle i Rossell vi...@viric.name: Hello, I wonder how people keep code based on a public fossil repository, but without making the derivaiton public. Of course, with the ability to keep all in sync easily, as if all was in a single VCS. There are the private branches... but

Re: [fossil-users] Retro side-by-side diffs

2012-02-05 Thread Leo Razoumov
On Sat, Feb 4, 2012 at 10:36, Richard Hipp d...@sqlite.org wrote: On Sat, Feb 4, 2012 at 10:24 AM, Leo Razoumov slonik...@gmail.com wrote: Retro diff (2) looks really bad in Google Chrome-16 and in Firefox-3.6.24, see attached chrome screen-shot (Ubuntu-10.04). Huh.  On Ubuntu 11.10 running

  1   2   >