The way I solve this problem is to keep a repo of all projects that share
the same libraries together. This creates some other minor problems (that
were recently made less of a problem with the -p option enhancement of the
TIMELINE command.) But, I think this is the only reasonable way.
There is also another possibility. Under Windows, you can use the MKLINK
command to create a directory junction under your project (each project).
This way you can keep the tree structure you have, keep a single copy of
your libraries, but make it appear as if each project has its own copy.
FOSSIL will treat this as a normal directory, meaning that if you open the
repo somewhere else (where the junction does not exist), you will get a copy
of you library.
One potential problem with this approach is that, even though there is a
single copy of the library, each project thinks it has a private copy. So,
making library changes for the sake of one project have to be propagates to
all other repos using the same library in their projects.
Tony
-----Original Message-----
From: jose isaias cabrera
Sent: Friday, November 07, 2014 12:32 AM
To: fossil-users@lists.fossil-scm.org
Subject: [fossil-users] Newbie question
Greetings!
First of all, I want to thank you whomever was the creator of this wonderful
utility. Props to you.
I have a setup on my Windows PC where I have many sources of various
languages. That will be another question later, but today, I have a
project, which I created a repo for it, but I have libraries somewhere else.
Imagine this scenario:
Project lives on: c:\sources\d\MyProject\MyProject.d
Libraries used by this project live on: c:\D\import
\my\lib\aaa.d
\my\lib\bbb.d
\my\lib\ccc.d
\my\lib\ddd.d
\my\lib\eee.d
\my\lib\fff.d
\other0\lib\aaa.d
\other1\lib\aaa.d
The problem is that when I make changes to the to the
c:\sources\d\MyProject\MyProject.d everything is fine I get the new version
etc. But, when I make changes in c:\D\Import, the changes are not being
checked in. I know I can open another repo and keep track of them like
that, but is there another way where I can point to another directory and
still use the repo for c:\sources\d\MyProject\MyProject.d? I hope I was
clear enough. Thanks.
josé
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users