On Wed, Apr 20, 2011 at 4:00 PM, Tomek Kott <[email protected]> wrote:
> Hi fossil users, > > I have the following situation, that seems to be related to > http://www.mail-archive.com/[email protected]/msg03555.html, > but that one doesn't quite seem to work for me. I have am new to fossil, as > I've been using git previously, but like the integration of bugs / wiki / > etc. On git, I can have the working directory (where the files reside) be > separate from the git repository. > > My development machine is a Win7 x64 machine. The website application I > develop for I have access to via a webdav connection that is visible as a > mounted drive in explorer. I use cygwin for access to many linux tasks etc., > and I use a terminal through which I do my fossil work. > > So, to the crux of the matter. I set up a new fossil repository (in > ~/fossil/) using "fossil new site.fossil". I then cd to my mounted drive (cd > /cygdrive/c/htdocs/) and then try to open a local fossil repository via > "fossil open ~/fossil/site.fossil" The result is the following error: > > > fossil: SQLITE_ERROR: no such table: vvar >> fossil: no such table: vvar >> REPLACE INTO vvar(name,value) >> VALUES('repository','/cygdrive/c/Users/tkott/fossil/site.fossil') >> >> If you have recently updated your fossil executable, you might >> need to run "fossil all rebuild" to bring the repository >> schemas up to date. >> > > This is odd, since I just downloaded and built the fossil executible, and > it is a new repository. If I try the command again, I get: > > fossil: SQLITE_ERROR: table vvar already exists >> fossil: table vvar already exists >> >> If you have recently updated your fossil executable, you might >> need to run "fossil all rebuild" to bring the repository >> schemas up to date. > > > Both of these actions create __FOSSIL__, but nothing else happens. If I try > any fossil command, I get "fossil: not within an open checkout". > > I'm pretty sure I'm missing something simple and not giving enough info, > but does anyone have any hints? > Probably your hybrid linux+windows+webdev+cygwin system is getting the underlying SQLite data store confused. I cannot tell exactly what is happening, but vvar is a table that should be in the _FOSSIL_ database file. Somehow that table is not being created or is not being recognized after it is created or something. I'll bet your network filesystem is somehow to blame. At least, network filesystems are often the culprit when these kinds of things come up. But not having access to your system or an environment similar to yours, I have no way to debug it. Background information on the three SQLite database files used by Fossil can be seen here: http://www.fossil-scm.org/fossil/doc/trunk/www/tech_overview.wiki The _FOSSIL_ file is the "checkout database" which is created by the "fossil open" command. > > I essentially want to set up a dev environment in which I have two > branches, say "trunk" and "dev" so that I can push changes and roll back > when necessary. > > Thanks, > > Tomek > > > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > -- D. Richard Hipp [email protected]
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

