On Mon, Dec 3, 2012 at 2:39 AM, K <[email protected]> wrote:
> I am using Xcode as my IDE at the moment, which produces a project.xcodeproj 
> file, and a projectsrc/ dir to contain source files. My .fossil is located in 
> the project dir alongside the project.xcodeproj file.

The location of project.fossil file is not important. You can put it
anywhere on disk.
E.g., I store all my repositories at ~/fossils/ directory.

> However, I type "fossil UI" in the projectsrc dir, and add files from there 
> as well, as to date > I've only wanted to keep source code files in the 
> repository.

This is where your checkout (the opened repository / working files) is
located. Treat it as a root directory for everything concerning this
project, and forget everything that's in the parent directories.

So, currently your working directory looks something like this:

/AppDelegate.h
/AppDelegate.m

You want it to be organized like this:

/project.xcodeproj
/projectsrc/AppDelegate.h
/projectsrc/AppDelegate.m

Now it looks obvious that what you need to do is:

 1) create a new directory called 'projectsrc';
 2) move current files into it;
 3) move project.xcodeproj from outside working directory into it.

Do the usual `fossil mv`, `mv`, `fossil add`, `fossil commit` etc. to
achieve this.

After you organized your working directory as required, arrange its
place on the hard drive as needed.

--
Dmitry Chestnykh
http://www.codingrobots.com
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to