I do a good bit of clones getting expanded into multiple locations,
and it works well for me. Important things to remember:
* If you're using @thin, it means the .leo file is thin, and the
derived file is fat.
* If you've got nodes cloned into multiple @thin or @file locations,
and their contents gets changed outside of Leo, then the last version
encountered during the reading of the derived files wins.
* If the sentinels are damaged outside of Leo, Leo can sometimes get
confused -- more often with @file than with @thin.
* Unless your versioning system is extremely short of disk space, tell
your versioning system that the .leo file is a binary. Trying to do
reconciliations between XML files is close to impossible except in the
very most trivial cases. I've only done it successfully twice; you're
almost always better off abandoning your changes, checking out from a
known coherent version, and redoing the work from there.
Good luck,
- Stephen
On Jun 22, 8:32 pm, Lucas Thode <[email protected]> wrote:
> On Mon, Jun 22, 2009 at 1:01 PM, Edward K. Ream <[email protected]> wrote:
>
>
>
>
>
> > <<quote snipped>>
>
> >> The .leo file differs from simple project files of various IDEs in
> >> that it can have valuable content that's not trivially derived from
> >> anywhere else. You may want to have it in version control outside you
> >> normal development tree, but it's still handy to have it somewhere.
>
> > True, but this is not recommended. I recommend the approach discussed at:
>
> >http://webpages.charter.net/edreamleo/FAQ.html#how-should-i-use-leo-w...
>
> > where most information is in @thin trees and the "reference" .leo file
> > changes only when new @thin nodes are added.
>
> > Edward
>
> What do you do about nodes and structure that is shared among multiple @thin
> trees in that scenario? Also, what about things that should be kept with
> the code, but are not part of the code itself? (Leo's clones provide a nice
> facility for associating code and high-level documentation such as business
> requirements.)
>
> --Lucas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---