On Wed, 25 May 2011 13:29:58 +0200, Gilles 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 repository should not be in the  directory were you work!
e.g
mkdir c:\src\myproject
fossil new c:\src\gilles.fossil
cd c:\src\myproject
fossil open ../gilles.fossil

>
> 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?
The directories leading up to your repository or your check-out it 
doesn't matter much
But the file names and directories in you repo/checkout it is not 
recommended but possible.
You need to add "" around the name.
You might get into trouble when issuing
    fossil add *

>
> 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.
fossil commit -m "nocomment"
not recommend though

>
> 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 editor  you used wasn't started in that directory.
open a dos box and cd into c:\src\myproject
start your editor

>
> I guess all the commands should be issued within the DOS box.
Depends if I would be using the editor vim I could issue
   :cd c:\myproject (make sure I'm in the checkout directory)
   :!c:\fossil.exe commit -m "Nocomment"

>
> Thank you.
>
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> 
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

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

Reply via email to