On Sun, Oct 27, 2013 at 8:57 AM, Zoom.Quiet <[email protected]> wrote:


> - though one night, i get new understand:
>
> Leonard always face Leo:
>     - whatever usage @file/@shadow
>

Leonard should *always* use @file, to provide sentinels for Nancy.



>     - sh
> a
> ring SCCS forever is sentinels file
>

Correct.  This is really the key idea.



>     - and begin working ,must:
>         - bzr/hg/git pull and merge local sentinels file
>         - and usage read @file, merge into Leo node tree
>     - HOOKs for Leonard just fixed:
>         - base clean file or shadow, gen. sentinels file
>         - and the reverse
>

It's better to think that Leonard needs no hooks.


>
> Nancy alwa
> ys
> face clean files:
>

Correct!



>     - but in fact sh
> a
> ring SCCS forever is sentinels file
>

Correct.



>     - and begin working ,must:
>         - bzr/hg/git pull and merge local sentinels file
>         - and the HOOKs for Nancy, base sentinels file through @shadow
> algorithm gen. clean files
>

The pull hook puts sentinels to the cache and strips sentinels for Nancy.



>     - HOOKs for Nancy just fixed:
>         - usage @shadow algorithm base the cached sentinels file
>         - merge local clean files gen. new sentinels file
>
> so the local cache is the key problem:
>

No.  The local cache is just a detail :-)  It merely needs to remember the
files *with* sentinels **on Nancy's local machine.**  SCCS repository
*never* sees the cache.  Only Nancy's push/pull hooks see the cache.

The push hook uses the @shadow algorithm to push files *with* sentinels.
That's *all* that the cache is used for.



> - Invisible for Nancy
> - Available for SCCS
> - Natural fro Leo
>

Yes, the cache is invisible to Nancy.
Only the pull hook writes to the cache.
Only the push hook reads from the cache.


>
> Mnnn... just usage .leo dir?
>

Correct.  The cache will be in Nancy's .leo directory.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to