[fossil-users] content missing - repository jammed

2010-01-28 Thread Dig412
Hi

I'm in the process of learning fossil, and made a repository for an existing
project.
I used "fossil add *" to add the files, and the initial commit worked.

However, doing "fossil open" gives the error:
fossil: content missing for resources/Thumbs.db

"fossil rm resources/Thumbs.db" gives:
fossil: not in the repository: resources/Thumbs.db

Shunning and rebuilding the repository has no effect, and fossil doesn't
complete the open successfully, so I can't do anything with the repository
in it's current state.

How can I fix this error?

Thanks
Doug
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Building Fossil on Vista with MinGW [b99aa66d1f] (creole)

2010-01-28 Thread Frank V [tOSU]
Fossil Mailing List,

I first tried to check the archives for my question but those seem to be 
down or not enabled.

I'm attempting to build fossil on Windows Vista using mingw. I have 
mingw installed and working. I've built several open source projects 
with it including Firefox... I hope that this proves that it is 
installed correctly.

My attempts to build fossil with "make -f Makefile.w32" always end with 
an error where my only change to the build file is to set "E = .exe".  I 
then execute the command and get the following:

gcc -g -Os -Wall -DFOSSIL_I18N=0 -L/usr/local/lib -I/usr/local/include  
-I. -I./
src -o blob.o -c blob_.c
blob_.c:28:18: zlib.h: No such file or directory
blob_.c: In function `blob_compress':
blob_.c:725: warning: implicit declaration of function `compress'
blob_.c: In function `blob_compress2':
blob_.c:755: error: `z_stream' undeclared (first use in this function)
blob_.c:755: error: (Each undeclared identifier is reported only once
blob_.c:755: error: for each function it appears in.)
blob_.c:755: error: syntax error before "stream"
blob_.c:764: error: `stream' undeclared (first use in this function)
blob_.c:764: error: `alloc_func' undeclared (first use in this function)
blob_.c:764: error: syntax error before numeric constant
blob_.c:765: error: `free_func' undeclared (first use in this function)
blob_.c:765: error: syntax error before numeric constant
blob_.c:769: warning: implicit declaration of function `deflateInit'
blob_.c:772: warning: implicit declaration of function `deflate'
blob_.c:776: error: `Z_FINISH' undeclared (first use in this function)
blob_.c:778: warning: implicit declaration of function `deflateEnd'
blob_.c: In function `blob_uncompress':
blob_.c:818: warning: implicit declaration of function `uncompress'
blob_.c:820: error: `Z_OK' undeclared (first use in this function)
make: *** [blob.o] Error 1

fr...@inspiron531 /c/Fossil-b99aa66d1f
$

I though that perhaps the zlib library was simply missing, so I 
downloaded that from the zlib website and placed that in 
C:\MinGW\include\zlib-1.2.3\

I still get the same error. Is this where the includes are suppose to 
go? I also tried several modification to the make file and that has lead 
me to either different errors or the same errors.  (For example, I tried 
TCC = gcc -O6 and this leads to a error about: langinfo.h: No such file 
or directory)

I'm not sure what else to try... Any help would be appreciated. Thank you.

Regards,
Frank
___
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] Building Fossil on Vista with MinGW [b99aa66d1f] (creole)

2010-01-28 Thread Heinrich Huss
Hi Frank,

You need to have the zlib library in your library path

Download zlib using this link

http://gnuwin32.sourceforge.net/downlinks/zlib-bin-zip.php

Regards
Hein


Frank V [tOSU] schrieb:
> Fossil Mailing List,
>
> I first tried to check the archives for my question but those seem to be 
> down or not enabled.
>
> I'm attempting to build fossil on Windows Vista using mingw. I have 
> mingw installed and working. I've built several open source projects 
> with it including Firefox... I hope that this proves that it is 
> installed correctly.
>
> My attempts to build fossil with "make -f Makefile.w32" always end with 
> an error where my only change to the build file is to set "E = .exe".  I 
> then execute the command and get the following:
>
> gcc -g -Os -Wall -DFOSSIL_I18N=0 -L/usr/local/lib -I/usr/local/include  
> -I. -I./
> src -o blob.o -c blob_.c
> blob_.c:28:18: zlib.h: No such file or directory
> blob_.c: In function `blob_compress':
> blob_.c:725: warning: implicit declaration of function `compress'
> blob_.c: In function `blob_compress2':
> blob_.c:755: error: `z_stream' undeclared (first use in this function)
> blob_.c:755: error: (Each undeclared identifier is reported only once
> blob_.c:755: error: for each function it appears in.)
> blob_.c:755: error: syntax error before "stream"
> blob_.c:764: error: `stream' undeclared (first use in this function)
> blob_.c:764: error: `alloc_func' undeclared (first use in this function)
> blob_.c:764: error: syntax error before numeric constant
> blob_.c:765: error: `free_func' undeclared (first use in this function)
> blob_.c:765: error: syntax error before numeric constant
> blob_.c:769: warning: implicit declaration of function `deflateInit'
> blob_.c:772: warning: implicit declaration of function `deflate'
> blob_.c:776: error: `Z_FINISH' undeclared (first use in this function)
> blob_.c:778: warning: implicit declaration of function `deflateEnd'
> blob_.c: In function `blob_uncompress':
> blob_.c:818: warning: implicit declaration of function `uncompress'
> blob_.c:820: error: `Z_OK' undeclared (first use in this function)
> make: *** [blob.o] Error 1
>
> fr...@inspiron531 /c/Fossil-b99aa66d1f
> $
>
> I though that perhaps the zlib library was simply missing, so I 
> downloaded that from the zlib website and placed that in 
> C:\MinGW\include\zlib-1.2.3\
>
> I still get the same error. Is this where the includes are suppose to 
> go? I also tried several modification to the make file and that has lead 
> me to either different errors or the same errors.  (For example, I tried 
> TCC = gcc -O6 and this leads to a error about: langinfo.h: No such file 
> or directory)
>
> I'm not sure what else to try... Any help would be appreciated. Thank you.
>
> Regards,
> Frank
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>   

-- 

Heinrich Huss

PSH Consulting GmbH
Am Gewerbepark 10
64823 Groß-Umstadt

Phone+49 6078 931 6455
Fax  +49 6078 96 9536
Mobile   +49 171 43 46 773 
e-mailheinrich.h...@psh-consulting.de


*** PSH Consulting GmbH Legal Disclaimer ***

Diese E-Mail einschließlich ihrer Anhänge ist vertraulich und ist allein für 
den Gebrauch durch den vorgesehenen Empfänger bestimmt. Dritten ist das Lesen, 
Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir bitten, eine 
fehlgeleitete E-Mail unverzüglich vollständig zu löschen und uns eine Nachricht 
zukommen zu lassen.

This email may contain material that is confidential and for the sole use of 
the intended recipient. Any review, distribution by others or forwarding 
without express permission is strictly prohibited. If you are not the intended 
recipient, please contact the sender and delete all copies.

Hauptsitz: Magdeburger Strasse 1, D-64720 Michelstadt, USt-IdNr.: DE 21 117 1171
Kommunikation: Telefon +49 6078 931 6455, Telefax +49 6078 96 95 36, 
www.psh-consulting.de
Handelsregister: Amtsgericht Darmstadt, HRB 71404
Geschäftsführer: Heinrich Huss, Thomas Riedl




___
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] Building Fossil on Vista with MinGW [b99aa66d1f] (creole)

2010-01-28 Thread Heinrich Huss
Sorry I haven't read the last part of your mail. You have to extract  
the package to C:/MinGW. Then everything (Header and Libs) should be  
in the right place.

Rgds.
Hein


Am 28.01.2010 um 18:04 schrieb Heinrich Huss:

> Hi Frank,
>
> You need to have the zlib library in your library path
>
> Download zlib using this link
>
> http://gnuwin32.sourceforge.net/downlinks/zlib-bin-zip.php
>
> Regards
> Hein
>
>
> Frank V [tOSU] schrieb:
>> Fossil Mailing List,
>>
>> I first tried to check the archives for my question but those seem  
>> to be
>> down or not enabled.
>>
>> I'm attempting to build fossil on Windows Vista using mingw. I have
>> mingw installed and working. I've built several open source projects
>> with it including Firefox... I hope that this proves that it is
>> installed correctly.
>>
>> My attempts to build fossil with "make -f Makefile.w32" always end  
>> with
>> an error where my only change to the build file is to set "E  
>> = .exe".  I
>> then execute the command and get the following:
>>
>> gcc -g -Os -Wall -DFOSSIL_I18N=0 -L/usr/local/lib -I/usr/local/ 
>> include
>> -I. -I./
>> src -o blob.o -c blob_.c
>> blob_.c:28:18: zlib.h: No such file or directory
>> blob_.c: In function `blob_compress':
>> blob_.c:725: warning: implicit declaration of function `compress'
>> blob_.c: In function `blob_compress2':
>> blob_.c:755: error: `z_stream' undeclared (first use in this  
>> function)
>> blob_.c:755: error: (Each undeclared identifier is reported only once
>> blob_.c:755: error: for each function it appears in.)
>> blob_.c:755: error: syntax error before "stream"
>> blob_.c:764: error: `stream' undeclared (first use in this function)
>> blob_.c:764: error: `alloc_func' undeclared (first use in this  
>> function)
>> blob_.c:764: error: syntax error before numeric constant
>> blob_.c:765: error: `free_func' undeclared (first use in this  
>> function)
>> blob_.c:765: error: syntax error before numeric constant
>> blob_.c:769: warning: implicit declaration of function `deflateInit'
>> blob_.c:772: warning: implicit declaration of function `deflate'
>> blob_.c:776: error: `Z_FINISH' undeclared (first use in this  
>> function)
>> blob_.c:778: warning: implicit declaration of function `deflateEnd'
>> blob_.c: In function `blob_uncompress':
>> blob_.c:818: warning: implicit declaration of function `uncompress'
>> blob_.c:820: error: `Z_OK' undeclared (first use in this function)
>> make: *** [blob.o] Error 1
>>
>> fr...@inspiron531 /c/Fossil-b99aa66d1f
>> $
>>
>> I though that perhaps the zlib library was simply missing, so I
>> downloaded that from the zlib website and placed that in
>> C:\MinGW\include\zlib-1.2.3\
>>
>> I still get the same error. Is this where the includes are suppose to
>> go? I also tried several modification to the make file and that has  
>> lead
>> me to either different errors or the same errors.  (For example, I  
>> tried
>> TCC = gcc -O6 and this leads to a error about: langinfo.h: No such  
>> file
>> or directory)
>>
>> I'm not sure what else to try... Any help would be appreciated.  
>> Thank you.
>>
>> Regards,
>> Frank
>> ___
>> fossil-users mailing list
>> fossil-users@lists.fossil-scm.org
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil- 
>> users
>>
>>
>
> -- 
>
> Heinrich Huss
>
> PSH Consulting GmbH
> Am Gewerbepark 10
> 64823 Groß-Umstadt
>
> Phone+49 6078 931 6455
> Fax  +49 6078 96 9536
> Mobile   +49 171 43 46 773
> e-mailheinrich.h...@psh-consulting.de
>
>
> *** PSH Consulting GmbH Legal Disclaimer ***
>
> Diese E-Mail einschließlich ihrer Anhänge ist vertraulich und ist  
> allein für den Gebrauch durch den vorgesehenen Empfänger bestimmt.  
> Dritten ist das Lesen, Verteilen oder Weiterleiten dieser E-Mail  
> untersagt. Wir bitten, eine fehlgeleitete E-Mail unverzüglich  
> vollständig zu löschen und uns eine Nachricht zukommen zu lassen.
>
> This email may contain material that is confidential and for the  
> sole use of the intended recipient. Any review, distribution by  
> others or forwarding without express permission is strictly  
> prohibited. If you are not the intended recipient, please contact  
> the sender and delete all copies.
>
> Hauptsitz: Magdeburger Strasse 1, D-64720 Michelstadt, USt-IdNr.: DE  
> 21 117 1171
> Kommunikation: Telefon +49 6078 931 6455, Telefax +49 6078 96 95 36, 
> www.psh-consulting.de
> Handelsregister: Amtsgericht Darmstadt, HRB 71404
> Geschäftsführer: Heinrich Huss, Thomas Riedl
>
>
>
>
> ___
> 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 behind reverse proxy

2010-01-28 Thread Kyle McKay
Paul,

I'm running a fossil server behind an Apache reverse proxy quite  
happily.  I've been meaning to add something to the wiki cookbook  
about this but just haven't got around to it yet.

I'm doing this because:

1. I want a fossil UI to be always on and available via my web server
2. I want the fossil server to run as a different user account than  
the web server processes
3. I don't want to use any suid programs (i.e. suExec)

My apache web server is setup so that:

   http://my_server_name/fossil

Is reverse proxied to the fossil server process that is running as a  
daemon on a separate port

   http://my_server_name/anything-other-than-fossil-here

Serves up whatever else would normally be served on my server.

To make this work (I'm running on Darwin which is very Unix like) you  
need to do these two things (the examples assume you have a bash shell):

1. Start your fossil server daemon running with a shell script like this

#!/bin/sh
export SCRIPT_NAME=/fossil
fossil server -P 8000 full_path_to_fossil_respository_here &

If you want to start the fossil server in its own process group, add  
this line:

set -m

at the beginning of the script and add this line:

disown

at the end and you probably want to redirect fossil input, output and  
error to /dev/null as well so the final script to do all of this would  
look like (adding nohup also to make it immune to SIGHUP):

#!/bin/bash
set -m
export SCRIPT_NAME=/fossil
nohup fossil server -P 8000 full_path_to_fossil_respository_here \
/dev/null 2>&1 &
disown # this is a bashism

2. Add this configuration section to your Apache configuration

ProxyPass /fossil http://machine_your_fossil_server_is_running_on: 
8000
ProxyPreserveHost On
# ProxyPreserveHost is required since fossil inspects the Host value
# and without it fossil-generated links will point directly to  
fossil
# instead of the Apache server

3. Access your fossil server like this:

http://machine_apache_is_running_on/fossil

4. Optionally add a firewall rule to limit connections to the fossil  
server to only those coming from the Apache server machine (be nice if  
fossil had a loopback-only setting similar to postfix's to bind its  
socket listener to only localhost IPv4/IPv6 interfaces).

If you want your fossil URL to look like http://some_machine/foo/bar/ 
scm you need would change the above example lines for starting your  
fossil server and setting your Apache configuration as follows:

SCRIPT_NAME=/foo/bar/scm
ProxyPass /foo/bar/scm http:// 
machine_your_fossil_server_is_running_on:8000

Similarly you can change the port the fossil server runs on just as  
easily.

It turns out that since fossil already handles running from an  
arbitrary web location as a cgi script, it quite happily will still  
use that arbitrary location when running as a server if you provide it  
via SCRIPT_NAME.

I wish there was functionality something like this though:

fossil server -P 8000 --ext .fsl  
path_to_directory_containing_.fsl_repositories

Where a single fossil server could serve up multiple fossil  
repositories.  You would just point it to the parent directory and  
tell it what repository extension to look for and then it would insert  
an additional element into the URL using the base name of the fossil  
repository minus the extension.  So if you had these repositories on  
your system:

   /some/directory/repository1.fsl
   /some/directory/repository2.fsl

And started the fossil server like this:

fossil server -P 8080 --ext .fsl /some/directory

Then you could access repository1.fsl like this:

http://localhost:8080/repository1

and repository2.fsl like this:

http://localhost:8080/repository2

and as a bonus you could get a list of available repositories with this:

http://localhost:8080/

(And, of course, still use the SCRIPT_NAME trick to change the URL  
location if you like.)

I believe a relatively simple Perl or Python server script could use  
the fossil http command to implement the multiple repository server  
relatively easily since the SCRIPT_NAME technique also works with the  
fossil http command.  Hmmm, I might just have to write that script  
later today.

Kyle

On Jan 28, 2010, at 04:00, Paul Ruizendaal wrote:
> It may be subtler and easier than I first thought:
>
> Fossil already uses the host information from the Host: header, not  
> from
> its own IP. When in CGI mode, it already relocates all its absolute
> references to include the prefix of the cgi script location.
>
> When running as server Fossil does not do the above relocation but  
> keeps
> everyting based at root ('/'), regardless of the path in the request  
> uri.
> Is there a reason that makes fossil CGI style relocation a bad idea  
> for a
> fossil running in server mode?
>
> Paul
>
> ==
>
> I just tried to put Fossil (running as server) behind a reverse proxy
> (home grown, but similar to "Pound

Re: [fossil-users] content missing - repository jammed

2010-01-28 Thread D. Richard Hipp

On Jan 28, 2010, at 6:21 AM, Dig412 wrote:

> Hi
>
> I'm in the process of learning fossil, and made a repository for an  
> existing project.
> I used "fossil add *" to add the files, and the initial commit worked.
>
> However, doing "fossil open" gives the error:
> fossil: content missing for resources/Thumbs.db
>
> "fossil rm resources/Thumbs.db" gives:
> fossil: not in the repository: resources/Thumbs.db
>
> Shunning and rebuilding the repository has no effect, and fossil  
> doesn't complete the open successfully, so I can't do anything with  
> the repository in it's current state.
>
> How can I fix this error?

You're going to have to give us additional clues.

>
> Thanks
> Doug
> ___
> 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...@hwaci.com



___
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] content missing - repository jammed

2010-01-28 Thread Wilson, Ronald
> > Hi
> >
> > I'm in the process of learning fossil, and made a repository for an
> > existing project.
> > I used "fossil add *" to add the files, and the initial commit
worked.
> >
> > However, doing "fossil open" gives the error:
> > fossil: content missing for resources/Thumbs.db
> >
> > "fossil rm resources/Thumbs.db" gives:
> > fossil: not in the repository: resources/Thumbs.db
> >
> > Shunning and rebuilding the repository has no effect, and fossil
> > doesn't complete the open successfully, so I can't do anything with
> > the repository in it's current state.
> >
> > How can I fix this error?
> 
> You're going to have to give us additional clues.
> 
> D. Richard Hipp
> d...@hwaci.com

Thumbs.db is a windows file that holds thumbnail images for display in
the file explorer.  It is automatically generated by the OS for every
folder that has images or any other document type that would have a
thumbnail preview.

Normally this file has the hidden attribute.  Could that be part of the
problem?  Personally, I don't think that thumbs.db has any business
being in a source repository, but fossil add *.* would add it without
asking.

RW

Ron Wilson, Engineering Project Lead
(o) 434.455.6453, (m) 434.851.1612, www.harris.com

HARRIS CORPORATION   |   RF Communications Division
assuredcommunications(tm)
___
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] Building Fossil on Vista with MinGW [b99aa66d1f] (creole)

2010-01-28 Thread Kees Nuyt

On Thu, 28 Jan 2010 10:50:49 -0600, you wrote:

>Fossil Mailing List,
>
>I first tried to check the archives for my question but those seem to be 
>down or not enabled.
>
>I'm attempting to build fossil on Windows Vista using mingw. I have 
>mingw installed and working. I've built several open source projects 
>with it including Firefox... I hope that this proves that it is 
>installed correctly.

Apart from installing libz, I also edited the following
lines in Makefile.w32:

TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L/mingw/lib
-I/mingw/include

LIB = -lmingwex -lz -lws2_32

-- 
  (  Kees Nuyt
  )
c[_]
___
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] content missing - repository jammed

2010-01-28 Thread Dig412
Yeah, the easy solution is not to add Thumbs.db in the first place, so I
might start from scratch with a new repository.

I was mainly wondering why "rm" failed, unless I misunderstood what it's
meant to do in the first place. I'd like to get it to a state akin to
thumbs.db never having been added at all.

On 28 January 2010 21:11, Wilson, Ronald  wrote:

> > > Hi
> > >
> > > I'm in the process of learning fossil, and made a repository for an
> > > existing project.
> > > I used "fossil add *" to add the files, and the initial commit
> worked.
> > >
> > > However, doing "fossil open" gives the error:
> > > fossil: content missing for resources/Thumbs.db
> > >
> > > "fossil rm resources/Thumbs.db" gives:
> > > fossil: not in the repository: resources/Thumbs.db
> > >
> > > Shunning and rebuilding the repository has no effect, and fossil
> > > doesn't complete the open successfully, so I can't do anything with
> > > the repository in it's current state.
> > >
> > > How can I fix this error?
> >
> > You're going to have to give us additional clues.
> >
> > D. Richard Hipp
> > d...@hwaci.com
>
> Thumbs.db is a windows file that holds thumbnail images for display in
> the file explorer.  It is automatically generated by the OS for every
> folder that has images or any other document type that would have a
> thumbnail preview.
>
> Normally this file has the hidden attribute.  Could that be part of the
> problem?  Personally, I don't think that thumbs.db has any business
> being in a source repository, but fossil add *.* would add it without
> asking.
>
> RW
>
> Ron Wilson, Engineering Project Lead
> (o) 434.455.6453, (m) 434.851.1612, www.harris.com
>
> HARRIS CORPORATION   |   RF Communications Division
> assuredcommunications(tm)
> ___
> 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] content missing - repository jammed

2010-01-28 Thread Wilson, Ronald
> Yeah, the easy solution is not to add Thumbs.db in the first place, so I
> might start from scratch with a new repository.
> 
> I was mainly wondering why "rm" failed, unless I misunderstood what it's
> meant to do in the first place. I'd like to get it to a state akin to
> thumbs.db never having been added at all.

I have not had good luck removing anything permanently from fossil.  Maybe I'm 
missing something, but fossil doesn't like to let go of anything.

I wonder if there is a bug with adding hidden files.  I don't have time to 
investigate right now, but if you could create a simple script that reproduces 
the problem that would be helpful.  I think it would be reasonable for fossil 
not to add hidden files by default and create an option that will add hidden 
files, e.g. fossil add *.* --add-hidden.

RW

Ron Wilson, Engineering Project Lead
(o) 434.455.6453, (m) 434.851.1612, www.harris.com

> On 28 January 2010 21:11, Wilson, Ronald  wrote:
> > > Hi
> > >
> > > I'm in the process of learning fossil, and made a repository for an
> > > existing project.
> > > I used "fossil add *" to add the files, and the initial commit
> worked.
> > >
> > > However, doing "fossil open" gives the error:
> > > fossil: content missing for resources/Thumbs.db
> > >
> > > "fossil rm resources/Thumbs.db" gives:
> > > fossil: not in the repository: resources/Thumbs.db
> > >
> > > Shunning and rebuilding the repository has no effect, and fossil
> > > doesn't complete the open successfully, so I can't do anything with
> > > the repository in it's current state.
> > >
> > > How can I fix this error?
> >
> > You're going to have to give us additional clues.
> >
> > D. Richard Hipp
> > d...@hwaci.com
> Thumbs.db is a windows file that holds thumbnail images for display in
> the file explorer.  It is automatically generated by the OS for every
> folder that has images or any other document type that would have a
> thumbnail preview.
> 
> Normally this file has the hidden attribute.  Could that be part of the
> problem?  Personally, I don't think that thumbs.db has any business
> being in a source repository, but fossil add *.* would add it without
> asking.
> 
> RW
___
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] content missing - repository jammed

2010-01-28 Thread Dig412
I've made a batch script that replicates the issue. It doesnt give the same
error message, but it demonstrates the problems opening, and failures in
removing, hidden files:

echo "test data" > hidden_file.txt
echo "test data 2" > visible_file.txt
attrib +h hidden_file.txt
fossil new hidden-file-test.fossil
fossil open hidden-file-test.fossil
fossil add hidden_file.txt
fossil add visible_file.txt
fossil commit
fossil close
fossil open hidden-file-test.fossil
fossil rm hidden_file.txt
fossil close

Hopefully this is helpful.

On 28 January 2010 22:11, Wilson, Ronald  wrote:

> > Yeah, the easy solution is not to add Thumbs.db in the first place, so I
> > might start from scratch with a new repository.
> >
> > I was mainly wondering why "rm" failed, unless I misunderstood what it's
> > meant to do in the first place. I'd like to get it to a state akin to
> > thumbs.db never having been added at all.
>
> I have not had good luck removing anything permanently from fossil.  Maybe
> I'm missing something, but fossil doesn't like to let go of anything.
>
> I wonder if there is a bug with adding hidden files.  I don't have time to
> investigate right now, but if you could create a simple script that
> reproduces the problem that would be helpful.  I think it would be
> reasonable for fossil not to add hidden files by default and create an
> option that will add hidden files, e.g. fossil add *.* --add-hidden.
>
> RW
>
> Ron Wilson, Engineering Project Lead
> (o) 434.455.6453, (m) 434.851.1612, www.harris.com
>
> > On 28 January 2010 21:11, Wilson, Ronald  wrote:
> > > > Hi
> > > >
> > > > I'm in the process of learning fossil, and made a repository for an
> > > > existing project.
> > > > I used "fossil add *" to add the files, and the initial commit
> > worked.
> > > >
> > > > However, doing "fossil open" gives the error:
> > > > fossil: content missing for resources/Thumbs.db
> > > >
> > > > "fossil rm resources/Thumbs.db" gives:
> > > > fossil: not in the repository: resources/Thumbs.db
> > > >
> > > > Shunning and rebuilding the repository has no effect, and fossil
> > > > doesn't complete the open successfully, so I can't do anything with
> > > > the repository in it's current state.
> > > >
> > > > How can I fix this error?
> > >
> > > You're going to have to give us additional clues.
> > >
> > > D. Richard Hipp
> > > d...@hwaci.com
> > Thumbs.db is a windows file that holds thumbnail images for display in
> > the file explorer.  It is automatically generated by the OS for every
> > folder that has images or any other document type that would have a
> > thumbnail preview.
> >
> > Normally this file has the hidden attribute.  Could that be part of the
> > problem?  Personally, I don't think that thumbs.db has any business
> > being in a source repository, but fossil add *.* would add it without
> > asking.
> >
> > RW
> ___
> 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] content missing - repository jammed

2010-01-28 Thread Wilson, Ronald
Ok I modified your script a bit:

 

echo "test data" > hidden_file.txt

echo "test data 2" > visible_file.txt

attrib +h hidden_file.txt

fossil new hidden-file-test.fossil

fossil open hidden-file-test.fossil

fossil add hidden_file.txt

fossil add visible_file.txt

fossil setting clearsign 0

fossil commit -m "add test"

fossil close

attrib -h hidden_file.txt

del *.txt

fossil open hidden-file-test.fossil

ls

fossil rm hidden_file.txt

fossil commit -m "rm test"

fossil close

 

this is my result:

 

PS C:\rev\src\test> echo "test data" > hidden_file.txt

PS C:\rev\src\test> echo "test data 2" > visible_file.txt

PS C:\rev\src\test> attrib +h hidden_file.txt

PS C:\rev\src\test> fossil new hidden-file-test.fossil

project-id: 6aabe7d760506855816e2e55e3f3f5f758a1a515

server-id:  a33c100eca29a70b48e7054781af29d5a8992821

admin-user: rwilso20 (initial password is "3669c0")

PS C:\rev\src\test> fossil open hidden-file-test.fossil

PS C:\rev\src\test> fossil add hidden_file.txt

ADDED  hidden_file.txt

PS C:\rev\src\test> fossil add visible_file.txt

ADDED  visible_file.txt

PS C:\rev\src\test> fossil setting clearsign 0

PS C:\rev\src\test> fossil commit -m "add test"

New_Version: 6bdbb886fbcc6f78d037bef3bc004a26d8d15e17

PS C:\rev\src\test> fossil close

PS C:\rev\src\test> attrib -h hidden_file.txt

PS C:\rev\src\test> del *.txt

PS C:\rev\src\test> fossil open hidden-file-test.fossil

hidden_file.txt

visible_file.txt

project-name: 

repository:   C:/rev/src/test/hidden-file-test.fossil

local-root:   C:/rev/src/test/

user-home:  : C:/Documents and Settings/ma088024/Application Data

project-code: 6aabe7d760506855816e2e55e3f3f5f758a1a515

server-code:  a33c100eca29a70b48e7054781af29d5a8992821

checkout: 6bdbb886fbcc6f78d037bef3bc004a26d8d15e17 2010-01-28
22:42:52 UTC

parent:   f893f47377cba4cf66d8e065bb94390b69f6ccce 2010-01-28
22:42:52 UTC

tags: trunk

PS C:\rev\src\test> ls

 

 

Directory: Microsoft.PowerShell.Core\FileSystem::C:\rev\src\test

 

 

ModeLastWriteTime Length Name

- -- 

-a--- 1/28/2010   5:42 PM  43008 hidden-file-test.fossil

-a--- 1/28/2010   5:42 PM 24 hidden_file.txt

-a--- 1/28/2010   5:42 PM277 manifest

-a--- 1/28/2010   5:42 PM 41 manifest.uuid

-a--- 1/28/2010   5:42 PM 28 visible_file.txt

-a--- 1/28/2010   5:42 PM   7168 _FOSSIL_

 

 

PS C:\rev\src\test> fossil rm hidden_file.txt

DELETED  hidden_file.txt

PS C:\rev\src\test> fossil commit -m "rm test"

New_Version: 3de1e97489d22c3c165baffc80983d6058f37f7e

PS C:\rev\src\test> fossil close

PS C:\rev\src\test>

 

I'm not seeing any error.  However, the second fossil open created the
hidden_file.txt without the hidden attribute, as seen in the file
listing above.

 

RW

 

Ron Wilson, Engineering Project Lead

(o) 434.455.6453, (m) 434.851.1612, www.harris.com

 

 HARRIS CORPORATION   |   RF Communications Division
assuredcommunications(tm)

 

From: fossil-users-boun...@lists.fossil-scm.org
[mailto:fossil-users-boun...@lists.fossil-scm.org] On Behalf Of Dig412
Sent: Thursday, January 28, 2010 5:28 PM
To: fossil-users@lists.fossil-scm.org
Subject: Re: [fossil-users] content missing - repository jammed

 

I've made a batch script that replicates the issue. It doesnt give the
same error message, but it demonstrates the problems opening, and
failures in removing, hidden files:

 

echo "test data" > hidden_file.txt

echo "test data 2" > visible_file.txt

attrib +h hidden_file.txt

fossil new hidden-file-test.fossil

fossil open hidden-file-test.fossil

fossil add hidden_file.txt

fossil add visible_file.txt

fossil commit

fossil close

fossil open hidden-file-test.fossil

fossil rm hidden_file.txt

fossil close

 

Hopefully this is helpful.

 

On 28 January 2010 22:11, Wilson, Ronald  wrote:

> Yeah, the easy solution is not to add Thumbs.db in the first place, so
I
> might start from scratch with a new repository.
>
> I was mainly wondering why "rm" failed, unless I misunderstood what
it's
> meant to do in the first place. I'd like to get it to a state akin to
> thumbs.db never having been added at all.

I have not had good luck removing anything permanently from fossil.
Maybe I'm missing something, but fossil doesn't like to let go of
anything.

I wonder if there is a bug with adding hidden files.  I don't have time
to investigate right now, but if you could create a simple script that
reproduces the problem that would be helpful.  I think it would be
reasonable for fossil not to add hidden files by default and create an
option that will add hidden files, e.g. fossil add *.* --add-hidden.


RW

Ron Wilson, Engineering Project Lead
(o) 434.455.6453, (m) 434.851.1612, www.harris.com

> On 28 January 2010 21:11, Wilson, Ronald  wrote:
> > > Hi
> > >
> > > I'm in the process of learning fossil, and made a repository for
an
> > > existing pr

Re: [fossil-users] content missing - repository jammed

2010-01-28 Thread Dig412
Ah, that's a much better test!
Basically it seems like any files with attributes can't be overwritten on
check-out.
I've broken my first repository some other way, but I'll make a new one.

I've filed a bug report for this:
http://www.fossil-scm.org/index.html/tktview/db4ce49690ba13eedda7221cf3bebbef29787158

Thanks for your help!

Doug

On 28 January 2010 22:46, Wilson, Ronald  wrote:

>  Ok I modified your script a bit:
>
>
>
> echo "test data" > hidden_file.txt
>
> echo "test data 2" > visible_file.txt
>
> attrib +h hidden_file.txt
>
> fossil new hidden-file-test.fossil
>
> fossil open hidden-file-test.fossil
>
> fossil add hidden_file.txt
>
> fossil add visible_file.txt
>
> fossil setting clearsign 0
>
> fossil commit -m "add test"
>
> fossil close
>
> attrib -h hidden_file.txt
>
> del *.txt
>
> fossil open hidden-file-test.fossil
>
> ls
>
> fossil rm hidden_file.txt
>
> fossil commit -m "rm test"
>
> fossil close
>
>
>
> this is my result:
>
>
>
> PS C:\rev\src\test> echo "test data" > hidden_file.txt
>
> PS C:\rev\src\test> echo "test data 2" > visible_file.txt
>
> PS C:\rev\src\test> attrib +h hidden_file.txt
>
> PS C:\rev\src\test> fossil new hidden-file-test.fossil
>
> project-id: 6aabe7d760506855816e2e55e3f3f5f758a1a515
>
> server-id:  a33c100eca29a70b48e7054781af29d5a8992821
>
> admin-user: rwilso20 (initial password is "3669c0")
>
> PS C:\rev\src\test> fossil open hidden-file-test.fossil
>
> PS C:\rev\src\test> fossil add hidden_file.txt
>
> ADDED  hidden_file.txt
>
> PS C:\rev\src\test> fossil add visible_file.txt
>
> ADDED  visible_file.txt
>
> PS C:\rev\src\test> fossil setting clearsign 0
>
> PS C:\rev\src\test> fossil commit -m "add test"
>
> New_Version: 6bdbb886fbcc6f78d037bef3bc004a26d8d15e17
>
> PS C:\rev\src\test> fossil close
>
> PS C:\rev\src\test> attrib -h hidden_file.txt
>
> PS C:\rev\src\test> del *.txt
>
> PS C:\rev\src\test> fossil open hidden-file-test.fossil
>
> hidden_file.txt
>
> visible_file.txt
>
> project-name: 
>
> repository:   C:/rev/src/test/hidden-file-test.fossil
>
> local-root:   C:/rev/src/test/
>
> user-home:  : C:/Documents and Settings/ma088024/Application Data
>
> project-code: 6aabe7d760506855816e2e55e3f3f5f758a1a515
>
> server-code:  a33c100eca29a70b48e7054781af29d5a8992821
>
> checkout: 6bdbb886fbcc6f78d037bef3bc004a26d8d15e17 2010-01-28 22:42:52
> UTC
>
> parent:   f893f47377cba4cf66d8e065bb94390b69f6ccce 2010-01-28 22:42:52
> UTC
>
> tags: trunk
>
> PS C:\rev\src\test> ls
>
>
>
>
>
> Directory: Microsoft.PowerShell.Core\FileSystem::C:\rev\src\test
>
>
>
>
>
> ModeLastWriteTime Length Name
>
> - -- 
>
> -a--- 1/28/2010   5:42 PM  43008 hidden-file-test.fossil
>
> -a--- 1/28/2010   5:42 PM 24 hidden_file.txt
>
> -a--- 1/28/2010   5:42 PM277 manifest
>
> -a--- 1/28/2010   5:42 PM 41 manifest.uuid
>
> -a--- 1/28/2010   5:42 PM 28 visible_file.txt
>
> -a--- 1/28/2010   5:42 PM   7168 _FOSSIL_
>
>
>
>
>
> PS C:\rev\src\test> fossil rm hidden_file.txt
>
> DELETED  hidden_file.txt
>
> PS C:\rev\src\test> fossil commit -m "rm test"
>
> New_Version: 3de1e97489d22c3c165baffc80983d6058f37f7e
>
> PS C:\rev\src\test> fossil close
>
> PS C:\rev\src\test>
>
>
>
> I’m not seeing any error.  However, the second fossil open created the
> hidden_file.txt without the hidden attribute, as seen in the file listing
> above.
>
>
>
> RW
>
>
>
> Ron Wilson, Engineering Project Lead
>
> (o) 434.455.6453, (m) 434.851.1612, www.harris.com
>
>
>
> HARRIS CORPORATION   |   *RF Communications
> Division   **
> assured**communications**™*
>
>
>
> *From:* fossil-users-boun...@lists.fossil-scm.org [mailto:
> fossil-users-boun...@lists.fossil-scm.org] *On Behalf Of *Dig412
> *Sent:* Thursday, January 28, 2010 5:28 PM
> *To:* fossil-users@lists.fossil-scm.org
> *Subject:* Re: [fossil-users] content missing - repository jammed
>
>
>
> I've made a batch script that replicates the issue. It doesnt give the same
> error message, but it demonstrates the problems opening, and failures in
> removing, hidden files:
>
>
>
> echo "test data" > hidden_file.txt
>
> echo "test data 2" > visible_file.txt
>
> attrib +h hidden_file.txt
>
> fossil new hidden-file-test.fossil
>
> fossil open hidden-file-test.fossil
>
> fossil add hidden_file.txt
>
> fossil add visible_file.txt
>
> fossil commit
>
> fossil close
>
> fossil open hidden-file-test.fossil
>
> fossil rm hidden_file.txt
>
> fossil close
>
>
>
> Hopefully this is helpful.
>
>
>
> On 28 January 2010 22:11, Wilson, Ronald  wrote:
>
> > Yeah, the easy solution is not to add Thumbs.db in the first place, so I
> > might start from scratch with a new repository.
> >
> > I was mainly wondering why "rm" failed, unless I misunderstood what it's
> > meant to do in the first place. I'd like to get it to a state akin to
> > thumbs.db

Re: [fossil-users] content missing - repository jammed

2010-01-28 Thread Jeremy Cowgar
"Wilson, Ronald"  wrote:
> 
> Normally this file has the hidden attribute.  Could that be part of the
> problem?  Personally, I don't think that thumbs.db has any business
> being in a source repository, but fossil add *.* would add it without
> asking.
> 

I know it's been discussed in the past, but Fossil really does need some method 
of ignoring files. i.e. on:

fossil add abc/def
fossil extras

You could provide a command for

fossil ignored to show what is ignored.

Jeremy

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users