Re: [fossil-users] [Bug?] [server] Processes of Fossil popping up unexpectedly
FWIW I also run in server mode constantly because its easy. My users (there are 10, they probably hit the server in bursts of 10 times one one day of the week) occasionally notice slowdowns and ping me. This is for an internal site only, no public facing, so shouldn't be huge numbers of users. I restart the server and all is well. I don't see this as a problem since I know I should be running a 'real' server, but *shrug* this is good enough and a simple restart works well. Tomek From: fossil-userson behalf of fossil-users-requ...@lists.fossil-scm.org Sent: Friday, December 22, 2017 12:41 PM To: fossil-users@lists.fossil-scm.org Subject: fossil-users Digest, Vol 119, Issue 49 In message
[fossil-users] Adding 'bz2' and 'bzip' to mimetypes
Hello, Any chance that 'bz2' and 'bzip' could be added to the 'official' fossil types? (http://fossil-scm.org/index.html/artifact/aad06cde815b7051?ln=71-288) Thanks, Tomek ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Python bindings to Fossil?
Hi all, A year and a half ago, there was some discussion on creating some python bindings for Fossil/libfossil: http://www.mail-archive.com/fossil-users%40lists.fossil-scm.org/msg18153.html. Does anyone know if that happened or where they might reside? My google-fu is failing me. Thanks! ___ 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] Conflicts during update
So I've seen a very similar thing happen twice on a windows machine, where fossil reports conflicts in a lot of files (in one case it was binary code for LabVIEW, so no possible line endings) but individual inspection of differences with a proper binary differ listed nothing. Only a close/reopen cleared whatever was going on from fossil. I've never been able to track it down as a repeatable bug, but I do actually believe there might be some odd edge case. Tomek Date: Wed, 12 Aug 2015 10:19:33 +0200 From: Stephan Beal sgb...@googlemail.com To: Fossil SCM user's discussion fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Conflicts during update Message-ID: CAKd4nAgMg13tA1k_-HPWP8hj6_zdR4P7C9yZEqf=zjwhp9h...@mail.gmail.com Content-Type: text/plain; charset=utf-8 On Wed, Aug 12, 2015 at 10:13 AM, Jacek Ca?a jacek.c...@gmail.com wrote: Thanks for the suggestion... no luck in finding ''. It matches only _FOSSIL_ and a few binary files. It could be the line endings because I work primarily on Windows and whenever fossil complains about CR/LF I just ignore it (saying 'a' during the commit). However, I guess, there is no way to list files that were reported as conflicting during merge, is there? Not that i am aware of. i know svn requires one to manually tell it the conflict for this specific file is resolved, but fossil does not do so, and it does not remember that a file is conflicted. When a conflict occurs, the conflicting part(s) of the file will be wrapped up in blocks which look like this (copy/pasted from a recent mail by Richard): BEGIN MERGE CONFLICT: local copy shown first === COMMON ANCESTOR content follows === MERGED IN content follows == END MERGE CONFLICT If you don't see any of those in your source-controlled files then fossil does not know about a conflict. If it reports a conflict and yet does not tag it with such a block, then something is wrong (in fossil), but we are not currently aware of any such bugs. -- - 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 -- next part -- An HTML attachment was scrubbed... URL: http://lists.fossil-scm.org:8080/pipermail/fossil-users/attachments/20150812/4bef1cf8/attachment.html ___ 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] Irrecoverable repository inconsistency between local and remote, after an assertion failure on Windows.
Don't forget to try 'fossil sync --verily' Tomek Date: Wed, 3 Jun 2015 21:45:20 -0700 From: Matt Welland mattrwell...@gmail.com To: Fossil SCM user's discussion fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Irrecoverable repository inconsistency between local and remote, after an assertion failure on Windows. Message-ID: ca+cfv2owxy0-h-2ibxiwryy1-y5hw29uvhdwbfxeirgcjg9...@mail.gmail.com Content-Type: text/plain; charset=utf-8 Another thing to try if you haven't already done so is to rebuild repos at both ends. I've seen this fix weird sync errors a couple times. On Wed, Jun 3, 2015 at 6:12 PM, Andy Bradford amb-fos...@bradfords.org wrote: Thus said Ardie H. Hwang on Thu, 04 Jun 2015 06:01:15 +0900: Clearly, server does not know the existence of check-in `da19b8f2e5d89310d80b90a6a27d2d70ff646ad1`. Is there any advice on resolving this issue? Have you tried: fossil push Thanks, Andy -- TAI64 timestamp: 4000556fa631 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- next part -- An HTML attachment was scrubbed... URL: http://lists.fossil-scm.org:8080/pipermail/fossil-users/attachments/20150603/e3a05f13/attachment.html -- ___ 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
[fossil-users] no checkin found
Hi folks, I just solved an error, but would like to know why it worked The problem manifestation is the following: 1. When using 'fossil diff,' some files seem to show the correct (expected) difference. Others shows the difference between the MANIFEST and the current file?! 2. When asking for the diff of a specific file ('fossil diff file'), I get no such checkin: (nothing after the colon. No artifact #or anything else). 3. This happens only on windows machine (slave). I cannot reproduce on the linux machine with a new checkout I had tried the following 1. Upgrading to fossil 1.32 (I think I was on 1.29 or something...) 2. Rebuild 'master' and 'clone' using fossil 1.32 3. Master is an Ubuntu box, clone is windows 4. I've tried recloning 5. I tried re-opening -- this works. So, it appears that the _FOSSIL_ file got messed up at some point? Any idea why this would happen, and what I could do to diagnose in the future if I had no access to an updated version of fossil? Thanks, Tomek ___ 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] Allowed pages for th1 `query`?
Bump? Could anyone clarify where TH1 'query' will be taken? Thanks, Tomek Date: Wed, 26 Nov 2014 10:44:34 -0500 From: Tomek Kott tkott.onl...@outlook.com To: fossil-users@lists.fossil-scm.org fossil-users@lists.fossil-scm.org Subject: [fossil-users] Allowed pages for th1 `query`? Message-ID: blu181-w4219969ae94a74c759a0768d...@phx.gbl Content-Type: text/plain; charset=iso-8859-1 Hi fossilers, Where can I use the th1 command `query` by default? I'm running plain vanilla fossil 1.29 on Win7x64, and wanted to create a custom ticket report format that is not just a plain table. I tried running a sample script: th1 set seenRow 0 set alwaysPlaintext [info exists plaintext] query {SELECT datetime(mtime) AS xdate, value AS xvalue, name AS xname FROM config WHERE name = 'ticket-common'} { if {$seenRow} { html hr\n } else { set seenRow 1 } html h2[htmlize $xname]/h2 html h3Updated on: $xdate/h3 html pre[htmlize $xvalue]/pre } /th1 Both under a wiki page (under plaintext, markdown, and fossil wiki styles) and as a 'external' documentation page (markdown) under \docs\tip\docs\query.md. I checked under the admin\th1 page to make sure that the th1 code is correct, and I get an error that access to the `config` table is restricted -- that's fine. I would expect the same error to be thrown on one of the pages I tried if it were to work. Is there some setting that I missed here? I don't think `th1-hooks` is what I need... Thanks, Tomek PS. Sorry for delayed responses, I'm on fossil digest mode. Please cc me for quick response. -- next part -- An HTML attachment was scrubbed... URL: http://lists.fossil-scm.org:8080/pipermail/fossil-users/attachments/20141126/6872cd7b/attachment.html -- ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users End of fossil-users Digest, Vol 82, Issue 27 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Allowed pages for th1 `query`?
Hi fossilers, Where can I use the th1 command `query` by default? I'm running plain vanilla fossil 1.29 on Win7x64, and wanted to create a custom ticket report format that is not just a plain table. I tried running a sample script: th1 set seenRow 0 set alwaysPlaintext [info exists plaintext] query {SELECT datetime(mtime) AS xdate, value AS xvalue, name AS xname FROM config WHERE name = 'ticket-common'} { if {$seenRow} { html hr\n } else { set seenRow 1 } html h2[htmlize $xname]/h2 html h3Updated on: $xdate/h3 html pre[htmlize $xvalue]/pre } /th1 Both under a wiki page (under plaintext, markdown, and fossil wiki styles) and as a 'external' documentation page (markdown) under \docs\tip\docs\query.md. I checked under the admin\th1 page to make sure that the th1 code is correct, and I get an error that access to the `config` table is restricted -- that's fine. I would expect the same error to be thrown on one of the pages I tried if it were to work. Is there some setting that I missed here? I don't think `th1-hooks` is what I need... Thanks, Tomek PS. Sorry for delayed responses, I'm on fossil digest mode. Please cc me for quick response. ___ 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] FOSSIL ALL
Message: 7 Date: 27 Oct 2014 09:50:39 -0600 From: Andy Bradford amb-fos...@bradfords.org To: Tony Papadimitriou to...@acm.org Cc: Fossil SCM user's discussion fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] FOSSIL ALL Message-ID: 20141027095039.14517.qm...@angmar.bradfordfamily.org Thus said Tony Papadimitriou on Mon, 27 Oct 2014 14:18:04 +0200: I guess the same scenario would be valid if one used a server but had private branches. My understanding is that private branches do not sync so the only way to move to another location is to move the whole fossil file. Correct? From ``fossil help sync'': Use the --private option to sync private branches with the remote repository. Andy -- TAI64 timestamp: 4000544e69f0 FWIW, I work mostly on windows. I'm pretty confident I have never explicitly used file://. I just say fossil clone U:/fossils/myfossil.fossil And fossil does the rest to put things in. Same for fossil remoteurl. I've used both relative and absolute paths to the fossil repo. Fossil automatically adds the file:// part as necessary. The way Richard described it will (should) work. As another FWIW, I have many repos on a network drive in '--wal' mode to share between windows / linux sources and have yet to have a corruption issue after a year and a half of not-so-frequent use. Tomek ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] parent/root disappeared
Hi all, I have a repository that was (once upon a time) a former git repository. I just noticed, upon cloning to a new computer, that the root checkin is no longer showing up in the timeline. I'll be a bit more specific, judging from the artifacts I've found upon deconstruction etc. There are two computers, call them server and client. On the server, I see a checkin 31e481e120f0, whose manifest lists the 'P' card (parent, I assume) as '7116833a14'. This checkin does not show up in the timeline on the server. When I deconstruct the fossil repository, I can see the manifest for that checkin, and the checkin comment states Initial commit or some such with no other P card. On the client (after clone), I DON'T SEE 31e481e12, only its next available child. All the data is still obviously there after deconstruction, although it still doesn't appear after reconstructing from the artifacts. I've tried rebuild (using --randomize and not) with no luck. I'm guessing that I've simply run into a very odd git-influenced bug of one sort or another, but would love to figure out what went wrong. As a note, I know that at some point I could see the original ('7116833...') checking because the client (though oddly not the server) lists a tag change in which I added a propagating tag 'trunk' to that checkin. So at some point in the past I could see it through the timeline and edit it. Maybe something in the intervening rebuilds broke things? Is there anything else I can do to debug the issue? Thanks, Tomek PS. Please CC me on responses since I get digests, so I will be delayed in responding otherwise. ___ 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] parent/root disappeared
The result is: ERROR: line 21: T-card in the wrong order The file itself is attached. Looks like a potential duplicate Tag? Though if I delete that then the check-sum doesn't match Forgot to mention the client computer has: This is fossil version 1.29 [3e5ebe2b90] 2014-06-12 17:25:56 UTC Tomek From: d...@sqlite.org Date: Wed, 8 Oct 2014 10:23:16 -0400 Subject: Re: [fossil-users] parent/root disappeared To: fossil-users@lists.fossil-scm.org CC: tk...@outlook.com On Wed, Oct 8, 2014 at 10:15 AM, Tomek Kott tkott.onl...@outlook.com wrote: Hi all, I have a repository that was (once upon a time) a former git repository. I just noticed, upon cloning to a new computer, that the root checkin is no longer showing up in the timeline. I'll be a bit more specific, judging from the artifacts I've found upon deconstruction etc. There are two computers, call them server and client. On the server, I see a checkin 31e481e120f0, whose manifest lists the 'P' card (parent, I assume) as '7116833a14'. This checkin does not show up in the timeline on the server. When I deconstruct the fossil repository, I can see the manifest for that checkin, and the checkin comment states Initial commit or some such with no other P card. Please save off the 7116833a14 manifest into a file. (You can perhaps use fossil 7116833a14 test.txt to do this.) Then run fossil test-parse-manifest test.txt and let us know what you see as a result. Or, email the test.txt file. On the client (after clone), I DON'T SEE 31e481e12, only its next available child. All the data is still obviously there after deconstruction, although it still doesn't appear after reconstructing from the artifacts. I've tried rebuild (using --randomize and not) with no luck. I'm guessing that I've simply run into a very odd git-influenced bug of one sort or another, but would love to figure out what went wrong. As a note, I know that at some point I could see the original ('7116833...') checking because the client (though oddly not the server) lists a tag change in which I added a propagating tag 'trunk' to that checkin. So at some point in the past I could see it through the timeline and edit it. Maybe something in the intervening rebuilds broke things? Is there anything else I can do to debug the issue? Thanks, Tomek PS. Please CC me on responses since I get digests, so I will be delayed in responding otherwise. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- D. Richard Hipp d...@sqlite.org 16833a14247c303898826566a3805d50ce83a4 Description: Binary data ___ 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] parent/root disappeared
It was a git import -- I know this because there's a checkin comment further up the chain saying Last git commit before fossil takeover. I'm not sure that I kept the original git repo around -- this was I think two computers ago and a different OS for that matter...If I can find it I'll see if another git-import would create the same artifact. Thanks for the boot-leg version. Would I be able to just rebuild once with the boot-leg version and go from there, or will it be a problem every time I clone with a newer non-bootlegged version? Tomek From: d...@sqlite.org Date: Wed, 8 Oct 2014 10:37:49 -0400 Subject: Re: [fossil-users] parent/root disappeared To: fossil-users@lists.fossil-scm.org CC: tk...@outlook.com (Manifest returned via private email) The manifest is malformed due to the duplicate T-card. If you want to build a boot-leg version of Fossil that will ignore this error in the manifest, you can do so via the following change: Index: src/manifest.c == --- src/manifest.c +++ src/manifest.c @@ -786,11 +786,11 @@ p-aTag[i].zName = zName; p-aTag[i].zUuid = zUuid; p-aTag[i].zValue = zValue; if( i0 ){ int c = fossil_strcmp(p-aTag[i-1].zName, zName); - if( c0 || (c==0 fossil_strcmp(p-aTag[i-1].zUuid, zUuid)=0) ){ + if( c0 /* || (c==0 fossil_strcmp(p-aTag[i-1].zUuid, zUuid)=0) */ ){ SYNTAX(T-card in the wrong order); } } break; } How did you say that this manifest was generated? On Wed, Oct 8, 2014 at 10:23 AM, Richard Hipp d...@sqlite.org wrote: On Wed, Oct 8, 2014 at 10:15 AM, Tomek Kott tkott.onl...@outlook.com wrote: Hi all, I have a repository that was (once upon a time) a former git repository. I just noticed, upon cloning to a new computer, that the root checkin is no longer showing up in the timeline. I'll be a bit more specific, judging from the artifacts I've found upon deconstruction etc. There are two computers, call them server and client. On the server, I see a checkin 31e481e120f0, whose manifest lists the 'P' card (parent, I assume) as '7116833a14'. This checkin does not show up in the timeline on the server. When I deconstruct the fossil repository, I can see the manifest for that checkin, and the checkin comment states Initial commit or some such with no other P card. Please save off the 7116833a14 manifest into a file. (You can perhaps use fossil 7116833a14 test.txt to do this.) Then run fossil test-parse-manifest test.txt and let us know what you see as a result. Or, email the test.txt file. On the client (after clone), I DON'T SEE 31e481e12, only its next available child. All the data is still obviously there after deconstruction, although it still doesn't appear after reconstructing from the artifacts. I've tried rebuild (using --randomize and not) with no luck. I'm guessing that I've simply run into a very odd git-influenced bug of one sort or another, but would love to figure out what went wrong. As a note, I know that at some point I could see the original ('7116833...') checking because the client (though oddly not the server) lists a tag change in which I added a propagating tag 'trunk' to that checkin. So at some point in the past I could see it through the timeline and edit it. Maybe something in the intervening rebuilds broke things? Is there anything else I can do to debug the issue? Thanks, Tomek PS. Please CC me on responses since I get digests, so I will be delayed in responding otherwise. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- D. Richard Hipp d...@sqlite.org -- 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] Quiet mode for update and sync
Date: Thu, 2 Oct 2014 13:40:06 -0400 From: David Mason dma...@ryerson.ca To: Fossil SCM user's discussion fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Quiet mode for update and sync Message-ID: CALFgxqD_Gg_2FtkSs=82r0vnvmkrctz-4lxnejefqp7dckn...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 Right, what I wanted to do was get rid of the remote-url. It turns out that if you say: fossil remote-utl '' it complains that it's invalid, but now it's off, so it no longer attempts to sync. Thanks ../Dave I thought you could do: fossil remote-url off At least, according to the help: f help remote f.exe remote-url ?URL|off? Tomek ___ 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] Username in report query
Thanks Joe, I had tried creator = '$login' but somehow failed to try it without the single quotes. Tomek Date: Mon, 29 Sep 2014 16:39:04 -0700 From: Joe Mistachkin sql...@mistachkin.com To: 'Fossil SCM user's discussion' fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Username in report query Message-ID: BEFE4B10C1B04381BD8A8527EA3BAB04@LACHRYMOSE Content-Type: text/plain; charset=US-ASCII Tomek Kott wrote: Is there a way to get the current username into the report dynamically? Or, can I use TH1 within the query code? The following might work: SELECT title AS 'Summary' FROM ticket WHERE status = 'Open' AND assignee = $login It should be noted that there are no quotes around the $login parameter used in the above query. -- Joe Mistachkin ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Username in report query
Hi there, Is there a way to get the current username into the report dynamically? Or, can I use TH1 within the query code? I'm guessing the answer is no for security reasons. I just tried it -- I was trying to filter on the $login variable that should always be accessible (i.e. WHERE creator is '$login') where 'creator' is a column in my ticket schema. Any thoughts how to accomplish this so users can look at the tickets they created would be great! Thanks, Tomek ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Comma separated lists
As per my previous email about checkboxes, I realized that its much easier to work with comma delimited lists for what I needed. Here are some possibly useful TH1 scripts for checkboxes and comma delimited lists. Feel free to bug me for more info (though I'm on digests, so won't answer right away). clength and cindex are direct substitutions for llength and lindex that are built in. I'm sure these could be improved. But they work for me. proc strip_last_comma clist { set clist [string range $clist 0 [expr [string length $clist]-3]] return $clist } proc list_to_clist l { set new_l for {set i 0} {$i [llength $l] } {set i [expr $i+1]} { set new_l $new_l[lindex $l $i], } return [strip_last_comma $new_l] } proc clength clist { if { [string length $clist] == 0 } {return 0} set count 0 set cfirst 0 for {set i 0} { $i [string length $clist] } {set i [expr $i+1]} { set cfirst [string first , $clist] if { $cfirst != -1 } { set clist [string range $clist [expr $cfirst+2] [string length $clist]] set count [expr $count+1] } else { break } } if { $clist ne , } { set count [expr $count+1] } return $count } proc cindex {clist idx} { set count 0 set cfirst 0 set cfirst_prev $cfirst set l($count) for {set i 0} { $i [string length $clist] } {set i [expr $i+1]} { set cfirst [string first , $clist] if { $cfirst != -1 } { set l($count) [string range $clist $cfirst_prev [expr $cfirst-1]] set clist [string range $clist [expr $cfirst+2] [string length $clist]] set count [expr $count+1] } else { break } } if { $clist ne , } { set l($count) $clist } if { [info exists l($idx)] } { return $l($idx) } else { return } } --- To implement checkboxes: th1 set tags_regexp [cindex $tags 0] for {set i 1} {$i [clength $tags] } {set i [expr $i+1]} { set tags_regexp $tags_regexp|[cindex $tags $i] } if { [string range $tags_regexp [string length $tags_regexp] [string length $tags_regexp] ] eq | } { set tags_regexp $tags_regexp!! } if { [string length $tags_regexp] = 0 } { set tags_regexp !!} html table width=\100%\ for {set i 0} {$i [clength $tags_choices] } {set i [expr $i+1]} { if { [expr $i%2] eq 0 } { html tr } html td width=\50%\input type=\checkbox\ name=\tags_$i\ value=\[cindex $tags_choices $i]\ if {[ regexp $tags_regexp [cindex $tags_choices $i] ]} { html checked } html /[cindex $tags_choices $i]/td if { [expr $i%2] eq 1 } { html /tr } } html input type=\hidden\ name=\tags_regexp\ value=\$tags_regexp\ if { [expr [clength $tags_choices]%2 ] eq 1 } {html td/td/tr } html /table /th1 --- $tags_choices are implemented as follows: set tags_choices {X Y With Space ZZ} -- Hope that helps someone sometime somewhere in the future Tomek ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Checkboxes for tickets
Hi fossilers, I'm trying to implement checkboxes within tickets using TH1. First question -- has anyone managed to do this? In common I have: set status_choices {New Features Uninteresting} While the database column is status. I've tried the following: th1 for {set i 0} {$i [linecount $status_choices 50 0] } {set i [expr $i+1]} { html input type=\checkbox\ name=\status\ value=\[lindex $status_choices $i]\ if {[string compare [lindex $status_choices $i] status ] eq 0} { html checked } html /[lindex $status_choices $i] } /th1 Which doesn't work because upon submission, only the first checkbox is ever recorded. So I thought I might get clever and get around this with the preview button by using intermediate variables for each checkbox. I.e., checkbox 0 has name status_0, which ALMOST works, but I can't dynamically call my variable... so I would be stuck hardcoding. Is dynamic variable calling possible in TH1? th1 if { ![info exists status] } {set status } for {set i 0} {$i [linecount $status_choices 50 0] } {set i [expr $i+1]} { if { [info exists status_$i] } { set status $status \n $status_$i } } html Status: $status. set status_regexp [lindex $status 0] for {set i 1} {$i [linecount $status 50 0] } {set i [expr $i+1]} { set status_regexp $status_regexp|[lindex $status $i] } if {![info exists status]} {set status New} for {set i 0} {$i [linecount $status_choices 50 0] } {set i [expr $i+1]} { html input type=\checkbox\ name=\status_$i\ value=\[lindex $status_choices $i]\ if {[ regexp $status_regexp [lindex $status_choices 0] ]} { html checked } html /[lindex $status_choices $i] } /th1 Any help would be appreciated! Even if it is to tell me that what I'm doing can't be done in TH1. Maybe the HTML parser for the form submission could simply append multiple instances of the same name either as new lines or as commas? Thanks, Tomek ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] diff restricted to a dir
Date: Tue, 8 Jul 2014 16:03:27 +0200 From: Michai Ramakers m.ramak...@gmail.com To: Fossil SCM user's discussion fossil-users@lists.fossil-scm.org Subject: [fossil-users] diff restricted to a dir Message-ID: cadefdofyphaesfb0c-fsqzbj7p6cgyfsdeqzaevkxtp6aaq...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 Hello, I noticed 'fossil diff .' or 'fossil diff *' in a subdir of the working tree does not work (i.e. produces an error from fossil). Apart from using shell magic, is there a way to restrict 'diff' to use a single dir (e.g. the current one)? Not a big deal, but perhaps there's a short answer. Michai try fossil ls DIR/ | fossil diff that worked for me. Basically pipe the output of what fossil knows about the directory to the differ Tomek ___ 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] diff restricted to a dir
Message: 8 Date: Tue, 8 Jul 2014 21:40:22 +0200 From: Stephan Beal sgb...@googlemail.com To: Fossil SCM user's discussion fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] diff restricted to a dir Message-ID: cakd4nai_2fottw69rwgk3d5u9q7bhv8j0sdran8c2dxdenx...@mail.gmail.com Content-Type: text/plain; charset=utf-8 On Tue, Jul 8, 2014 at 8:28 PM, Michai Ramakers m.ramak...@gmail.com wrote: fossil diff $(fossil ls DIR/) right, that works, ok. (Not on windows, but then again, since nobody asked before, I am guessing nobody really uses diff-in-one-dir-only a lot.) Had never occurred to me until today, and i still haven't tried it myself ;). The $(...) is just a reformulation of Tomek's idea, but i wouldn't have thought of it had he not given his example. -- - 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 -- next part -- FWIW, fossil ls DIR| fossil diff works for me both on windows with powershell and on ubuntu with bash (?). What errors are you seeing Michai? You might have found a bug (whether in the shell or fossil I don't know :))? Tomek PS. I only get digests, so responses will be delayed. ___ 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] some questions about fossil-as-document-repo
Might I suggest the following two tools as better suited for this sort of endeavor? 1) Zotero - http://www.zotero.org/ 2) PDF XChange for free OCR - http://www.tracker-software.com/product/pdf-xchange-viewer The first is a good pdf sorter that can work in stand alone mode. You can also tag things with metadata / tags / years etc. The second is a free PDF reader that I use instead of Adobe, and recently it was updated with free OCR. In my use the OCR has actually been very good. It can place the text of the PDF behind the image, so you can select the text while viewing the original scanned copy. I do this for bills and such at home. I personally don't see fossil as the right tool for a document repo. Tomek Date: Wed, 16 Jan 2013 16:33:09 -0600 From: c...@thomasstover.com To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] some questions about fossil-as-document-repo On Wed, 16 Jan 2013 16:11:49 -0600 Carson Chittom car...@wistly.net wrote: Yes, basically, it's the probably should save for later need--mostly for legal reasons. Currently all this is in hardcopy, as I mentioned, the volume of which has reached such a level as to be simply impenetrable; part of the reason for putting them as images into a repository is simply to organize them. Well if hardcopy means scanned paper (no ocr) then it sounds like a very large binary file set. That sort of thing quickly gets up larger than most photo collections. The logic of the concept is sound. Report back on how it goes in practice. -- C. Thomas Stover www.thomasstover.com ___ 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] fossil sqlite3
there might have been email overlap. fossil info also spits out the project-id. That's what Petr was saying I believe. Date: Mon, 31 Dec 2012 17:51:31 +0800 From: ttmrich...@gmail.com To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] fossil sqlite3 On 31 December 2012 17:27, Edward Berner e...@bernerfam.com wrote: Waitwhat? My version of Fossil (This is fossil version 1.25 [558a17a686] 2012-12-22 13:48:31 UTC) doesn't show anything about project-id for fossil new/clone. What do you get when you create a test repository? It should, I think, display the project-id, etc., after creating the repository. eg: $ ./fossil new test.fossil project-id: 2d7cade36dce2af94df648e178d588e5a3b00a14 server-id: af94c0a2462bc18103a19c20fd0b3918c3f9a2a3 admin-user: erb (initial password is 811b05) Ah. I misunderstood. I thought you meant there was a command line option related to the project ID. -- Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot. --Sergey Brin, demonstrating the emptiness of the don't be evil mantra. ___ 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] Syncing with Github
I would be interested in seeing the scripts for syncing with github as well! Thanks, Tomek Date: Sat, 15 Dec 2012 17:20:11 +0100 From: andre...@activestate.com To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Syncing with Github The fossil repositories on core.tcl.tk, welll, most of them are reflected to the github tcltk account/organization. The scripts we are using for that were written by Pat Thoyts, and can be found under /home/mirrors/gtof. Richard (Hipp) has access to the machine and scripts. Some of the locations in the scripts are machine specific. Myself, I am on vacation and do not have access to core.tcl.tk from the machine here. Although I can do mail. On Fri, Dec 14, 2012 at 10:17 PM, Laurens Van Houtven _...@lvh.cc wrote: Hi, I'd like to move some projects from Github to self-hosted fossil (or maybe chisel, I haven't decided yet). However, I'd like to keep the Github repository available and updated. I can do a one-time move with fast-export/fast-import, but that doesn't help for new code. I'm willing to have the Github repository only be computer writable, and have the Fossil repository be the Single Source of Truth. People may contribute code through pull requests, but once vetted I'll commit it to the Fossil repository myself. Has someone built something already (presumably using fast-import and fast-export, since those seem to be the go-to tool for cross-scm compatibility) to keep a git repository synced with a fossil one? cheers lvh ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- Andreas Kupries Senior Tcl Developer Code to Cloud: Smarter, Safer, Faster™ P: 778.786.1122 F: 778.786.1133 andre...@activestate.com http://www.activestate.com Learn about Stackato for Private PaaS: http://www.activestate.com/stackato Tcl'2013, Sep 23-27, New Orleans, LA, USA. ___ 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] Editing the header text from the command line
not sure about command line for that, but could you use an in-browser html editor to manually change which url the form points to? That might be a hacky way of getting around it... I know I've done things like that for changing javascript, I'm just not sure about the form url. Date: Thu, 29 Nov 2012 13:02:45 + From: d...@cowlark.com To: fossil-users@lists.fossil-scm.org Subject: [fossil-users] Editing the header text from the command line I've managed to bugger up the base URL in one of my fossil repos. Unfortunately I now can't fix this because the 'update' button on the web page is pointing at the wrong URL... Is there a way I check out / check in the header text from the command line so that I can fix this without using the web UI? -- ┌─── dg@cowlark.com ─ http://www.cowlark.com ─ │ There is nothing in the world so dangerous --- and I mean *nothing* │ --- as a children's story that happens to be true. --- Master Li Kao, │ _The Bridge of Birds_ ___ 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] Fossil as DLL?
Gilles, You might want to take a look at the work done for SharpFossil: http://repository.mobile-developers.de/cgi-bin/ikoch/sharpfossil/index. Although it hasn't been worked on in a while, I think some of the commands you are looking for have been implemented as a wrapper useable by C# programs. Tomek To: fossil-users@lists.fossil-scm.org From: gilles.gana...@free.fr Date: Sat, 24 Nov 2012 22:40:11 +0100 Subject: Re: [fossil-users] Fossil as DLL? On Sat, 24 Nov 2012 15:31:41 -0500, Richard Hipp d...@sqlite.org wrote: The current Fossil implementation is not appropriate for converting into a library due to its extensive using of global variables and due to a cavalier attitude toward freeing allocated memory. Fossil is designed to run a single operation quickly, then quit and let the operating system clean up the mess. Even commands like fossil ui operate by having the parent process start up a new short-lived child process to process every HTTP request. Thanks for the info. I'll just read the output of commands searching for the case insensitive y/n, and if found, let the user rewrite the command in case it's incomplete ((eg. commit missing a comment through the -m switch). This question needs to be a FAQ I logged on as anonymous/dynamic-password-on-screen (Logged in as anonymous), but didn't see any Edit link anywhere in the FAQ page so I could add this question. www.fossil-scm.org/index.html/doc/trunk/www/faq.wiki Thank you. ___ 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] [gdiff] Recommanded GUI differ for Windows?
fwiw I've used kdiff3 (http://kdiff3.sourceforge.net/) on windows with good success. It can do merges as well though I've yet to actually use that functionality To: fossil-users@lists.fossil-scm.org From: gilles.gana...@free.fr Date: Thu, 22 Nov 2012 00:20:37 +0100 Subject: Re: [fossil-users] [gdiff] Recommanded GUI differ for Windows? On Wed, 21 Nov 2012 14:43:21 +0100, Gilles gilles.gana...@free.fr wrote: I prefer to use a GUI differ than the text-based solution. ... and it only occured to me that I misspelled recommended. Wrong language :-) ___ 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] (no subject)
So I don't quite remember what you've tried, and the summary below doesn't have the whole chain, so please forgive me if this has been covered or you are aware of the difference. You're using fossil update A not fossil checkout A between branches, right? If i remember, checkout (or co) traverses the entire tree, because it simply deletes what's in the current checkout and replaces it with a fresh version. update only deals with changes. Or some such difference. Again, sorry if I've misunderstood you! Tomek From: follow...@yahoo.com Date: Mon, 8 Oct 2012 20:20:15 +0800 To: davidr...@googlemail.com CC: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] (no subject) I have tried it.It still traverse every file, though they are the same in the two branches. On 2012-10-8, at 17:30, David Bariod davidr...@googlemail.com wrote: On Wed, Oct 3, 2012 at 2:02 PM, J Ronald follow...@yahoo.com wrote: For example, there is a checkin node A with a lot of source code files, then make a branch B from A with a little modification, also make a branch C from A with a little modification. The structure is like this: B C \ / A Then checkin every thing, it is very slow to switch between B C, it seems to check every file in A when switching. You may try to change the default settings for this repository. fossil settings repo-cksum off This should speed up your checkout operations. -- David Bariod ___ 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] [v123 - Windows] Timeline view does not respect CRLF's in commit comments?
I thought that the setting Themba recommended (admin timeline Allow block markup in timeline setting) allowed you to use the fossil markup language in your comments. Part of that means that single line breaks are ignored, while double linebreaks are interpreted as new paragraphs - http://www.fossil-scm.org/xfer/wiki_rules. I might be remembering that wrong As to when they are dropped, I don't know. The logic is probably somewhere here: http://www.fossil-scm.org/xfer/artifact/2f7437d0e0c8559f1ee648f4714e626b9910112a Tomek Date: Mon, 1 Oct 2012 21:09:17 -0400 From: sky5w...@gmail.com To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] [v123 - Windows] Timeline view does not respect CRLF's in commit comments? Thanks Themba, I will give that a try. Sorry to hear CRLF's are not preserved... :( Are they purposely deleted or ignored at comment loading or are they dropped by the html render? I paste multi-line text into the commit prompt and my DOS window retains the line breaks. I keep a History text document of revisions and notes for this purpose. At each commit, I paste in the latest comments intended for the next release. It would help the users read the Timeline easier if the LineBreaks didn't go away. Thanks for your help. On Sun, Sep 30, 2012 at 11:17 PM, Themba Fletcher themba.fletc...@gmail.com wrote: I've not seen or heard of a way to do what you asked for, and I went on a hunt for just that about a year ago. You can, if you wish, visit admin:timeline in the ui and check allow block markup ... This will let you use brs and such in your commit messages, but the raw HTML will still show up in the cli timeline. (This next bit is slightly preachy - my apologies in advance) I've found over time that this limitation has caused me to habitually use the -m flag with an inline commit message. This has limited my commits to only what I can describe in one line, and forced me into a workflow where I use small branches much more frequently, grouping small changes Into coherent sets. I can't say whether this limitation is by design or by happy accident -- but either way it has resulted in my using fossil in a more structured way, giving me a better and cleaner picture of my code over time. So a net win for me. Best regards, Themba On Sep 30, 2012, at 19:43, sky5w...@gmail.com sky5w...@gmail.com wrote: Hi, searched email history and couldn't find an answer... Admittedly, this is a nitpick but I really want my Timeline view to retain the comments I enter at commit time. Ex. # Since no default text editor is set using EDITOR or VISUAL # environment variables or the fossil set editor command, # and because no check-in comment was specified using the -m # or -M command-line options, you will need to enter the # check-in comment below. Type . on a line by itself when # you are done: 2012.09.30 1) Changed this... 2) Broke that... . New_Version: d742fd95965ddb1a4f2d6bba36247a9f01d22a86 fossil ui SHOWS THIS Timeline... 22:23 [d742fd9596] Leaf: 2012.09.30 1) Changed this... 2) Broke that... (user: sky5walk, tags: trunk) INSTEAD OF: 22:23 [d742fd9596] Leaf: 2012.09.30 1) Changed this... 2) Broke that... (user: sky5walk, tags: trunk) Thanks for Fossil! ___ 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 ___ 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] Please make shunning a first class feature.
On 30/08/2012, at 13:44, sky5w...@gmail.com sky5w...@gmail.com wrote: Hello, Sorry to say, I have come up against this same scenario. After shunning and rebuilding, my repo still contains some 180MB of mistaken files. :( They do not appear in the Timeline or Files listing, but the repo contains them nonetheless. What is the safest and most efficient way to return my repo to its earlier size without losing my History? When I go to the Shun Listing under the ui, I do see the 4 unique SHA1's I submitted. If I remember correctly, each sha1 is really an artifact. I believe each change to a file (or file) is saved as a separate artifact, so if you want to completely delete a file, you need to go through the history and grab each artifact for each version that it shows up in. Tomek ___ 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] Please make shunning a first class feature.
The offending files were added only in 4 sequential artifacts or commits. I shunned those 4 and performed a rebuild and the visible record is wiped, but the size is still wrong. Right. So on the first commit, you have a artifact for the commit, and an artifact for each file in that commit. Make sure you've shunned the right one, since shunning commit does not shun all of the files in that commit. Additionally, if on the second commit you added a file and modified the previous one, you would have to shun three artifacts for the files and two artifacts for the commits. Since you say the visible record, I imagine what you did was shun the commit artifacts, not the file artifacts. Tomek ___ 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] Please make shunning a first class feature.
*Thanks Baruch, I will try anything at this point. Yes, Tomek, what you imply makes sense, but how do I search for artifacts of individual files once shunned from the timeline and files? Erg, that I can't help with. It sounds like Baruch and I were saying the same thing. Baruch might have the right SQL for you... Sorry, Tomek ___ 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] Please make shunning a first class feature.
I think if you added a new file, it would get it's own artifact (and uuid), and know nothing of the prior history, so this wouldn't be a bug or flaw. Hence the whole mantra that each and every object has its own artifact. Remember, file != artifact. Tomek Date: Thu, 30 Aug 2012 15:38:42 -0400 From: sky5w...@gmail.com To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Please make shunning a first class feature. Ha, that is also a flaw or bug! Once a file is deleted should not mean I can never reconsider adding it in the future. On Thu, Aug 30, 2012 at 3:16 PM, Baruch Burstein bmburst...@gmail.com wrote: Just a note on whether this is a bug or not. I thought it was, but if files changed by a shuned check-in were also shuned, what would happen if you later added those files to another check-in (which is perfectly likely)? They would never get saved, since their uuid is in the shun list. ___ 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] Please make shunning a first class feature.
try fossil sql -R REPO then inside, select * from orphan. I don't have any in my table, but I haven't shunned anything either. That might get you going on the right track. I don't know what to look for past that. Tomek Date: Thu, 30 Aug 2012 15:53:43 -0400 From: sky5w...@gmail.com To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Please make shunning a first class feature. Well, I would love a sql that could return all orphaned files? Then I could remove them according to some id. On Thu, Aug 30, 2012 at 3:43 PM, Tomek Kott tkott.li...@outlook.com wrote: I think if you added a new file, it would get it's own artifact (and uuid), and know nothing of the prior history, so this wouldn't be a bug or flaw. Hence the whole mantra that each and every object has its own artifact. Remember, file != artifact. Tomek Date: Thu, 30 Aug 2012 15:38:42 -0400 From: sky5w...@gmail.com To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Please make shunning a first class feature. Ha, that is also a flaw or bug! Once a file is deleted should not mean I can never reconsider adding it in the future. On Thu, Aug 30, 2012 at 3:16 PM, Baruch Burstein bmburst...@gmail.com wrote: Just a note on whether this is a bug or not. I thought it was, but if files changed by a shuned check-in were also shuned, what would happen if you later added those files to another check-in (which is perfectly likely)? They would never get saved, since their uuid is in the shun list. ___ 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 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Corrupt cloning of private repo
Hi folks, It's been a while since I set up a private repo (see http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg05451.html) online, and needed to set a new one up from a fossil repo with four commits. I used fossil ui to set it up locally (removing all permissions except 's' for my own user) before moving it over to the server. I then clone the repo (using the user/pass combo with 's' permissions) on a (different) local machine, and it appears to have downloaded the entire repo correctly: the size of the repo is 12 MB or so in both cases. I check 'fossil time' on this repo, and only the initial commit comment is visible. Opening the repo results in absolutely no files. I am a bit confused how this is happening, since the repo itself since to be the full size (and not just an empty size). I also tried adding the clone permission ('g') to the online user, re-cloning, but still no help. Also tried a fossil rebuild on the repo, with no help. As I was writing, I realized I could do the following. I have both repos (now 'file copied' from server to local) sitting side by side. It appears that some of the blobs in the cloned repo have a 3rd column (size?) set to 0 or -1, of which there are none in the original repo. The SHA1 hashes line up, but there clearly is an error in the way things are being transfered over. The server is a commercial, hosted server running apparently 64bit linux, for which I (during testing) updated to a locally built copy and hence is running the tip: version 4e66a96. The local machine is a 64bit Windows 7 with version 1.23 (957b17). Are there any tests I can perform? I've tried recloning several times, and it appears that the same errors are coming out each time. Thanks, Tomek ___ 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] Corrupt cloning of private repo
Bill, Nothing is shown in the timeline besides the initial commit entry, and no files are shown in the browser. Manually going to artifact pages also results in nothing. I also want to clarify that I am in no way trying to rush this: I have access to (two) full repos. I just want to diagnose the cloning process / private repo process for future use. Thanks, Tomek Date: Thu, 23 Aug 2012 12:30:18 -0500 From: bill.burd...@gmail.com To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Corrupt cloning of private repo What happens with you open a UI on it? On Thu, Aug 23, 2012 at 12:28 PM, Tomek Kott tkott.li...@outlook.com wrote: Hi folks, It's been a while since I set up a private repo (see http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg05451.html) online, and needed to set a new one up from a fossil repo with four commits. I used fossil ui to set it up locally (removing all permissions except 's' for my own user) before moving it over to the server. I then clone the repo (using the user/pass combo with 's' permissions) on a (different) local machine, and it appears to have downloaded the entire repo correctly: the size of the repo is 12 MB or so in both cases. I check 'fossil time' on this repo, and only the initial commit comment is visible. Opening the repo results in absolutely no files. I am a bit confused how this is happening, since the repo itself since to be the full size (and not just an empty size). I also tried adding the clone permission ('g') to the online user, re-cloning, but still no help. Also tried a fossil rebuild on the repo, with no help. As I was writing, I realized I could do the following. I have both repos (now 'file copied' from server to local) sitting side by side. It appears that some of the blobs in the cloned repo have a 3rd column (size?) set to 0 or -1, of which there are none in the original repo. The SHA1 hashes line up, but there clearly is an error in the way things are being transfered over. The server is a commercial, hosted server running apparently 64bit linux, for which I (during testing) updated to a locally built copy and hence is running the tip: version 4e66a96. The local machine is a 64bit Windows 7 with version 1.23 (957b17). Are there any tests I can perform? I've tried recloning several times, and it appears that the same errors are coming out each time. Thanks, Tomek ___ 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 ___ 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] Corrupt cloning of private repo
James, Oops, sorry I wasn't too clear. The repo is private in the sense that only a single user has ANY permissions at all (i.e., nobody, anonymous, developer, reader have no permissions at all). There are no private branches, and everything is in trunk (for this repo). Bill, I tried naively adding '--verbose' to the options for clone, but fossil just complained about an unknown repository '--verbose'. Apparently not a correct option. I don't know fossil well enough for this either... :) Thanks, Tomek Date: Thu, 23 Aug 2012 13:42:16 -0400 From: ja...@calminferno.net To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Corrupt cloning of private repo On Thu, Aug 23, 2012 at 01:35:31PM -0400, Tomek Kott wrote: Bill, Nothing is shown in the timeline besides the initial commit entry, and no files are shown in the browser. Manually going to artifact pages also results in nothing. I also want to clarify that I am in no way trying to rush this: I have access to (two) full repos. I just want to diagnose the cloning process / private repo process for future use. Thanks, Tomek Is the branch private? Don't you need to pass --private while cloning? -- James Turner ja...@calminferno.net ___ 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] Corrupt cloning of private repo
Richard, fossil rebuild repo doesn't help. However, fossil test-integrity gives: checksum mismatch on artifact 20: wanted 54cfcee26873b585462c057e779eda2f4d1185c0 but got da39a3ee5e6b4b0d3255bfef956018 90afd80709 checksum mismatch on artifact 21: wanted 80fb936bd1afff7042cf83485e1710edaa2a03fc but got da39a3ee5e6b4b0d3255bfef956018 90afd80709 skip phantom 25 2fc9f661810373fe08bf2bbf31d942c4ac985fbc 31 non-phantom blobs (out of 32 total) checked: 2 errors For the cloned repo, while the original (file copied) repo gives 0 errors. Recloning surprising gives the exact same errors and checksums. Tomek From: d...@sqlite.org Date: Thu, 23 Aug 2012 13:58:41 -0400 To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Corrupt cloning of private repo On Thu, Aug 23, 2012 at 1:28 PM, Tomek Kott tkott.li...@outlook.com wrote: Are there any tests I can perform? fossil rebuild $REPO is a good test. Also fossil test-integrity $REPO. -- 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 ___ 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] Corrupt cloning of private repo
Have you shunned anything in this repo? Nope, this is almost as plain vanilla as can be. Four commits, about 20 files, and everything in the trunk. I'm using my own skin, but that shouldn't change things. Tomek From: d...@sqlite.org Date: Thu, 23 Aug 2012 14:30:19 -0400 To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Corrupt cloning of private repo On Thu, Aug 23, 2012 at 2:27 PM, Tomek Kott tkott.li...@outlook.com wrote: Richard, fossil rebuild repo doesn't help. However, fossil test-integrity gives: checksum mismatch on artifact 20: wanted 54cfcee26873b585462c057e779eda2f4d1185c0 but got da39a3ee5e6b4b0d3255bfef956018 90afd80709 checksum mismatch on artifact 21: wanted 80fb936bd1afff7042cf83485e1710edaa2a03fc but got da39a3ee5e6b4b0d3255bfef956018 90afd80709 da39a3ee5e6b4b0d3255bfef956018 is the SHA1 hash of an empty file. So for some reason or another, artifacts 20 and 21 are not getting transferred as part of the clone. Have you shunned anything in this repo? skip phantom 25 2fc9f661810373fe08bf2bbf31d942c4ac985fbc 31 non-phantom blobs (out of 32 total) checked: 2 errors For the cloned repo, while the original (file copied) repo gives 0 errors. Recloning surprising gives the exact same errors and checksums. Tomek From: d...@sqlite.org Date: Thu, 23 Aug 2012 13:58:41 -0400 To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Corrupt cloning of private repo On Thu, Aug 23, 2012 at 1:28 PM, Tomek Kott tkott.li...@outlook.com wrote: Are there any tests I can perform? fossil rebuild $REPO is a good test. Also fossil test-integrity $REPO. -- 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 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Single quotes in filenames
Hi folks, I have a file name with a single quote -- ' -- in the name. This is legal in windows, and file.c allows it (search for [] here: http://fossil-scm.org/index.html/artifact/836eeba3d22b48d156d349a9854522b572112226). However, trying to move or rename the file fails (even when enclosed within double quotes). fossil.exe: SQLITE_ERROR: near s: syntax error fossil.exe: near s: syntax error UPDATE vfile SET pathname=' ** @ T's.eps' WHERE pathname=' *** @ T's.eps' AND vid=347 Note: I cut out the path and long file name to point out where the error is. I don't want to start a illegal characters argument, and I don't care if the solution is don't allow single quotes in file names or properly escape single quotes in file names. I can't remember having any trouble when adding, but perhaps I did a dump add (i.e., * ). Anecdotaly, it appears that simply using two single-quotes (within double quotes) properly escapes the single quote within the name, allowing SQLite to process it. Tomek ___ 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] Status of GUI for Windows?
Thanks for the info. By linking to it, do you mean the directory where the _FOSSIL_ lives, if any? Yes, I apparently can't say things in an understandable manner, oops. :). Once you've selected the (already checked out) folder, it should show up in the recently opened menu item. Tomek ___ 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] Status of GUI for Windows?
On Fri, Apr 20, 2012 at 10:51 AM, Gilles gilles.gana...@free.fr wrote: On Fri, 20 Apr 2012 16:49:26 +0200, Gilles gilles.gana...@free.fr wrote: Thanks for the tip. I tried 0.4.6 and was wondering what the difference is in the Repositories menu between Select Checkout and Open? Also, when I use Repositories Open, it crashes: Unhandled exception has occured in your application. I'm not sure why it crashes for you... it works fine for me on Win 7 32/64. Perhaps a .NET issue. I think this was a bug that could never be reproduced on many different computers... The difference is that Select Checkout means you already have a Fossil repository opened somewhere, and just want to 'link' it (if that's the right term) to WinFossil. The Open option is the same as calling fossil open. Tomek ___ 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] Status of GUI for Windows?
On Thu, Apr 19, 2012 at 9:40 PM, Liu Chang toli...@gmail.com wrote: Do we have any plan to implement fossil GUI as TortoiseSVN style? The TortoiseCVS/SVN/Git are very impressive and many people really love it. The goal of the WinFossil front end was as a test area for the real product, which is SharpFossil ( http://repository.mobile-developers.de/cgi-bin/ikoch/sharpfossil/home), which aims to be a dll that allows fossil commands through C#. I think most of the basic functionality has been written, so devs could take that library and start coding a TortoiseFossil port. Tomek ___ 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] managing documentation in Fossil?
[Drifting (even further) off topic here...] On Fri, 20 Apr 2012 14:25:59 -0400 Miles Fidelman mfidel...@meetinghouse.net wrote: Mike Meyer wrote: On Fri, 20 Apr 2012 10:26:26 -0700 Andreas Kupriesandre...@activestate.com wrote: On 4/20/2012 7:34 AM, Mike Meyer wrote: ... Things like architectural diagrams wind up there, and ... I like to program my diagrams, instead of drawing them. Easier to change, and the code (aka text) is nicer to version than some binary blob. If I don't need to work on such collaboratively, I'll use graphviz for the same reasons. But google docs is easier to get other people to contribute to. Don't know about google docs - no real version control. Unusable for anything serious, like a multi-author paper or proposal. I always end up sharing Word Documents, with change tracking, via email. Gets ugly with more than a few people. I'm still exploring how google docs fits into a small team. So far, I've just used it for one-page diagrams, and it's worked well there. Word, on the other hand - never again. The differences between implementations - different programs, different versions of the same program, the same version on different platforms - is just to painful. In one case, I saw word documents that would cause some *machines* to crash when opened. Other machines (presumably using the same version of word) would open them just fine. Saving the doc unaltered on those machines created a doc that didn't cause other machines to crash. have you tried MSFT's answer to google docs (SkyDrive + Office Apps)? I've used it myself (I live in the win ecosystem) for on-the-go Word, PowerPoint, and OneNote editing and it works great as a replacement. Tomek ___ 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] Request feature : choose directory for the addremove command
You are opening the working directory in the directory from which you call the command (fossil open). Thus, you ARE opening the working directory into d:\projects. hence, fossil addremove adds everything in d:\projects and below. Hence the issues you are seeing. Tomek On Fri, Apr 13, 2012 at 12:18 PM, vince vinc...@neuf.fr wrote: it's not a link. I open it with the command : d:\projects fossil open d:\projects\myproject1\myproject1.fossil Le 13/04/2012 18:11, Stephan Beal a écrit : On Fri, Apr 13, 2012 at 5:37 PM, vince vinc...@neuf.fr wrote: I have a repo as follows: d:\projects\myproject1\myproject1.fossil When I open the repo, the file _FOSSIL_ is in d:\projects\ Then you're opening it from that directory. Or perhaps projects or myproject1 is a Windows LNK (we've had some weird problems with them in the past)? -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ fossil-users mailing listfossil-users@lists.fossil-scm.orghttp://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 ___ 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] copy configuration from repo to repo?
I've noticed that myself, so I never to 'fossil config export all'. I only export 'tickets' or 'skins' usually, so not a big deal. I avoid every pulling / pushing the users table. Tomek On Wed, Mar 21, 2012 at 7:20 AM, ST smn...@gmail.com wrote: On Tue, 2012-03-20 at 08:27 -0400, Richard Hipp wrote: On Tue, Mar 20, 2012 at 6:19 AM, ST smn...@gmail.com wrote: Hi, 1) I've just configured my first fossil repo and now would like to copy this configuration to other projects. Is it possible? Most problematic part is enabling assigned_to and opened_by in tickets as per this: http://fossil-scm.org/index.html/doc/trunk/www/custom_ticket.wiki . Why isn't it actually there out of the box? Or it is there and I just missed it? It is a bit painful to go through this process for all the project that I have... On the repo you've already set up: fossil configuration export all config.txt -R alreadysetup.fossil Then on your new repo: fossil configuration import config.txt -R newrepo.fossil All the configuration information is transferred through the filed config.txt in the example above. That file is pure SQL so it is ASCII text and readable. You can move the file across systems in between the two operations, if you need to. If you only want to transfer some subset of the configuration, you can replace all by email, project, shun, skin, ticket, or user. I tried that but after this I can no longer login neither with my password from alreadysetup.fossil nor with the default password generated by fossil which was created during repo initialization. Thank you, ST ___ 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] pushing/pulling the configuration of ticket pages
You probably want fossil config pull ticket. I believe those kinds of changes (i.e., not checkins, actual tickets, or wiki changes) are stored in config. Tomek 2012/3/6 Jacek Cała jacek.c...@gmail.com Hi All, I customized ticket pages 'New Ticket Page' and 'Edit Ticket Page' and wanted these changes to be distributed to other users. Unfortunately, doing 'fossil pull -R arepo.fossil' seems not to work. Is there any way to synchronize these and other report pages? Cheers, Jacek ___ 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] Extract part of a fossil repository / git filter-branch equiv?
Quite frankly, the simplest way is to probably to export a fossil repository to git, use the git function as known, and then reimport into a new fossil repository. I also think this was discussed a few months ago, but I can't seem to find the emails from that. Tomek On Tue, Mar 6, 2012 at 10:19 AM, Bill Burdick bill.burd...@gmail.comwrote: Sounds pretty useful. A start might be to write a script that uses fossil deconstruct and produces a new directory of artifacts by filtering each commit, calculating IDs for the new commits, and copying the referenced artifacts to the new directory, then uses fossil reconstruct to build the new repository. Sounds like a neat project, and pretty doable. Bill On Tue, Mar 6, 2012 at 4:05 AM, Gérald gspet...@gmail.com wrote: Hello, Assume my repository has the following structure: /Project /Project/SubProject-0 /Project/SubProject-1 /Project/SubProject-2 and the repository has quite some commits. Now one of the subprojects (SubProject-0) grows pretty big, and I want to take SubProject-0 out and set it up as a standalone project. Is it possible to extract all the commit history involving SubProject-0 from the parent fossil repository and move it to a new one? Thank you ___ 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 ___ 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] Behavior of rm, mv, and changes/extra
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. I'm not saying that it solves the 'single command' problem, but it sure beats launching the ui sometimes. Tomek On Wed, Feb 29, 2012 at 12:49 PM, Leo Razoumov slonik...@gmail.com wrote: 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 rm removes the files from the disk (2) fossil mv renames the files on disk (n+1) Ability to reference commit parents ala GIT: trunk^ is a main (non-merge) parent of the trunk; trunk^^ is parent-of-parent-of-trunk and so on. I am tired of cutting/pasting SHA1 hashes from web-gui to command-line and back. --Leo-- ___ 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] receommended value for crnl-glob setting
I try not to answer questions with other questions, but in this case: what editors are you using? A lot of recent programming editors will allow you to ignore crnl settings between Linux / Mac / Windows. So in that case, it becomes who created it first. Or, on the other hand, set everything to Linux, and then windows editors can simply honor that setting. Tomek On Sun, Feb 26, 2012 at 2:32 PM, Gour g...@atmarama.net wrote: Hello! What is the recommended value for crnl-glob setting in order to allow smooth interoperability with (possible) Windows/Mac contributors when we're using Linux OS natively? Sincerely, Gour -- One who restrains his senses, keeping them under full control, and fixes his consciousness upon Me, is known as a man of steady intelligence. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 ___ 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] Now with color: Retro side-by-side diffs
I'm happy with the changes, since it easily allows styling by the end user via the classes you provide! Tomek On Sun, Feb 5, 2012 at 6:36 AM, Richard Hipp d...@sqlite.org wrote: On Sat, Feb 4, 2012 at 10:55 PM, altufa...@mail.com wrote: +2 Liked both the diffs. Are colors configurable from skin? Your CSS elements are span.diffchng, span.diffrm, and span.diffadd. For line numbers, span.diffln. For the divider between change blocks, span.diffhr. I used following CSS for bsdiff (I find bluish color better than yellow for changed lines): table.sbsdiff tr td.added { background-color: rgb(220, 244, 220); } table.sbsdiff tr td.removed { background-color: rgb(244, 220, 220); } table.sbsdiff tr td.changed { background-color: rgb(220, 220, 244); } - Original Message - From: Richard Hipp Sent: 02/05/12 01:33 AM To: Fossil SCM user's discussion Subject: Re: [fossil-users] Now with color: Retro side-by-side diffs On Sat, Feb 4, 2012 at 2:26 PM, Martin Gagnon eme...@gmail.com wrote: Nice.. Same kind of coloring on unified diff would be nice too.. Implemented before you even asked. See, http://www.fossil-scm.org/fossil/ci/b57b035654?sbs=0 for example. Chrome users, the CSS has changed again so be sure to reload 6 or 7 times. -- Martin G. Le 2012-02-04 à 14:14, Richard Hipp d...@sqlite.org a écrit : A colorized version of the retro-sbsdiff branch is now on the main website. An example: http://www.sqlite.org/src/info/21695c3476 Suggestions for improvements to the CSS (colors and fonts) are welcomed. On Fri, Feb 3, 2012 at 10:25 AM, Richard Hipp d...@sqlite.org wrote: For some time now, the SQLite and Fossil websites have been running on the retro-sbsdiff branch of Fossil. The retro-sbsdiff branch uses a vastly simplified format for the side-by-side diffs that omits all of the colors and decoration and provides plain-text output - essentially the same output as you would get on the command-line using the -y flag. Example: http://www.sqlite.org/src/info/21695c3476 I find the retro side-by-side diff to be much more readable, which is why I am using it on the SQLite and Fossil websites, as well as on my desktop. And I've heard no complaints from users about the retro sbsdiffs on the website. But before I merge the retro-sbsdiff branch into trunk (and hence purge the existing colorful sbs diff from the trunk) I thought I would as for community feedback. Are there strong preferences one way or another? -- D. Richard Hipp d...@sqlite.org -- 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 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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 -- 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 ___ 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] Retro side-by-side diffs
My preference would be to keep the color SBS diffs, at least as a skin option or something, since I find it easier to notice changes and match them up. Maybe somewhere in the documentation on the header / skin, there could be css for a default coloring of the sbs diffs that one could copy into the header? Tomek On Fri, Feb 3, 2012 at 10:47 AM, Jan Danielsson jan.m.daniels...@gmail.comwrote: On 02/03/12 16:25, Richard Hipp wrote: [---] Are there strong preferences one way or another? There are two aspects I prefer with the original: - I think color coding makes it easier to get a quick overview of what's happened in a diff. (I see a lot of red is roughly optimizations, I see a lot of green is roughly New features). - I haven't looked at the code lately, but does the web sbsdiff support the width argument in some manner? For quite a few diffs I've been looking at lately, static 80 characters wide panes leaves a lot of empty wasted space, due to short lines. Those points aside, I strongly support the idea of unifying the two, so overall I'm for the retro sbsdiff. -- Kind regards, Jan Danielsson ___ 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] fossil rm followed by unix rm followed by update and files come back, is this desirable?
I think part of the original post was whether the documentation was correct. i.e., it says uncommitted changes are retained. I would argue that fossil rm is an uncommitted change, which should be retained. Either the documentation is wrong or there is a bug w.r.t. fossil rm. As a work around, you could try using '-n' to do a dry run, and see if there is actually anything to update. Tomek On Fri, Feb 3, 2012 at 12:06 PM, Mike Meyer m...@mired.org wrote: On Fri, Feb 3, 2012 at 10:57 AM, Matt Welland estifo...@gmail.com wrote: On Fri, Feb 3, 2012 at 9:46 AM, Dmitry Chestnykh dmi...@codingrobots.com wrote: On Fri, 3 Feb 2012 09:18:32 -0700 Matt Welland wrote: If I do: fossil rm some/file.txt rm some/file.txt fossil commit People often prefer to commit when their work has reached some level of completion or readiness and partially done commits can cause unnecessary breakage for other developers. At the same time staying up to date with incoming changes is often a requirement. Anything that takes so long you have to update between ready/completed states takes long enough you really ought not to be working without a net, uh, SCM. Either work on a branch and merge, or disable autosync, work locally and pull. Then merge back (or push) when it's ready and updated. mike ___ 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] Retro side-by-side diffs
I'd be happy with Stephan's suggestion, since it would satisfy both parties with a little work on the colorizing side. I think the only additional point is to have the div or whatever surrounds the code to have a good descriptive class we can latch on to with JS. Tomek On Fri, Feb 3, 2012 at 12:40 PM, Stephan Beal sgb...@googlemail.com wrote: On Fri, Feb 3, 2012 at 6:33 PM, Weber, Martin S martin.we...@nist.govwrote: On 2012-02-03 12:31 , Remigiusz Modrzejewski l...@maxnet.org.pl wrote: I'm for color-coded. All of the reasons have already been listed in the thread. Same here. If not color coded, perhaps adding add/change/remove markers to the _start_ of each line, since that would make JS-scripting the colorification relatively simple? (Loop over the lines, do a regex check on the start (change type + line number), and wrapping the affected line(s) in a styled span.) :-? -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ 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] skins not always showing properly
Quick check: did you make sure to do a hard refresh of the page in a browser to ensure that the CSS was reloaded properly? As for the ticket system, for several reasons anonymous users do not have the right to post tickets. So although you went to the right url, you don't actually have permissions to post a ticket. The workflow now is to email the list first, and then if the error can be reproduced, it will be filed by devs. Tomek On Mon, Jan 23, 2012 at 4:31 PM, Johan Samyn johan.sa...@gmail.com wrote: Hi, I downloaded the Windows binary fossil-w32-20111213135356.zip, and experienced a cosmetic issue with it. In the 2 repos I already had created with an earlier version, choosing either the Black White, Menu on left or the Gradient, Rounded Corners skin both times produced the Black White, Menu on left look. I then cloned the fossil repo itself, and there I saw that choosing either one of the two skins mentioned above now rendered as the Gradient, Rounded Corners both times. Bit strange, no ? Anybody any clue as to what is the cause - and even better, the solution - to this ? PS: I mention this via the mailing list because I was unable to register a new ticket, though I was logged in as anonymous, which should be able to do that if I'm right. The www.fossil-scm.org is the right url to do that, isn't it ? So this is rather two tickets in one email. -- Johan Samyn ___ Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away. - Antoine de Saint-Exupery ___ 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] PDF as embedded documentation
Hi Matt, Would you mind sharing that make file? I'm starting a project with Lyx myself, and that solution seems pretty great! I thought the embedded docs do preserve the fossil header (such as the landing page of fossil-scm.org, which is an 'embedded' doc, at least how I understood the term.) Are we thinking of different headers / embedded docs? Thanks, Tomek On Fri, Jan 20, 2012 at 7:28 PM, Matt Welland estifo...@gmail.com wrote: I have been doing exactly the same thing. A LaTeX (lyx) document plus a make file that writes out html and a pdf and it seems to work great. I suppose it may depend on just how much in the way of hard to compress pictures comprise your document. I do wish there was a way with the embedded documentation to preserve the fossil header and display the html but that is a very minor thing. On Fri, Jan 20, 2012 at 5:22 PM, Guilherme P. de Freitas guilhe...@gpfreitas.com wrote: ___ 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] PDF as embedded documentation
Sorry, I think the answer to that is it depends. For example do you care about having a small repository? Are you worried about corruption? For me, I wouldn't think twice about it. Even a thousand commits, each with their own pdf of even 1MB is still only 1GB. Unless these are big PDF's, I wouldn't worry about it too much. Then again, I have no direct experience in this regard. I've used fossil for LabView programming, the files for which are binary and I don't think very compressible. But even 866 files taking up 40 MB, with about 100 commits, some of which change a large minority of files, the fossil repo is still only 400 MB. I wouldn't call that bloated, but YMMV. Tomek On Fri, Jan 20, 2012 at 7:46 PM, Guilherme P. de Freitas guilhe...@gpfreitas.com wrote: Hi everyone, Thanks for your answers, but the question is: won't that bloat the repository too much? -- Guilherme P. de Freitas http://www.gpfreitas.com ___ 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] fossil for photos archive?
I think that there are two issues at play here, at least how I separate them personally: 1) Sharing photos with family / friends etc 2) Backing up / saving photos you've taken For #1, I just use a php-based gallery sharing software. I'm considering integrating it with facebook logins a filtering to the friends / family I want. That's a separate issue though :) For #2, I've found that for my windows / mac microcosm (no linux), MSFT's Live Sync works well and allows me to sync my 40 gb pictures folder across three machines easily once past the initial sync. For that i usually just use a laptop hdd converted into an external hdd through an enclosure and copy things manually. I think that for either of those use cases a version control system is overkill (i guess unless you're a pro). I would recommend finding one solution for backup / storage, and another for sharing (whether that is google / facebook / live / ubuntu one etc) My two cents :) Tomek On Wed, Jan 11, 2012 at 11:58 AM, c...@thomasstover.com wrote: On Wednesday, January 11, 2012 11:16am, Remigiusz Modrzejewski l...@maxnet.org.pl said: I'd say this is not a good idea. While it can work, what you usually want to do with a photo collection is far away from what you want to do with a bunch of source code files. There is little benefit of Fossil compared to any other synchronization tool (I'd go with rsync, most people like dropbox). On the negative, you'll end up with a huge repository file and no convenient way to delete photos. Kind regards, Remigiusz Modrzejewski Oh well. Just trying to find more ways to be lazy. rsync etc still don't give you a way to share the pictures on a website. ___ 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] Behavior of rm, mv, and changes/extra
Hijacking the summary votes: +1 modifying rm/mv to actually rm/mv files in file system *only with -f* -1 renaming rm to untrack or something similar that conveys correct message -- personally I think of fossil rm as acting on the repository. So I am, in fact, removing the file from the repository. Repository != file system to me. -1 settings option to ignore/include .dotfiles - supported in versionable settings --- this is already handled by the 'ignore-glob'. No need to have two settings that do the same thing. We can argue about whether or not the default setting for that should include */.* -1 status should also show files that might need to be added --- in my opinion you are asking the status of the repository. The repository reports changes / additions / deletions you've specified. Again, for me repository != filesystem. ___ 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] Different rendering of wiki
Or there are different settings on the two reposiotries (it can happen :)) such as how to interpret the wiki (using parsing or plain HTML), or the CSS is different due to the header. I would recommend checking all the settings on the two repos using the ui. Tomek On Thu, Dec 22, 2011 at 8:42 AM, BohwaZ boh...@bohwaz.net wrote: Le Thu, 22 Dec 2011 01:29:41 -0600, Taylor Everding dmttd...@gmail.com a écrit : The rendering of the exact same wiki (same artifact number) renders differently. As seen in the link above. The source can be seen below the screen in the inspector. (I could explicitly point out the differences, but I think you can see them.) Wiki Source: http://pastebin.com/XpuMdZT3 I am out of ideas for the cause of the different rendering. Can anyone help? You should provide HTML code generated on the two different pages so that we can see if there's something different there. Or maybe there is a difference in your CSS files? -- BohwaZ ___ 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] Fossil version 1.21
With the new TCL integration, does that mean that full TCL support is available through the server end as well? That is, currently we can use TH1 variables etc. when setting up the displays, tickets, etc. through the web interface. With TCL enabled, can we now replace the TH1 with TCL? Thanks, Tomek On Tue, Dec 13, 2011 at 9:41 AM, Dmitry Chestnykh dmi...@codingrobots.comwrote: On Tue, 13 Dec 2011 09:29:14 -0500 Richard Hipp wrote: Fossil version 1.21 has been packaged and put on the website for convenient download. See http://www.fossil-scm.org/download.html for details including a summary of changes since the previous release. On this page, the link See the Change Log for additional details leads to the previous version of changes.wiki. The correct one is: http://www.fossil-scm.org/fossil/doc/489c67ae46/www/changes.wiki -- Dmitry Chestnykh http://www.codingrobots.com ___ 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] limited ticketing
If we have granular permissions for tickets, then we should probably also have it for the wiki (view attachments, view history), we should also separate attach and delete for wiki and tickets, and maybe even throw in permissions related to the timeline and files (such as view newest view hitsory, view patch, view diff) and maybe even download zip instead of tar file. Don't forget about tags and even open and closed names. You could EVEN create permissions for each artifact! That would just be easier, because you wouldn't need to worry about the type. OR We could realize that to do this properly would require a good CMS, which fossil is not, and keep it simple. As you can imagine, my vote's for the latter. Tomek On Thu, Nov 17, 2011 at 8:17 PM, Ron Wilson ronw.m...@gmail.com wrote: On Thu, Nov 17, 2011 at 6:56 PM, Remigiusz Modrzejewski l...@maxnet.org.pl wrote: On Nov 17, 2011, at 6:28 PM, Stephan Beal wrote: Fossil doesn't offer that level of granularity. But it should have, as this seems to be a really reasonable (and perfectly doable) thing to have. Thus I open a ticket (sorry, not time to donate for it): https://fossil-scm.org/index.html/tktview/620506c3b211ff839d11230a6e2a31128de94bf4 As I posted earlier, this could be done in TH1. ___ 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] Web UI Refresh Issue
Hi Shaun, Sorry to hear that the style I put together didn't work for you. DId you copy and paste the code from the post, or did you download the attached config file and import that? Also, which version of fossil are you using? Truth be told, I've only ever used it in CGI mode or UI mode, so while I would expect everything to work in server mode, I never tested it. Tomek On Tue, Nov 8, 2011 at 1:15 PM, Shaun Mahood smah...@palsgeomatics.comwrote: Hi, not sure if this is the right place for this (please redirect me if not). I’ve noticed that the main web UI for Fossil does not seem to be loading consistently for me – it seems to pick 1 of 3 states. **- **Load everything **- **Load everything except the CSS styles **- **Load everything except the logo ** ** I am using a custom style found at http://kott.fm/tomek/2011/05/22/setting-fossil-up-with-style/ and using Firefox 7.0.1, running Windows XP and using the “fossil server” command.** ** ** ** I am also using my own logo which is 34 KB. Anyone else run into this, or is it based on my specific setup and customizations? ** ** Thanks, Shaun ___ 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] Web UI Refresh Issue
Well, it turns out that WordPress mangled my HTML, so I'm not surprised that you couldn't get the copy / paste to work. However, I'm not quite sure why you would be seeing three different outcomes. Just to double check -- you click on, say, timeline, and each time you do, you get one of the three situations you described? One other thought is the same on as the comment on the article - try searching for a string style.css?default in the header block, and get rid of ?default (so you're just left with style.css). Make sure to clear firefox's cache (by ctrl-shift-R) for the page in question. I guess that's the last possibility - do you have a proxy or anything else between you and the server? Tomek On Tue, Nov 8, 2011 at 4:07 PM, Shaun Mahood smah...@palsgeomatics.comwrote: Hi Tomek, ** ** For whatever reason (most likely my own mistakes) I couldn’t get it to work using copy and paste, ended up importing the config to my local version and then pushing it back to the server. I’m using the version 1.20 for Windows. ** ** ** ** *From:* fossil-users-boun...@lists.fossil-scm.org [mailto: fossil-users-boun...@lists.fossil-scm.org] *On Behalf Of *Tomek Kott *Sent:* Tuesday, November 08, 2011 12:21 PM *To:* Fossil SCM user's discussion *Subject:* Re: [fossil-users] Web UI Refresh Issue ** ** Hi Shaun, Sorry to hear that the style I put together didn't work for you. DId you copy and paste the code from the post, or did you download the attached config file and import that? Also, which version of fossil are you using? Truth be told, I've only ever used it in CGI mode or UI mode, so while I would expect everything to work in server mode, I never tested it. Tomek On Tue, Nov 8, 2011 at 1:15 PM, Shaun Mahood smah...@palsgeomatics.com wrote: Hi, not sure if this is the right place for this (please redirect me if not). I’ve noticed that the main web UI for Fossil does not seem to be loading consistently for me – it seems to pick 1 of 3 states. - Load everything - Load everything except the CSS styles - Load everything except the logo I am using a custom style found at http://kott.fm/tomek/2011/05/22/setting-fossil-up-with-style/ and using Firefox 7.0.1, running Windows XP and using the “fossil server” command.** ** I am also using my own logo which is 34 KB. Anyone else run into this, or is it based on my specific setup and customizations? Thanks, Shaun ___ 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 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Bug with timeline and
Hi folks, I just ran into the following problem. I have a wiki page that is titled DC Contact Sample. When I go through and browse from the home page, I get the link http://127.0.0.1:8080/wiki?name=DC+-+Contact+%26amp%3B+Sample; (i.e., I wrote [DC Contact Sample] in the wiki editor). However, on the timeline, the link is http://127.0.0.1:8080/wiki?name=DC+-+Contact+%26amp%3Bamp%3B+Sample;. If you notice, there is an extra ;amp that sneaks into the url. Additionally, the $title variable for displaying the wiki page also shows: DC - Contact amp; Sample(i.e., the HTML code is: h2DC - Contact amp;amp; Sample/h2) This is using fossil 1.20 (a75e2d2504). Thanks! Tomek ___ 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] Adding Fossil to Windows Explorer context menu?
For windows users, there is already an effort to get fossil extended to the explorer context menu. At the moment, the C# library for fossil commands is being written. See Ingo's SharpFossil library implementation for .NET purposes: http://repository.mobile-developers.de/cgi-bin/ikoch/sharpfossil/wiki?name=SharpFossil+Library . I think that the library currently has most of the commonly used functions written, so there might be an opportunity to start coding a explorer extension using that library. Just some cents... Tomek On Wed, Oct 19, 2011 at 8:59 AM, Gilles gilles.gana...@free.fr wrote: On Wed, 19 Oct 2011 09:33:15 +0200, Kohn Bernhard bernhard.k...@ait.ac.at wrote: thanks for sharing the idea using Fast Explorer. I find it very good! Actually, it's not that good because... - it requires installing Fast Explorer - it requires adding a fossil.bat just to call pause to keep the DOS box open after fossil.exe exits - fossil gdiff --from previous myfile.txt doesn't work because %1% returns the full path - the gdiff above is called for All Files, which means that this item is not displayed in the Fossil group like the other items I haven't found how to add a group + items in the context menu à la 7zip. It seems like we must write a COM DLL for this. For my personal use I have written a small .net program FossilCmd for opening a windows command console and sending fossil commands to it. Sound good. Could you upload it so we can check it out? Thank you. ___ 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] GUI client for Windows?
I tried WinFossil, but had issues with it. Understanding that WinFossil isn't a finished solution yet, what issues did you have with it? I've used it frequently for commit/update/diff/checkout/sync/create/ui and those functions have all worked. I think Ingo would love more feedback, and I he has been very responsive whenever I've filed ___ 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] GUI client for Windows?
Ooops, pressed send a little early. Meant to finish filed bug reports. On Thu, Oct 6, 2011 at 9:50 AM, Tomek Kott tkott.s...@gmail.com wrote: I tried WinFossil, but had issues with it. Understanding that WinFossil isn't a finished solution yet, what issues did you have with it? I've used it frequently for commit/update/diff/checkout/sync/create/ui and those functions have all worked. I think Ingo would love more feedback, and I he has been very responsive whenever I've filed ___ 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] GUI client for Windows?
So the checkout issue I'm not sure about, because that's how I started using winfossil as well. I have two thoughts. By default, WinFossil looks for '.fsl' type extensions. This might be somehow screwing things up because it can't match what it expects the fossil repo to be named vs. what it is named. You can change that in WinFossil settings. The other (super long shot) is that you've renamed _FOSSIL_ to something else (i think this is possible at compile time). As for the illegal characters, I guess I haven't ran across that one. You should probably submit a bug for that one with Ingo. Fossil itself allows that kind of name, right? Tomek On Thu, Oct 6, 2011 at 10:26 AM, Gilles gilles.gana...@free.fr wrote: On Thu, 06 Oct 2011 16:09:45 +0200, Gilles gilles.gana...@free.fr wrote: If I choose C:\ instead, it seems to scan the whole drive, which takes for ever and freezes the UI. Also, it chokes when using some non-standard characters: filename contains illegal characters: ... OS Cda [or] Mp3.ico ___ 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] GUI client for Windows?
On Thu, Oct 6, 2011 at 10:55 AM, Gilles gilles.gana...@free.fr wrote: On Thu, 6 Oct 2011 10:30:46 -0400, Tomek Kott tkott.s...@gmail.com wrote: So the checkout issue I'm not sure about, because that's how I started using winfossil as well. I have two thoughts. By default, WinFossil looks for '.fsl' type extensions. This might be somehow screwing things up because it can't match what it expects the fossil repo to be named vs. what it is named. You can change that in WinFossil settings. I did change the default extension from .fsl to .repo, but I was wondering how to use WinFossil on files that have been checked out by opening the repo using the CLI. I guess that's what Repo Select checkout does? Yep, it should. It's worked for me for all of the repo's I've tried. You could always try closing the checkout and opening it with WinFossil instead. Are you using a relatively up to date version of fossil? I think WinFossil needs at least 1.18 or some such... If you are still having trouble, I do think Ingo is responsive, so you could always submit it as a bug, and see what insight Ingo has. Tomek ___ 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] [vb.net] Which files/folders can be safely ignored?
for C++ projects based in VS2008/10, I have the following ignore glob, which seems to work pretty well: *.vcxproj.user,*Debug/*,*.suo Probably you can replace vcx with vb. Of course, YMMV. I ignore the debug folders since these are used when building, and I assume I can just build things again to get back the exe from the source. Hope that helps, Tomek On Mon, Oct 3, 2011 at 9:59 AM, Gilles gilles.gana...@free.fr wrote: Hello I'd like to start using Fossil to monitor Vb.Net (2008 Express) projects, and need to know which files/folders I can safely ignore when using the add command. FWIW, here's a one form + one module project: Directory of C:\Projects\MyApp\WindowsApplication1 03/10/2011 15:04 3.040 Form1.Designer.vb 03/10/2011 15:04 5.814 Form1.resx 03/10/2011 15:08 2.903 Form1.vb 03/10/2011 13:40 194 Module1.vb 03/10/2011 13:36DIR bin 03/10/2011 13:36DIR My Project 03/10/2011 13:36DIR obj 03/10/2011 13:36 934 WindowsApplication1.sln 03/10/2011 13:36 5.678 WindowsApplication1.vbproj 03/10/2011 13:3674 WindowsApplication1.vbproj.user Directory of C:\Projects\MyApp\WindowsApplication1\bin\Debug 03/10/2011 15:0827.648 WindowsApplication1.exe 03/10/2011 15:0858.880 WindowsApplication1.pdb 03/10/2011 15:0814.328 WindowsApplication1.vshost.exe 03/10/2011 15:08 127 WindowsApplication1.xml Directory of C:\Projects\MyApp\WindowsApplication1\bin\Release 0 File(s) 0 bytes Directory of C:\Projects\MyApp\WindowsApplication1\My Project 03/10/2011 02:51 1.522 Application.Designer.vb 03/10/2011 02:51 510 Application.myapp 03/10/2011 02:51 1.199 AssemblyInfo.vb 03/10/2011 02:51 2.807 Resources.Designer.vb 30/07/2008 06:54 5.612 Resources.resx 03/10/2011 02:51 3.058 Settings.Designer.vb 30/07/2008 06:54 279 Settings.settings 7 File(s) 14.987 bytes Directory of C:\Projects\MyApp\WindowsApplication1\obj\Debug 03/10/2011 10:56 6.069 ResolveAssemblyReference.cache 03/10/2011 13:36DIR TempPE 03/10/2011 15:0827.648 WindowsApplication1.exe 03/10/2011 15:04 180 WindowsApplication1.Form1.resources 03/10/2011 14:30 180 WindowsApplication1.Form2.resources 03/10/2011 15:0858.880 WindowsApplication1.pdb 03/10/2011 13:40 180 WindowsApplication1.Resources.resources 03/10/2011 15:08 2.764 WindowsApplication1.vbproj.FileListAbsolute.txt 03/10/2011 15:04 905 WindowsApplication1.vbproj.GenerateResource.Cache 03/10/2011 15:08 127 WindowsApplication1.xml 9 File(s) 96.933 bytes Directory of C:\Projects\MyApp\WindowsApplication1\obj\Debug\TempPE 03/10/2011 13:02 7.680 My Project.Resources.Designer.vb.dll 1 File(s) 7.680 bytes Directory of C:\Projects\MyApp\WindowsApplication1\obj\Release 0 File(s) 0 bytes Thank you. ___ 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] [vb.net] Which files/folders can be safely ignored?
The way I see it, you don't want the user options travelling between different users, since they're user options. I don't believe they set anything important for the solution itself. At least, that's how I understand it. Tomek On Mon, Oct 3, 2011 at 11:33 AM, tpero...@compumation.com tpero...@compumation.com wrote: I also ignore the obj folder. All those files get rebuilt anyway. You might want to keep the suo file: What is an suo file?http://www.eggheadcafe.com/sample-code/VisualStudio.NET/93b4e727-efe7-43dd-8aae-688a9e56ec4e/what-is-an-suo-file.aspx ** ** Tony Perovic Compumation, Inc. ** ** *From:* fossil-users-boun...@lists.fossil-scm.org [mailto: fossil-users-boun...@lists.fossil-scm.org] *On Behalf Of *Tomek Kott *Sent:* Monday, October 03, 2011 9:56 AM *To:* fossil-users@lists.fossil-scm.org *Subject:* Re: [fossil-users] [vb.net] Which files/folders can be safely ignored? ** ** for C++ projects based in VS2008/10, I have the following ignore glob, which seems to work pretty well: *.vcxproj.user,*Debug/*,*.suo Probably you can replace vcx with vb. Of course, YMMV. I ignore the debug folders since these are used when building, and I assume I can just build things again to get back the exe from the source. Hope that helps, Tomek On Mon, Oct 3, 2011 at 9:59 AM, Gilles gilles.gana...@free.fr wrote: Hello I'd like to start using Fossil to monitor Vb.Net (2008 Express) projects, and need to know which files/folders I can safely ignore when using the add command. FWIW, here's a one form + one module project: Directory of C:\Projects\MyApp\WindowsApplication1 03/10/2011 15:04 3.040 Form1.Designer.vb 03/10/2011 15:04 5.814 Form1.resx 03/10/2011 15:08 2.903 Form1.vb 03/10/2011 13:40 194 Module1.vb 03/10/2011 13:36DIR bin 03/10/2011 13:36DIR My Project 03/10/2011 13:36DIR obj 03/10/2011 13:36 934 WindowsApplication1.sln 03/10/2011 13:36 5.678 WindowsApplication1.vbproj 03/10/2011 13:3674 WindowsApplication1.vbproj.user Directory of C:\Projects\MyApp\WindowsApplication1\bin\Debug 03/10/2011 15:0827.648 WindowsApplication1.exe 03/10/2011 15:0858.880 WindowsApplication1.pdb 03/10/2011 15:0814.328 WindowsApplication1.vshost.exe 03/10/2011 15:08 127 WindowsApplication1.xml Directory of C:\Projects\MyApp\WindowsApplication1\bin\Release 0 File(s) 0 bytes Directory of C:\Projects\MyApp\WindowsApplication1\My Project 03/10/2011 02:51 1.522 Application.Designer.vb 03/10/2011 02:51 510 Application.myapp 03/10/2011 02:51 1.199 AssemblyInfo.vb 03/10/2011 02:51 2.807 Resources.Designer.vb 30/07/2008 06:54 5.612 Resources.resx 03/10/2011 02:51 3.058 Settings.Designer.vb 30/07/2008 06:54 279 Settings.settings 7 File(s) 14.987 bytes Directory of C:\Projects\MyApp\WindowsApplication1\obj\Debug 03/10/2011 10:56 6.069 ResolveAssemblyReference.cache 03/10/2011 13:36DIR TempPE 03/10/2011 15:0827.648 WindowsApplication1.exe 03/10/2011 15:04 180 WindowsApplication1.Form1.resources 03/10/2011 14:30 180 WindowsApplication1.Form2.resources 03/10/2011 15:0858.880 WindowsApplication1.pdb 03/10/2011 13:40 180 WindowsApplication1.Resources.resources 03/10/2011 15:08 2.764 WindowsApplication1.vbproj.FileListAbsolute.txt 03/10/2011 15:04 905 WindowsApplication1.vbproj.GenerateResource.Cache 03/10/2011 15:08 127 WindowsApplication1.xml 9 File(s) 96.933 bytes Directory of C:\Projects\MyApp\WindowsApplication1\obj\Debug\TempPE 03/10/2011 13:02 7.680 My Project.Resources.Designer.vb.dll 1 File(s) 7.680 bytes Directory of C:\Projects\MyApp\WindowsApplication1\obj\Release 0 File(s) 0 bytes Thank you. ___ 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 ___ 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] delete a branch
nope*. What many people do, including the SQLite Fossil repos, is simply rename the branch as mistake, close the leaf, update back to trunk, and start again. See, for example, http://www.sqlite.org/src/timeline?r=mistake Tomek * - I think it would be somehow possible to get the artifact # and shun it, so technically, it is possible. But there is no command for it. On Fri, Sep 30, 2011 at 4:01 PM, Erlis Vidal er...@erlisvidal.com wrote: I'm sorry for this so n00b question but I'm not able to find this anywhere. Is it possible to delete a branch? I've created a branch by mistake, in this case I don't want to merge the branch, I'm looking for the git equivalent -f (force delete) Thanks, Erlis ___ 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] ignoring files
ignore-glob definitely works on directories. Putting in something like Debug/* will ignore all files in the debug folder. If you want to use something like git has, you could probably use the versionable settings for that field, which allows a file with a line for each file / folder to ignore, much like .gitignore. I'm just not sure what the file/folder structure for the versionable settings is, not having used it myself. Tomek On Wed, Sep 28, 2011 at 1:19 PM, Stephan Beal sgb...@googlemail.com wrote: On Wed, Sep 28, 2011 at 7:09 PM, Erlis Vidal er...@erlisvidal.com wrote: Do fossil has a syntax to exclude all files in certain folder? Example: exclude all files in the folder bin/ This option has the scenario when I want any bin/ folder to be excluded, or a specific folder /dev/project/files-to-be-excluded-from-repo/ is there something for this? I'm pretty sure there is by my fossil-ignorance at this point prevent me to find the answer fossil help set reveals: ignore-glob The VALUE is a comma-separated list of GLOB patterns specifying files that the extra command will ignore. Example: *.o,*.obj,*.exe But from the wording it sounds like only the fossil extra command is affected. AFAIK fossil has no mechanism for ignoring (A) whole directories or (B) globs for add/commit purposes. i might be wrong, however (i've never needed an ignore, so i haven't ever tried this setting). You can try playing with ignore-glob - it might have other uses not mentioned in that help text. -- - stephan beal http://wanderinghorse.net/home/stephan/ ___ 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
[fossil-users] Binary file merge
Hi folks, I use fossil for some LabView development (among other dev work). For those not familiar with it, it's a graphical programming environment, and the files are binary. That in itself isn't a big deal. Especially because we're provided with a merge tool. I've tested out the merge command I pass I set up in fossil (for gmerge): lvmerge %baseline %original %merge %output However, when I go to merge two branches, fossil just says * Cannot merge binary file Measurements/Resistance/DC/Get Resistance.vi without launching the merge tool. I guess the question is, does fossil even attempt to launch the gmerge tool when merging binary files? Thanks, Tomek ___ 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] Binary file merge
Then can I put in a feature request for gmerge to support binary file merging? With the assumption that the user will (through a system dependent method, like a shell script) call the appropriate binary file merger for the binary file type passed in? That would make my (merging) life much easier. I think that's the way that the diff command works currently. Thanks, Tomek On Wed, Sep 21, 2011 at 2:35 PM, Stephan Beal sgb...@googlemail.com wrote: On Wed, Sep 21, 2011 at 8:16 PM, Tomek Kott tkott.s...@gmail.com wrote: I guess the question is, does fossil even attempt to launch the gmerge tool when merging binary files? The code says... The merge command ends up calling merge_3way(), which does: zGMerge = db_get(gmerge-command, 0); if( zGMerge zGMerge[0] ){ ... go run gmerge ... } The error string you report is not triggered until after merge_3way() returns, and only if merge_3way() returns 0. merge_3way() returns 0 if blob_merge() returns 0, so, which leads us to blob.c... blob_merge() says: ** The return is 0 upon complete success. If any input file is binary, ** -1 is returned and pOut is unmodified. If there are merge So it seems that binary merges are not supported at all (at least that's how i interpret it). -- - stephan beal http://wanderinghorse.net/home/stephan/ ___ 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] Binary file merge
To be clear, I'm not saying that fossil needs to handle the binary merge. That's why the external program is there. The user (who would generically know what kind of binary files are used in the repo) provides a shell script for the gmerge command. Fossil calls gmerge (if present) when there is a binary file (or a merge that goes haywire). The shell script goes through and decides the merge tool to use (for my case, lvmerge for the labview code) in the correct format (lvmerge %baseline %original %merge %output). In my case, this repository only handles these kinds of files, so instead of the shell script, I can call lvmerge directly. As I see it, fossil doesn't need to know what the binary file is...it just needs to call the external program. If the program can't handle it, then presumably it would return an error anyway, and hence the same error message would come out...Am I missing something? Maybe what I'm really asking for is for a fossil gmerge command that would work the same as the fossil gdiff command. CUrrently, fossil has no problem using gdiff on binary files. Tomek On Wed, Sep 21, 2011 at 2:46 PM, Stephan Beal sgb...@googlemail.com wrote: On Wed, Sep 21, 2011 at 8:42 PM, Tomek Kott tkott.s...@gmail.com wrote: Then can I put in a feature request for gmerge to support binary file merging? With the assumption that the user will (through a system dependent method, like a shell script) call the appropriate binary file merger for the binary file type passed in? That would make my (merging) life much easier. I think that's the way that the diff command works currently. IIRC (but i won't promise that i do!), this discussion came up a few years ago and the general opinion was (again, IIRC) that a binary merge is not generically possible. To merge contents of binary files the merging program has to understand their structure. e.g. i can't just (via a generic algo) replace 17 bytes of a ZIP file (binary file) with 21 (or 5 or N) bytes brought in by a merge because i'll corrupt it. The internal zip header's idea of that field is now wrong (or i might have overwritten part of that field via the merge). The same applies to any non-random binary data (but who's versioning random data?). -- - stephan beal http://wanderinghorse.net/home/stephan/ ___ 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] delete: Retrieve versions?
The online help says that this command does not remove the files from the disk but... does it remove it from the repo, or is it still possible to access all the versions up until the user ran delete? It only removes the file from the repo from the point of the delete command on. So, anything in the repository history will still be available. All prior versions are kept. Tomek ___ 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] delete: Retrieve versions?
Do you mean a list of all files that have ever been deleted throughout the repository? Or a list of the files deleted in the last commit? I don't think there's a way to get the first. For the second, I would issue first fossil timeline to get the id of the last commit ID, then issue fossil artifact ID to get an idea of what happened, however, that also gives you way more information than you need, I would imagine, since it also lists all the files in the current checkout. You might need to play with the manifest, which I think is a more condensed version of the commit information. Tomek On Fri, Aug 26, 2011 at 11:08 AM, Gilles gilles.gana...@free.fr wrote: On Fri, 26 Aug 2011 17:04:42 +0200, Gilles gilles.gana...@free.fr wrote: How do I get the list of files that have been deleted? It can be found through fossil ui Branches trunk, and clicking on the artifact where the file was deleted. Is there a CLI equivalent? ___ 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] delete: Retrieve versions?
I'm not very clear at what a manifest is: To be honest I'm not either -- I don't use them personally. I believe it is used for auditing puproses, since it contains checksums of the files, the user, and timestamp. www.sqlite.org/debug1/doc/trunk/www/fileformat.wiki It seems to be a list of artifacts (ie. changes?) for each file under source control. Is there a command to list all the artifacts for a given file that has been deleted? Not that I know of, but maybe some fossil guru's might know. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] HTML Styling in Wiki, Tickets, Events, and Comments - A solution
Hi folks, It seems like a WYSIWYG javascript based HTML editor is at the top of people's lists on things to improve Fossil with. Using the small js script TinyEditor and some base64 gymnastics, I've concocted a way to do so without cluttering up the repository with files. If you're interested, head on over to: http://kott.fm/tomek/2011/08/24/html-editing-in-fossil-tickets-wiki-comments-events/. Comments corrections are welcome either here or on the post. Thanks, Tomek ___ 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] Merge two repositories... not.
Maybe consider moving everything on repo B to a separate branch, so that A is on trunk, B is on a branch. Then you can issue a merge command on the home computer, I imagine this would be easier that doing push / merge at the same time. Just a thought, but I haven't actually merged two fossil repos myself. Tomek On Wed, Aug 24, 2011 at 4:55 PM, Martin S. Weber martin.we...@nist.govwrote: So, I'm aware of drh's message from 2010-03-06 [1]. Is merging repositories this way still supposed to work? If so, I'll open a ticket with the information below. -Martin [1] http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg01641.html # background: two teams working on some stuff, the fossil-using # team working on something that ended up being a subset of the # cvs-using team. Joerg's version of cvs2fossil made a fossil out # of the unitsdb team (see below). # The goal was to merge the resulting fossil with the subset that # the prefixes_derived team was working on, resulting in a single # fossil that contains both... $ mkdir merge $ cd merge fossil open ../unitsdb.fossil # ... snip, output deleted $ fossil info project-name: unnamed repository: /home/www/tmp/m/unitsdb.fossil local-root: /home/www/tmp/m/merge/ project-code: eeb7e06236b08dc4b57b6ab3b957fe5756c64f5b server-code: dc2df780602e6d8561d1a7280acbe4aabfe15ad3 checkout: df5c154920608f11c26a4a98f3d179b792b1ef94 2011-08-24 20:20:09 UTC parent: 443c51cf173da58579e5457c7a634e3e51d85773 2011-08-18 15:58:06 UTC tags: trunk comment: (Martin) Checkin before I munge everything.. (user: wwwpl) $ cd .. $ fossil sqlite3 -R prefixes_derived.fossil SQLite version 3.7.7 2011-06-24 11:29:51 Enter .help for instructions Enter SQL statements terminated with a ; sqlite update config set value='eeb7e06236b08dc4b57b6ab3b957fe5756c64f5b' where name='project-code'; sqlite .quit $ cd merge $ fossil ui -P 12345 $ cd .. $ mkdir pd $ cd pd $ fossil open ../prefixes_derived.fossil # snip and then project-name: Prefixed and Derived units repository: /home/www/tmp/m/prefixes_derived.fossil local-root: /home/www/tmp/m/pd/ project-code: eeb7e06236b08dc4b57b6ab3b957fe5756c64f5b server-code: 67266cf692b50dd078ffee601caf7f345fa3d243 checkout: cccd2619d9fb3724f96a806f55f443837dbc9bbe 2011-08-16 23:33:50 UTC parent: f3876370ba605de6706717018ee0f41dde9d4df0 2011-08-11 21:13:35 UTC child:53c88f11df96c0156e9cbf3e0ba28905da261500 2011-08-16 23:38:07 UTC tags: trunk # project codes agree$ pwd /home/www/tmp/m/pd $ fossil push http://localhost:12345 Bytes Cards Artifacts Deltas Sent:7858169 0 0 Received:7928169 0 0 Sent: 295775322 14 1 Received:7270155 0 0 Sent: 274809307 16 0 Received:6518139 0 0 Sent: 273684292 15 0 Received:5813124 0 0 Sent: 286499289 3 0 Received:5672121 0 0 Sent: 338281281 8 0 Received:5296113 0 0 Sent: 325753276 5 0 Received:5061108 0 0 Sent: 294428269 6 1 Received:4732101 0 0 Sent: 267993199 25 45 Received:7129152 0 0 Sent: 251184169 14137 waiting for server... Now. The server sits here eating 100% CPU and increasing its memory usage -- and not doing anything else. right now this is how it looks from top(1): (pid user RR NI VIRT RES SHR %CPU %MEM TIME) 12375 wwwpl 33 8 2567m 1.3g 972 R 99.8 34.2 7:00.64 fossil This is fossil version 1.18 [df9da91ba8] 2011-07-13 23:03:41 UTC ___ 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] unable to open database file when it runs behind apache on Windows
Richard, Am I right that the fossil temporary files (such as _FOSSIL-journal_ or whatever it is called) are at most twice the size of the check in (i.e., the size of the checkin for staging and roll back) plus a little overhead? If so, that means that on a pc with multiple GB of ram, that would be very little burden, correct? Thanks for the clarification! Tomek 2011/8/23 Richard Hipp d...@sqlite.org 2011/8/23 Liu Chang toli...@gmail.com Hi: when I run fossil with an Apache web server on Windows, it complains the following message when I click on Files The processes run by Apache appear to not be able to locate and/or open files in the c:\temp folder. One possible workaround - recompile Fossil using -DSQLITE_TEMP_STORE=3 which will cause Fossil to use RAM for all of its temporary files, rather than writing to disk. SQLITE_CANTOPEN: os_win.c:33680: (5) winOpen(C:\WINDOWS\etilqs_eNlkUH8yb3Zl1PU) - 拒绝访问。(access deny) SQLITE_CANTOPEN: os_win.c:33680: (2) winOpen(C:\WINDOWS\etilqs_Kt1JdjkQhGT5Grj) - 系统找不到指定的文件。 (can not find system file) SQLITE_CANTOPEN: cannot open file at line 33686 of [9b191bb4c7] SQLITE_CANTOPEN: statement aborts at 48: [CREATE TEMP TABLE localfiles(x UNIQUE NOT NULL, u);] unable to open database file Database Error unable to open database file CREATE TEMP TABLE localfiles(x UNIQUE NOT NULL, u); If you have recently updated your fossil executable, you might need to run fossil all rebuild to bring the repository schemas up to date. When I click on timeline, it complains: SQLITE_CANTOPEN: os_win.c:33680: (5) winOpen(C:\WINDOWS\etilqs_f946RSzNBHAyFya) - 拒绝访问。 SQLITE_CANTOPEN: os_win.c:33680: (2) winOpen(C:\WINDOWS\etilqs_OLEqQ6kjuA8QmSl) - 系统找不到指定的文件。 SQLITE_CANTOPEN: cannot open file at line 33686 of [9b191bb4c7] SQLITE_CANTOPEN: statement aborts at 37: [CREATE TEMP TABLE IF NOT EXISTS timeline( rid INTEGER PRIMARY KEY, uuid TEXT, timestamp TEXT, comment TEXT, user TEXT, isleaf BOOLEAN, bgcolor TEXT, etype TEXT, taglist TEXT, tagid INTEGER, short TEXT, sortby REAL ) ] unable to open database file Database Error unable to open database file CREATE TEMP TABLE IF NOT EXISTS timeline( rid INTEGER PRIMARY KEY, uuid TEXT, timestamp TEXT, comment TEXT, user TEXT, isleaf BOOLEAN, bgcolor TEXT, etype TEXT, taglist TEXT, tagid INTEGER, short TEXT, sortby REAL ) The Apache is running as a normal user instead of administrator (or system). When I run the apache as an administrator, the problem disappeared. So, the problem should be related to the access priviledge. However, when I run fossil server as the same normal user, it works on port 8080 very well. I hope it can be hosted on behind Apache to provide service on port 80, or 443. Thanks, Liu Chang ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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 ___ 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] Wiki formatting with empty lines
you could turn off the wiki behavior by going to the UI, going to Admin Configuration, and then selecting the checkbox that says Use HTML... that will turn off all the wiki formatting except url (i.e. []) syntax. Tomek On Thu, Aug 18, 2011 at 1:07 PM, Remigiusz Modrzejewski l...@maxnet.org.plwrote: On Aug 18, 2011, at 6:44 PM, Jos Groot Lipman wrote: Minor Wiki-problem: paragraphs are create automatically for empty lines. However with the following text it leads to unexpected termination of the first p marker and the last line of text is left-aligned. When you remove the empty line it works as expected. p align=right Next line is empty Previous line is empty /p It is not expected. Wiki help explicitly specifies that paragraphs are delimited using empty lines. Or is this a case of: 'it is a simple wike, play by its rules'? Well, it's a simple wiki... Kind regards, Remigiusz Modrzejewski ___ 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] Maybe a bug in sync
Was anybody able to reproduce the problematic situation? I'm not even able to run .bat files, as I don't have a Windows instance handy... I haven't run the batch files either -- I'm just typing things in by hand (the same commands as if it were batch files). I can't reproduce the error either, and fossil doesn't seem to be throwing a fit over anything, and the only thing about the httptrace output that confirms the error is that there is no file information sent. As to why that would happen I don't know. Tomek ___ 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] Maybe a bug in sync
Perhaps someone with better experience at reading the httptrace options could chime in, since I'm not sure where the error is. Are there other debugging parameters available, either for the server or the sync function? For comparison, here are my http traces for the first sync. Notice, that I have two lines called file along with the content of the file in http-request-1.txt -- http-request-1.txt POST /xfer/xfer HTTP/1.0 Host: 127.0.0.1:8080 User-Agent: Fossil/1.19-[fca3073621] Content-Type: application/x-fossil-debug Content-Length: 932 login tkott 864612d373ba3887eb283f20f8d27b0d2c89617f ccf80014951c466686a9270e86d8a3a25fcb1dec pull 104247dc269453d32809ca3d60a0912a7650238e 63233558037844f3e9f0bea0fe3a5dcceba7b620 push 104247dc269453d32809ca3d60a0912a7650238e 63233558037844f3e9f0bea0fe3a5dcceba7b620 file c26bfac4c8e9145f53df06992380c1e7bc688f9e 9 client file 506593acfd700309d9a82e66c65f32a7b838d8e9 268 C client.txt D 2011-08-16T13:29:28.902 F client.txt c26bfac4c8e9145f53df06992380c1e7bc688f9e F server.txt acc8828b67a8289bec332ae9216b040b47303acc P e203bc4bd922ecede12b7276efadfb2c049b R 2fa786c44d14db93202e5825f6e901f3 U tkott Z 35a636b61a863b6a0d89d5dc3ae94ad6 igot ec02251bbe84371c253db885bcc56ccbb3a92769 igot acc8828b67a8289bec332ae9216b040b47303acc igot e203bc4bd922ecede12b7276efadfb2c049b igot c26bfac4c8e9145f53df06992380c1e7bc688f9e igot 506593acfd700309d9a82e66c65f32a7b838d8e9 reqconfig /shun # E76D917F6FCB07DE46C9E5CECAA1B93481BA21F5 -- http-reply-1.txt HTTP/1.0 200 OK Date: Tue, 16 Aug 2011 13:29:54 GMT Connection: close X-Frame-Options: DENY Cache-control: no-cache, no-store Content-Type: application/x-fossil-debug; charset=utf-8 Content-Length: 262 igot ec02251bbe84371c253db885bcc56ccbb3a92769 igot acc8828b67a8289bec332ae9216b040b47303acc igot e203bc4bd922ecede12b7276efadfb2c049b igot c26bfac4c8e9145f53df06992380c1e7bc688f9e igot 506593acfd700309d9a82e66c65f32a7b838d8e9 # timestamp 2011-08-16T13:29:54 One D:\clientfossil close ops D:\clientcd \ D:\client\http-request-1.txt POST /xfer/xfer HTTP/1.0 Host: y00122496:8080 User-Agent: Fossil/1.19-[fca3073621] Content-Type: application/x-fossil-debug Content-Length: 545 login y00122496 cc65e78b0068b497efe2f38334d8e4b1c8b88afe b6e932c2df283bf2aae2538ac1ceea16cfa68696 pull 1b9fc5d540f690029289a6de049cc10ccf00e76f b47f5b8291724ebbe9ca27bdf555367d5a308f1d push 1b9fc5d540f690029289a6de049cc10ccf00e76f b47f5b8291724ebbe9ca27bdf555367d5a308f1d igot a8407eb60d9c72630b93224f31bfc36a0f9d70de igot acc8828b67a8289bec332ae9216b040b47303acc igot 19d53dd50593b47cf6502018ac4f57a8407ddeec igot e0ed8945f6d2b387342051f102bb945eb8548828 igot 2059fac527a7d0c8b959afeb29e78d47cf57412a # E29855B4B0BD6BA536CE40EEE801C8156D4BD2AD D:\client\http-reply-1.txt HTTP/1.0 200 OK Date: Tue, 16 Aug 2011 08:26:15 GMT Connection: close X-Frame-Options: DENY Cache-control: no-cache, no-store Content-Type: application/x-fossil-debug; charset=utf-8 Content-Length: 356 gimme e0ed8945f6d2b387342051f102bb945eb8548828 gimme 2059fac527a7d0c8b959afeb29e78d47cf57412a igot a8407eb60d9c72630b93224f31bfc36a0f9d70de igot acc8828b67a8289bec332ae9216b040b47303acc igot 19d53dd50593b47cf6502018ac4f57a8407ddeec igot ac1098901ce48c9b1f06dc10fb31509153c42b02 igot 11060e36f3c43939f1b1cfb673ea589b1b2d3ddb # timestamp 2011-08-16T08:26:15 D:\client\http-request-2.txt POST /xfer/xfer HTTP/1.0 Host: y00122496:8080 User-Agent: Fossil/1.19-[fca3073621] Content-Type: application/x-fossil-debug Content-Length: 731 login y00122496 0a537607fd0379d45187960a4c16fc7d46ac8377 71c95440c46896e0cd9abe44dbf9498eae06369c pull 1b9fc5d540f690029289a6de049cc10ccf00e76f b47f5b8291724ebbe9ca27bdf555367d5a308f1d push 1b9fc5d540f690029289a6de049cc10ccf00e76f b47f5b8291724ebbe9ca27bdf555367d5a308f1d igot e0ed8945f6d2b387342051f102bb945eb8548828 igot 2059fac527a7d0c8b959afeb29e78d47cf57412a gimme ac1098901ce48c9b1f06dc10fb31509153c42b02 gimme 11060e36f3c43939f1b1cfb673ea589b1b2d3ddb igot a8407eb60d9c72630b93224f31bfc36a0f9d70de igot acc8828b67a8289bec332ae9216b040b47303acc igot 19d53dd50593b47cf6502018ac4f57a8407ddeec igot e0ed8945f6d2b387342051f102bb945eb8548828 igot 2059fac527a7d0c8b959afeb29e78d47cf57412a # AA004CFD947F923B7D9CDA9915DD8EB8CA2D9BE6 D:\client\http-reply-2.txt
Re: [fossil-users] Maybe a bug in sync
Hi Justin, My English is not well. I don't know that you said everything worked means you get a different result of the last timeline command. My result is: Yes, I get a different result than you. What I find is for the server repository : === 2011-08-11 === 13:41:50 [925ffeb995] *CURRENT* client1 (user: tkott tags: trunk) 13:39:50 [0ba8f3b0aa] server0 (user: tkott tags: trunk) 13:39:24 [1b99421da6] initial empty check-in (user: tkott tags: trunk) I.e., fossil syncs, pushes, and pulls correctly. One thought just came to mind, you can add the option --httptrace to the fossil sync command. I don't actually know what it does, but it has been suggested before in other situations where something bout the sync isn't working. I believe it will create a couple of files in your repo folder that have a copy of the HTTP commands sent back and forth as described here: http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg04867.html. Give that a shot and let us know what happens. Tomek ___ 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] self-register
Under the web ui, you can find it under Admin Access, a couple options down. I haven't used it myself, but that's where the option is! Tomek On Sat, Aug 13, 2011 at 5:07 PM, Taylor Everding dmttd...@gmail.com wrote: I found reference to a 'self-register' setting at http://www.sqlite.org/debug1/help/setting, however after downloading the latest version from http://www.fossil-scm.org/download.html, and `fossil help setting` I could not find it. Is this a new feature, a different branch, or something else. Thanks! -- What Can't be explained with Logic is Magic If it is not logic, it’s magic. If it is not magic, it is female logic. Lo que peude ser un hombre otro hombre tambien lo puede ser ___ 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] SunOS 5.1 build?
@Alexander, On Fri, Aug 12, 2011 at 5:16 AM, Alexander Vladimirov id...@idkfa.org.ruwrote: You mean SunOS 5.1? which is Solaris 2.1? I honestly don't know if that is Solaris 2.1. I do know it is SunOS 5.1 running on a sparc cpu. It's not my server, and all I know is from a ColdFusion server variable. I tried a linux build of x86, but that's throwing an error, so I think it's because of the sparc architecture. @Lluis, For cygwin: unpack the source tarball. chdir into the directory, and run make. You will need installed in cygwin, I think: gnu make, gcc, openssl-dev. Sorry, I wasn't clear. I have cygwin, make gcc, etc. installed, but I don't know how to *cross*-compile from my x64 / x86 machines for a sparc / sunOS architecture. I'm afraid tar -xzf ***, cd ***, configure, make is about all I know of compiling from source. If I understood a previous discussion surrounding a new 'autoconf / automake / auto-something' then I should be able to do it, I just don't know how. Thanks, Tomek ___ 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] Maybe a bug in sync
Justin, Sorry, I completely forgot that I'm actually using the fossil version included from the SharpFossil project. You can download the version I'm using here: http://repository.mobile-developers.de/cgi-bin/ikoch/sharpfossil/wiki?name=Downloads. However, I went and downloaded the version you are using, and tried the same commands, including using %COMPUTERNAME% and %USERNAME% as the parameters. Everything works for me as would be expected. Really the point at which it is failing seems to be the autosync portion, since it is not pushing and artifacts over, which indicates that the client1.txt is not being sent over. I tried this on a computer at work that has XP Pro SP3 installed, and everything worked. So, I would still recommend running all the same commands by hand with the version you can run. That way we can remove the batch file itself as the culprit. I would imagine that this is a firewall issue of some sort with XP. I don't know what might be the problem, but it doesn't seem to be a problem with fossil as far as I can tell. It works fine on my Win 7 and XP machines as expected. Tomek 2011/8/11 Yujianbin yujian...@huawei.com Indeed, I use my Windows PC as server and client. My %COMPUTERNAME% is Y00122496. My %USERNAME% is y00122496. Y00122496 haven't been defined as 127.0.0.1 in hosts. Y00122496 is the localhost and needn't to be defined. The server repo is in D:\server. The client repo is in D:\client. I guess they can run independently. And I use CMD.exe as my shell to run the scripts, not BY HAND. http://www.fossil-scm.org/download.html hasn't offer fossil V1.19. The foot of page http://www.fossil-scm.org/schimpf-book/index shows: Fossil version 1.19 [abe7b8335f] 2011-08-02 18:42:14 So I download the Zip archive from http://www.fossil-scm.org/index.html/info/abe7b8335f But I encounter fail on build it via VC++ 6.0: I'm in doubt whether the version of VC++ is correct. I can't find this info in http://fossil-scm.org/index.html/doc/trunk/www/build.wiki: I encounter fail on build it via VC++ 6.0: There is a trivial defect: two c:\msc\extra\include of '-I' cl -c -nologo -MT -O2 -I. -I..\src -I..\win\include -Ic:\msc\extra\include -Ic:\msc\extra\ include /Fo.\blob.obj -c blob_.c blob_.cblob_.c(22) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. Follow the instruction on http://www.sqlite.org/debug1/wiki?name=compillingOnWindows I should download some software packages. I need more time to do it. Best regards. Justin Yu Re: [fossil-users] Maybe a bug in sync Tomek Kott [tkott.s...@gmail.com] 2011-08-10 (星期三) 22:42 Without using the batch files, I've done everything you have by hand using fossil 1.19 2011 07 22. When I go back to the server, and write fossil open ops, I correctly get the client1.txt file on the server side. Therefore, it is either a windows XP vs. 7 issue, or a fossil vs. 1.18 vs 1.19 issue. Please update to 1.19 and try the same script. One other possibility is that there is something related to the shell you are using. Are you running this on powershell or the cmd.exe? Two other confusing pieces to note: D:\clientfossil commit --comment client1 You can see: The first ‘Autosync’ will poll repo from server. Autosync: http://y00122496@y00122496:8080 Bytes Cards Artifacts Deltas Sent: 130 1 0 0 Received: 170 4 0 0 Total network traffic: 321 bytes sent, 345 bytes received New_Version: 11de786c5c9d689c798399f2c37d98f5b5602c89 You can see: The second ‘Autosync’ will push repo to server. Autosync: http://y00122496@y00122496:8080 Bytes Cards Artifacts Deltas Sent: 539 9 0 0 Received: 264 6 0 0 Total network traffic: 459 bytes sent, 397 bytes received First, you can notice that on the push, no artifacts are sent. On my tests, there are two artifacts sent (I imagine it is the manifest and the file). Therefore, it is not surprising that the server never shows the client file. Second, I assume that you have y00122496 defined as 127.0.0.1 in your hosts file somewhere, since you can successfully clone from it. Same question as last time though: have you tried these same commands BY HAND to ensure that the batch file itself isn't the problem? Tomek
[fossil-users] Setting up a private repo online
Hi fossil experts: If I get rid of all permissions from nobody and all the other default users, am I safe putting up a repository online that I would like to keep private? Assuming, of course, that I put the fossil repos in a folder that is not accessible publicly, but accessible to the cgi-bin process? I am testing this out at the moment through a new repo, and *I* can't find a way in, but that doesn't mean it's not possible :) Thanks, Tomek ___ 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] Setting up a private repo online
That's what I figured. Thanks Richard! On Thu, Aug 11, 2011 at 9:31 PM, Richard Hipp d...@sqlite.org wrote: On Thu, Aug 11, 2011 at 9:15 PM, Tomek Kott tkott.s...@gmail.com wrote: Hi fossil experts: If I get rid of all permissions from nobody and all the other default users, am I safe putting up a repository online that I would like to keep private? Assuming, of course, that I put the fossil repos in a folder that is not accessible publicly, but accessible to the cgi-bin process? I am testing this out at the moment through a new repo, and *I* can't find a way in, but that doesn't mean it's not possible :) It is *intended* to be secure. I sure hope it is, since I have a lot of private repos out there. You need to disable all capabilities for both nobody and anonymous in order to lock it down. I normally set up appropriate capabilities for reader and developer and then when simply make authorized users either a reader or a developer. Thanks, Tomek ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] SunOS 5.1 build?
Hi folks, A request for those who are configure / make wizards: could someone provide me with a build of fossil from SunOS / sparcv9? Specifically 5.1. I don't have ssh access to the server, so I can't compile it myself. At least, I don't know enough about compiling to do so myself on my cygwin install. Does someone have a fairly recent build handy that they could send my way? Thanks, Tomek ___ 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] Maybe a bug in sync
Without using the batch files, I've done everything you have by hand using fossil 1.19 2011 07 22. When I go back to the server, and write fossil open ops, I correctly get the client1.txt file on the server side. Therefore, it is either a windows XP vs. 7 issue, or a fossil vs. 1.18 vs 1.19 issue. Please update to 1.19 and try the same script. One other possibility is that there is something related to the shell you are using. Are you running this on powershell or the cmd.exe? Two other confusing pieces to note: D:\clientfossil commit --comment client1 You can see: The first ‘Autosync’ will poll repo from server. Autosync: http://y00122496@y00122496:8080 Bytes Cards Artifacts Deltas Sent: 130 1 0 0 Received: 170 4 0 0 Total network traffic: 321 bytes sent, 345 bytes received New_Version: 11de786c5c9d689c798399f2c37d98f5b5602c89 You can see: The second ‘Autosync’ will push repo to server. Autosync: http://y00122496@y00122496:8080 Bytes Cards Artifacts Deltas Sent: 539 9 0 0 Received: 264 6 0 0 Total network traffic: 459 bytes sent, 397 bytes received First, you can notice that on the push, no artifacts are sent. On my tests, there are two artifacts sent (I imagine it is the manifest and the file). Therefore, it is not surprising that the server never shows the client file. Second, I assume that you have y00122496 defined as 127.0.0.1 in your hosts file somewhere, since you can successfully clone from it. Same question as last time though: have you tried these same commands BY HAND to ensure that the batch file itself isn't the problem? Tomek ___ 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] 答复: fossil-users Digest, Vol 43, Issue 3
There could be one bug, if what you're showing is the actual output of the terminal. The reason I say that is the following: D:\ofossil open ops D:\ofossil ls -l * In between those two lines, you should get fossil's output that says client.txt project-name: unnamed repository:... several more lines comment: Client1 (user: .,..)* So if you don't see the above, then something is wrong with fossil open for some reason (perhaps an errant _FOSSIL_ or something similar). Following your test generally by hand on my fossil (1.19: fca3073721 from 7/22) gives the expected response. However, there is one other error in what you are expecting to happen. When you issue D:\mfossil sync http://y00122496:3f57fe@y00122496:8080 you are *only* syncing the repository. You are not updating the current checkout to the newest commit. So you need to issue a fossil update command for the 'client' to see the servers changes. Note that this doesn't apply the other way, because when you issue 'fossil open' it checks out the newest commit. So, that part works perfectly fine. It seems that the fossil open is what is messing things up. If you don't see *any* output of that, that is probably where the error is. I would suggest issuing all the commands by hand an ensuring that the output is as expected. Tomek 2011/8/5 Yujianbin yujian...@huawei.com Hi, Ron: Thanks a lot! I think with or without open repository 'ops' in server, the server should act equally. This is the test: Content of tst_server.bat md D:\o cd /d D:\o if exist ops del /q ops if exist _FOSSIL_ del /q _FOSSIL_ fossil version @echo. @echo Please record the password and set it into tst_client.bat fossil new ops fossil server ops The result of run tst_server.bat is in tst_server.txt: D:\tst_server D:\md D:\o D:\cd /d D:\o D:\oif exist ops del /q ops D:\oif exist _FOSSIL_ del /q _FOSSIL_ D:\ofossil version This is fossil version 1.18 [df9da91ba8] 2011-07-13 23:03:41 UTC Please record the password and set it into tst_client.bat D:\ofossil new ops project-id: 23192a3021d29562f65a705ddc8dba8016070a32 server-id: ea446b3b950372ff8114dfb3e570cada9597beec admin-user: y00122496 (initial password is 3f57fe) D:\ofossil server ops Listening for HTTP requests on TCP port 8080 Type Ctrl-C to stop the HTTP server Then copy the password into tst_client.bat as follow: md D:\m cd /d D:\m if exist ops del /q ops if exist _FOSSIL_ del /q _FOSSIL_ fossil clone http://y00122496:3f57fe@y00122496:8080 ops fossil open ops dir client.txt fossil add client.txt fossil commit --comment Client1 fossil ls -l @echo. @echo Turn to server cd /d D:\o fossil open ops fossil ls -l @echo. @echo client.txt is NOT in the repository of server dir server.txt fossil add server.txt fossil commit --comment Server1 fossil ls -l @echo. @echo Turn to client cd /d D:\m fossil sync http://y00122496:3f57fe@y00122496:8080 fossil ls -l @echo. @echo server.txt is NOT in the repository of client The result of run tst_client.bat is in tst_client.txt: D:\q\fossil\tst_client D:\md D:\m D:\cd /d D:\m D:\mif exist ops del /q ops D:\mif exist _FOSSIL_ del /q _FOSSIL_ D:\mfossil clone http://y00122496:3f57fe@y00122496:8080 ops Bytes Cards Artifacts Deltas Sent: 53 1 0 0 Received: 344 5 1 0 Sent: 58 2 0 0 Received: 634 2 0 0 Total network traffic: 491 bytes sent, 1129 bytes received Rebuilding repository meta-data... 100.0% complete... project-id: 23192a3021d29562f65a705ddc8dba8016070a32 server-id: ff80810a3b3b768c1dec8873ba9c66e6d86ee342 admin-user: y00122496 (password is 3b68ee) D:\mfossil open ops D:\mdir 1client.txt D:\mfossil add client.txt ADDED client.txt D:\mfossil commit --comment Client1 Autosync: http://y00122496@y00122496:8080 Bytes Cards Artifacts Deltas Sent: 130 1 0 0 Received: 78 2 0 0 Total network traffic: 321 bytes sent, 289 bytes received New_Version: d2341c76226d722de9c43c1d05303fe5430a4407 Autosync: http://y00122496@y00122496:8080 Bytes Cards Artifacts Deltas
Re: [fossil-users] 答复: fossil-users Digest, Vol 43, Issue 3
One other thought occured to me, which is the possibility that your server is not actually running on :8080, because you have several fossil servers open. You might want to check this possibility as well. Tomek 2011/8/5 Tomek Kott tkott.s...@gmail.com There could be one bug, if what you're showing is the actual output of the terminal. The reason I say that is the following: D:\ofossil open ops D:\ofossil ls -l * In between those two lines, you should get fossil's output that says client.txt project-name: unnamed repository:... several more lines comment: Client1 (user: .,..)* So if you don't see the above, then something is wrong with fossil open for some reason (perhaps an errant _FOSSIL_ or something similar). Following your test generally by hand on my fossil (1.19: fca3073721 from 7/22) gives the expected response. However, there is one other error in what you are expecting to happen. When you issue D:\mfossil sync http://y00122496:3f57fe@y00122496:8080 you are *only* syncing the repository. You are not updating the current checkout to the newest commit. So you need to issue a fossil update command for the 'client' to see the servers changes. Note that this doesn't apply the other way, because when you issue 'fossil open' it checks out the newest commit. So, that part works perfectly fine. It seems that the fossil open is what is messing things up. If you don't see *any* output of that, that is probably where the error is. I would suggest issuing all the commands by hand an ensuring that the output is as expected. Tomek 2011/8/5 Yujianbin yujian...@huawei.com Hi, Ron: Thanks a lot! I think with or without open repository 'ops' in server, the server should act equally. This is the test: Content of tst_server.bat md D:\o cd /d D:\o if exist ops del /q ops if exist _FOSSIL_ del /q _FOSSIL_ fossil version @echo. @echo Please record the password and set it into tst_client.bat fossil new ops fossil server ops The result of run tst_server.bat is in tst_server.txt: D:\tst_server D:\md D:\o D:\cd /d D:\o D:\oif exist ops del /q ops D:\oif exist _FOSSIL_ del /q _FOSSIL_ D:\ofossil version This is fossil version 1.18 [df9da91ba8] 2011-07-13 23:03:41 UTC Please record the password and set it into tst_client.bat D:\ofossil new ops project-id: 23192a3021d29562f65a705ddc8dba8016070a32 server-id: ea446b3b950372ff8114dfb3e570cada9597beec admin-user: y00122496 (initial password is 3f57fe) D:\ofossil server ops Listening for HTTP requests on TCP port 8080 Type Ctrl-C to stop the HTTP server Then copy the password into tst_client.bat as follow: md D:\m cd /d D:\m if exist ops del /q ops if exist _FOSSIL_ del /q _FOSSIL_ fossil clone http://y00122496:3f57fe@y00122496:8080 ops fossil open ops dir client.txt fossil add client.txt fossil commit --comment Client1 fossil ls -l @echo. @echo Turn to server cd /d D:\o fossil open ops fossil ls -l @echo. @echo client.txt is NOT in the repository of server dir server.txt fossil add server.txt fossil commit --comment Server1 fossil ls -l @echo. @echo Turn to client cd /d D:\m fossil sync http://y00122496:3f57fe@y00122496:8080 fossil ls -l @echo. @echo server.txt is NOT in the repository of client The result of run tst_client.bat is in tst_client.txt: D:\q\fossil\tst_client D:\md D:\m D:\cd /d D:\m D:\mif exist ops del /q ops D:\mif exist _FOSSIL_ del /q _FOSSIL_ D:\mfossil clone http://y00122496:3f57fe@y00122496:8080 ops Bytes Cards Artifacts Deltas Sent: 53 1 0 0 Received: 344 5 1 0 Sent: 58 2 0 0 Received: 634 2 0 0 Total network traffic: 491 bytes sent, 1129 bytes received Rebuilding repository meta-data... 100.0% complete... project-id: 23192a3021d29562f65a705ddc8dba8016070a32 server-id: ff80810a3b3b768c1dec8873ba9c66e6d86ee342 admin-user: y00122496 (password is 3b68ee) D:\mfossil open ops D:\mdir 1client.txt D:\mfossil add client.txt ADDED client.txt D:\mfossil commit --comment Client1 Autosync: http://y00122496@y00122496:8080 Bytes Cards Artifacts Deltas Sent: 130 1 0
Re: [fossil-users] Anonymous no longer allowed to create new tickets
We have previously implemented a similar policy at SQLite and that seems to be working well. There really needs to be a filter on ticket creation to weed out the (considerable) noise. Perhaps we can figure out a design change in Fossil that makes tickets anonymously-created ephemeral until approved by a registered user I think this is already possible with some fancy Ticket form action and SQLite filtering. Couldn't you just use the default status drop down, and say there is a Submitted one that anonymous users submit to, and then a registered user can move it to Accepted , and the default report for tickets makes sure only those that are Accepted are the ones that the devs care about and try to fix. I actually thought that this was what the status dropdown was for when I first downloaded fossil. Since I just use it for my own projects, I deleted the other options. Tomek ___ 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] Fossil experience two console windows
in cygwin the same commands work Windows command line you can do start fossil ui, but this also creates a separate console window, which doesn't help you. It does appear differently in the taskbar however: a icon-less application, rather than a command line icon. I think others on this list have managed to setup fossil ui as a service one can start and stop on windows. I don't know the specifics, however. Tomek On Thu, Jul 14, 2011 at 11:59 AM, Richard Hipp d...@sqlite.org wrote: On Thu, Jul 14, 2011 at 11:52 AM, Trou Macacq mac...@gmail.com wrote: can we start fossil ui in background like 'net start fossil' and than 'net stop fossil'? So one terminal window will be used for controlling web-ui and working with repository. This will improve my fossil experience a lot. On linux and mac: To start:fossil ui To stop:killall fossil I have no idea how to do something like this on windows. -- 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 ___ 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] Fossil not removing files when switching branches
I think the issue is that fossil close doesn't clear out the directory, and fossil open I only overwrites files from the opened checkout, but does not delete any files. So if you were to issue fossil extras my guess is file2 would be in that list. Tomek On Wed, Jul 13, 2011 at 2:55 PM, Brian Cottingham spiffyt...@gmail.comwrote: When I switch between branches Fossil isn't removing files that belong to the previous branch but not the current branch. Am I doing something wrong? Example: === $ fossil new prj.fossil project-id: 7e92eb48abd299ca1340a7bc0c86dba38097ad3e server-id: 7efed910652f4fbceef4ec8cdcb152e7c944e7cc admin-user: spiffy (initial password is efa50e) $ fossil open prj.fossil $ touch new_file $ fossil add new_file ADDED new_file $ fossil commit -m added a file New_Version: 8d4d39876638575032bc831ac5f88974c83d3beb $ fossil branch new branch2 trunk gpg: no default secret key: secret key not available gpg: out-1D64657C0C0F0F82BE9E: clearsign failed: secret key not available unable to sign manifest. continue (y/N)? y New branch: 7c68434806ceddcb1d72949deb5b8caffe1fd58f $ fossil close $ fossil open prj.fossil branch2 project-name: unnamed repository: /tmp/tmp_project/prj.fossil local-root: /tmp/tmp_project/ project-code: 7e92eb48abd299ca1340a7bc0c86dba38097ad3e server-code: 7efed910652f4fbceef4ec8cdcb152e7c944e7cc checkout: 7c68434806ceddcb1d72949deb5b8caffe1fd58f 2011-07-13 18:43:55 UTC parent: 8d4d39876638575032bc831ac5f88974c83d3beb 2011-07-13 18:43:36 UTC tags: branch2 comment: Create new branch named branch2 (user: spiffy) $ ls _FOSSIL_ new_file prj.fossil $ touch file2 $ fossil add file2 ADDED file2 $ fossil commit -m Added another file New_Version: b8d0fde1bfc76e4d25a897fd0d2f6d346cb2577a $ fossil close $ fossil open prj.fossil project-name: unnamed repository: /tmp/tmp_project/prj.fossil local-root: /tmp/tmp_project/ project-code: 7e92eb48abd299ca1340a7bc0c86dba38097ad3e server-code: 7efed910652f4fbceef4ec8cdcb152e7c944e7cc checkout: 8d4d39876638575032bc831ac5f88974c83d3beb 2011-07-13 18:43:36 UTC parent: 259984cdf37539a77ab9fb7e5da3255df7dd7729 2011-07-13 18:42:54 UTC child:7c68434806ceddcb1d72949deb5b8caffe1fd58f 2011-07-13 18:43:55 UTC tags: trunk comment: added a fdle (user: spiffy) $ ls file2 _FOSSIL_ new_file prj.fossil === file2 should not appear when I am viewing the trunk branch because it doesn't exist there- it only exists in the branch2 branch. ___ 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] Fossil not removing files when switching branches
I believe it is deliberate with how fossil handles opening a repository full of potentially un-versioned files. Imagine giving a fossil open of a fresh repository in a folder with thousands of files, and finding that after the command, all those files are gone. Tomek On Wed, Jul 13, 2011 at 3:33 PM, Brian Cottingham spiffyt...@gmail.comwrote: Yep, that does the trick. I'd seen the update command but didn't realise this was its purpose. Should fossil close/open behave differently from fossil update? Is this a bug in Fossil, or is it deliberate? On Wed, Jul 13, 2011 at 3:20 PM, Andreas Kupries andre...@activestate.com wrote: On 7/13/2011 12:14 PM, Tomek Kott wrote: I think the issue is that fossil close doesn't clear out the directory, and fossil open I only overwrites files from the opened checkout, but does not delete any files. So if you were to issue fossil extras my guess is file2 would be in that list. To change branches it is not necessary to 'close' the workspace. Just do fossil update branchname That will properly remove/add/update the files in the workspace. Tomek On Wed, Jul 13, 2011 at 2:55 PM, Brian Cottingham spiffyt...@gmail.com mailto:spiffyt...@gmail.com wrote: When I switch between branches Fossil isn't removing files that belong to the previous branch but not the current branch. Am I doing something wrong? Example: === $ fossil new prj.fossil project-id: 7e92eb48abd299ca1340a7bc0c86dba38097ad3e server-id: 7efed910652f4fbceef4ec8cdcb152e7c944e7cc admin-user: spiffy (initial password is efa50e) $ fossil open prj.fossil $ touch new_file $ fossil add new_file ADDED new_file $ fossil commit -m added a file New_Version: 8d4d39876638575032bc831ac5f88974c83d3beb $ fossil branch new branch2 trunk gpg: no default secret key: secret key not available gpg: out-1D64657C0C0F0F82BE9E: clearsign failed: secret key not available unable to sign manifest. continue (y/N)? y New branch: 7c68434806ceddcb1d72949deb5b8caffe1fd58f $ fossil close $ fossil open prj.fossil branch2 project-name: unnamed repository: /tmp/tmp_project/prj.fossil local-root: /tmp/tmp_project/ project-code: 7e92eb48abd299ca1340a7bc0c86dba38097ad3e server-code: 7efed910652f4fbceef4ec8cdcb152e7c944e7cc checkout: 7c68434806ceddcb1d72949deb5b8caffe1fd58f 2011-07-13 18:43:55 UTC parent: 8d4d39876638575032bc831ac5f88974c83d3beb 2011-07-13 18:43:36 UTC tags: branch2 comment: Create new branch named branch2 (user: spiffy) $ ls _FOSSIL_ new_file prj.fossil $ touch file2 $ fossil add file2 ADDED file2 $ fossil commit -m Added another file New_Version: b8d0fde1bfc76e4d25a897fd0d2f6d346cb2577a $ fossil close $ fossil open prj.fossil project-name: unnamed repository: /tmp/tmp_project/prj.fossil local-root: /tmp/tmp_project/ project-code: 7e92eb48abd299ca1340a7bc0c86dba38097ad3e server-code: 7efed910652f4fbceef4ec8cdcb152e7c944e7cc checkout: 8d4d39876638575032bc831ac5f88974c83d3beb 2011-07-13 18:43:36 UTC parent: 259984cdf37539a77ab9fb7e5da3255df7dd7729 2011-07-13 18:42:54 UTC child:7c68434806ceddcb1d72949deb5b8caffe1fd58f 2011-07-13 18:43:55 UTC tags: trunk comment: added a fdle (user: spiffy) $ ls file2 _FOSSIL_ new_file prj.fossil === file2 should not appear when I am viewing the trunk branch because it doesn't exist there- it only exists in the branch2 branch. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org mailto: 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 -- Andreas Kupries Senior Tcl Developer ActiveState, The Dynamic Language Experts P: 778.786.1122 F: 778.786.1133 andre...@activestate.com http://www.activestate.com Get insights on Open Source and Dynamic Languages at www.activestate.com/blog ___ 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 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman
Re: [fossil-users] Commit: Unable To Create Directory
That's what stood out to me as well. Are you using cygwin by any chance? Or just pure windows command line? (and associated fossil: cygwin vs. win?) Tomek On Wed, Jul 6, 2011 at 4:59 PM, Stephan Beal sgb...@googlemail.com wrote: On Wed, Jul 6, 2011 at 10:50 PM, Douglas Fitzmaurice dig...@gmail.comwrote: repository: C:/Users/Doug/Documents/Uni/Y4/Dissertation/VocalDetection.fossil local-root: C:/Users/Doug/My Documents/Uni/Y4/Dissertation/ From the first post: fossil.exe: unable to create directory C:/Users/Doug/My Documents/Uni i have absolutely no idea. We'll have to wait on one of the Windows users to pipe in, i think. Is My Documents perhaps a shortcut back to Documents (or the other way around)? (Just grasping at straws here, i know... i've been away from Windows a looong time.) -- - stephan beal http://wanderinghorse.net/home/stephan/ ___ 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] Commit: Unable To Create Directory
Yeah, Windows 7 switched to C:/Users/username/Documents, but allows C:/Users/username/My Documents as a valid path as well. It's a great feature, at times, and a really annoying one. Another annoying aspect of this is that in explorer, it still shows up as My Documents... *grumble grumble grumble*. /rant Tomek On Wed, Jul 6, 2011 at 5:11 PM, Stephan Beal sgb...@googlemail.com wrote: On Wed, Jul 6, 2011 at 11:08 PM, Douglas Fitzmaurice dig...@gmail.comwrote: I'm using the standard windows cmd.exe, and going via Documents fixed the issue, so the commit worked! Thanks guys! It is a sad time indeed when the hard-core Unixites are providing Windows support ;). Glad to hear that it helped. :) -- - stephan beal http://wanderinghorse.net/home/stephan/ ___ 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