2013/10/28 Edward K. Ream <[email protected]>: > 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. >
- Big Love this rule ;-) >> >> >> 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 ~/.leo dir? sure, is the right space! - but, the @shadow algorithm is usage between who? - i guess just only can base the local user file and the lastest verion in SCCS ? - so this ways is perfect for DVCS but svn/csv/vss etc. Center VCS is not good. ok all clean! - wait the brz first show us the prototype hooks - just need know how call the @shadow algorithm from Leo - in fact, this @shadow algorithm is very useful for other action, etc. co-writing system > 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. -- 人生苦短, Pythonic! 冗余不做,日子甭过!备份不做,十恶不赦! KM keep growing environment culture which promoting organization be learnning! 俺: http://about.me/zoom.quiet 许: http://creativecommons.org/licenses/by-sa/2.5/cn/ -- 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.
