[fossil-users] Git issues

2011-03-07 Thread Joerg Sonnenberger
Hi all, can someone try to reproduce the following issue? mkdir test fossil export > fossil.txt git init git fast-import --export-marks=marks.txt < fossil.txt while read num hash; do [ $((${num#:} % 2)) -eq 0 ] && echo $hash >> commits.txt; done < marks.txt sort -u commits.txt > commits.txt.s g

Re: [fossil-users] Fossil on IIS

2011-03-07 Thread Tony Perovic
Got it!!! I created a virtual directory that redirects all requests to a Perl script that takes CGI requests like this: http://myserver/Fossil/Projects/.../project.fossil generates a Fossil CGI script (Fossil.cgi): #!\Program Files\Fossil\Fossil repository: \Projects\...\myrepository.

Re: [fossil-users] Basic question: how to create fossil web service using bash cgi

2011-03-07 Thread Tony Perovic
Looking at the source code, it looks like Fossil goes into CGI mode when it sees that the GATEWAY_INTERFACE is defined or the cgi command line parameter is specified. Try clearing GATEWAY_INTERFACE. Tony Perovic Compumation, Inc. -Original Message- From: fossil-users-boun...@lists.foss

Re: [fossil-users] Basic question: how to create fossil web service using bash cgi

2011-03-07 Thread Gé Weijers
On Sun, 6 Mar 2011, David Bovill wrote: > My bash scripting is very basic. I've been trying to create some cgi's on > the server that will let me create new fossil repos. I've this test cgi, and > am unable to issue the commands to fossil that I am able to in the > terminal. fossil sees that th

Re: [fossil-users] round(julianday(last_useful_date) - julianday('now'), 0) AS 'days left',

2011-03-07 Thread Richard Hipp
On Mon, Mar 7, 2011 at 7:46 AM, Stephen De Gabrielle < stephen.degabrie...@acm.org> wrote: > Hi, > > My SQL query statement against the "TICKET" table includes a line crafted > to return the number of whole days till the 'last useful date' > round(julianday(last_useful_date) - julianday('now'),0

Re: [fossil-users] Error: Database error: table mlink has no column named mperm

2011-03-07 Thread Richard Hipp
On Mon, Mar 7, 2011 at 7:49 AM, Stephen De Gabrielle < stephen.degabrie...@acm.org> wrote: > Is it worth making clone/rebuild/new 'version stamp' the database, so > fossil can check it is attempting to action the right one? > Fossil does this. If you attempt to use a repository that has the wron

Re: [fossil-users] Error: Database error: table mlink has no column named mperm

2011-03-07 Thread Stephen De Gabrielle
Is it worth making clone/rebuild/new 'version stamp' the database, so fossil can check it is attempting to action the right one? Cheers, Stephen On Mon, Mar 7, 2011 at 12:42 PM, Richard Hipp wrote: > On Mon, Mar 7, 2011 at 7:30 AM, Steve Dalton wrote: > >> Ok - I realised what it was - I went

[fossil-users] round(julianday(last_useful_date) - julianday('now'), 0) AS 'days left',

2011-03-07 Thread Stephen De Gabrielle
Hi, My SQL query statement against the "TICKET" table includes a line crafted to return the number of whole days till the 'last useful date' round(julianday(last_useful_date) - julianday('now'),0) AS 'days left', Problem is, it returns '.0' when [I believe] I specified zero decimal places as t

Re: [fossil-users] Error: Database error: table mlink has no column named mperm

2011-03-07 Thread Richard Hipp
On Mon, Mar 7, 2011 at 7:30 AM, Steve Dalton wrote: > Ok - I realised what it was - I went on the server and did a fossil > rebuild -R /path/to/fossil and it rebuilt and I could then sync. > > I didn't realise you had to do this on all the serverside repos to on > upgrade. Is this right? Naively

Re: [fossil-users] Error: Database error: table mlink has no column named mperm

2011-03-07 Thread Steve Dalton
Email crossed paths... yes - did it on server and fixed the problem. So am I right in saying client and server always have to match versions and rebuilt on both? Will a newer repo version on the server work with an old client? I am pretty quick with my upgrades, but I know some of the other user

Re: [fossil-users] Error: Database error: table mlink has no column named mperm

2011-03-07 Thread Richard Hipp
On Mon, Mar 7, 2011 at 7:27 AM, Steve Dalton wrote: > Yep - one of the first things I did. I've tried going back to an old > repo and starting again - but seems to happen again on the first > commit. > > I took a look at the database with sqlite3 and my mlink table is > > sqlite> .schema mlink >

Re: [fossil-users] Error: Database error: table mlink has no column named mperm

2011-03-07 Thread Steve Dalton
Ok - I realised what it was - I went on the server and did a fossil rebuild -R /path/to/fossil and it rebuilt and I could then sync. I didn't realise you had to do this on all the serverside repos to on upgrade. Is this right? Naively thought that the client would perform the upgrade. Steve On M

Re: [fossil-users] Error: Database error: table mlink has no column named mperm

2011-03-07 Thread Steve Dalton
Yep - one of the first things I did. I've tried going back to an old repo and starting again - but seems to happen again on the first commit. I took a look at the database with sqlite3 and my mlink table is sqlite> .schema mlink CREATE TABLE mlink( mid INTEGER REFERENCES blob, pid INTEGER REF

Re: [fossil-users] Error: Database error: table mlink has no column named mperm

2011-03-07 Thread Stephen De Gabrielle
did you try recreate the datebase with fossil rebuild Cheers, Stephen On Mon, Mar 7, 2011 at 10:24 AM, Steve Dalton wrote: > I just tried to push to my repository and I got > >Bytes Cards Artifacts Deltas > Sent:3546 75 0 0 > Rece

[fossil-users] Error: Database error: table mlink has no column named mperm

2011-03-07 Thread Steve Dalton
I just tried to push to my repository and I got Bytes Cards Artifacts Deltas Sent:3546 75 0 0 Received:4067 88 0 0 Sent:6259 75 0 1 Error: Database error: table m