Hi all,
There aren't a lot of restrictions on where to name and locate
repository files, but I was wondering what the common practices are.
On the repository naming, I used to call my repositories
"projectname.fsl", but the auto-index mode of operation expects them to
be called "projectname.fossil", so I've been doing that more lately.
As for where to put the repository, I typically have one folder "dev"
where all my development work is rooted, then I have the fossil
repositories in that folder and the open projects underneath that.
However, that means that I have 2 entries in that folder for each
project, the repository and the working dir - "projectname.fossil" and
"projectname/". Do others handle this differently? I was considering
putting all my fossil repositories in some common place and just having
the project directories in my development area. That needs an
additional path when cloning and opening, but otherwise should be
transparent.
That is, my current process is:
$ cd ~/dev/
$ fossil clone http://whatever/projectname projectname.fossil
$ mkdir projectname
$ cd projectname
$ fossil open ../projectname.fossil
So what I'm thinking about is instead:
$ cd ~/dev/
$ fossil clone http://whatever/projectname ~/fossil_repos/projectname.fossil
$ mkdir projectname
$ cd projectname
$ fossil open ~/fossil_repos/projectname.fossil
Another method I was considering is keeping the repository within the
project directory itself (i.e., clone and open in the same directory),
but then I'm always wondering if I'm accidentally going to add the
repository to itself with "fossil add *" or the like.
Any other thoughts?
-J
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users