On Wed, May 25, 2011 at 7:29 AM, Gilles <gilles.gana...@free.fr> wrote:
> Hello > > This is the first time I'm trying Fossil and I'm using the Windows > version (d8221b9863 2011-05-12). > > I will be the only user, and the repository will be located on the > same Windows host where the repository is saved. > > There are a few of questions to which I found no answer in the wiki: > > 1. Should the repository be located at the very top of the directory > tree where files will be added and commited? > > For instance, if the files I'll be adding/committing live below C:\, > should the repository be C:\myrepo, or is it OK to locate it anywhere > on the hard drive, eg. D:\whatever\lmyrepo? > The repo can be anywhere on your hard-drive. I tend to create a single folder some place and put all of my repos there. (I typically have dozens on any one machine.) That helps to keep things organized, but is certainly not required. > > 2. Is it OK to have spaces in the path leading to the repo and the > files, eg. C:\This is a directory\myrepo, and D:\This is where my > files are\some file.txt? > Yes. > > 3. Is it possible _not_ to be prompted for a comment when committing a > file? I'd just like to type "fossil commit", and be done with it. > Use the -m command-line option to commit to enter your comment on the command-line. Fossil requires a comment of some kind. You *should* enter a reasonable comment on every commit. You'll thank yourself years later when you are going back trying to figure out what you did. When I first started writing SQLite back in 2000, I was in the habit of making every check-in comment a smiley. See http://localhost:591/sqlite/timeline?c=2000-01-01 for example. That was a bad idea. Do not repeat my mistake. > > 4. Is it possible to open the repository in a DOS box (C:\fossil.exe > open c:\myrepo), and add/commit from a Windows application such as a > text editor? > When I tried this, I got this error: "C:\fossil.exe: not within an > open checkout" > The working directory of the process must be in the checkout. A unix program will normally preserve your working directory. But windows is different. If you want the command to work, you'll have to find a way to make your working directory fall somewhere within your checkout. > > I guess all the commands should be issued within the DOS box. > > Thank you. > > _______________________________________________ > 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