/[meta-cvs]/meta-cvs/F-0C9187C87304A15BD59A42657A3BE5A3
ViewVC logotype

Diff of /meta-cvs/F-0C9187C87304A15BD59A42657A3BE5A3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.205.2.62 by kaz, Mon Apr 7 01:24:30 2003 UTC revision 1.205.2.63 by kaz, Sun Apr 13 06:22:43 2003 UTC
# Line 1  Line 1 
1    2003-04-12  Kaz Kylheku  <kaz@ashi.footprints.net>
2    
3            Revamped the synchronization logic. Synchronization now happens
4            in a specific direction.  For example, if we are doing a diff,
5            we just need to push changes from the tree to the MCVS directory,
6            not the other way around. Or: before an update or commit, we push from
7            the tree to MCVS, then after the update, in the other direction.
8    
9            * code/update.lisp (mcvs-update): The before update is done
10            in the :left direction only, and the after update in the :right.
11    
12            * code/move.lisp (mcvs-move): The just-in-case sync is done
13            in the :left direction only.
14    
15            * code/link.lisp (mcvs-link): Likewise.
16    
17            * code/remove.lisp (mcvs-remove): Likewise.
18    
19            * code/add.lisp (mcvs-add): Get rid of mapping-synchronize call;
20            it's completely unnecessary, since the new files are not even
21            in the MAP-LOCAL, and the add logic explicitly links them into
22            the MCVS directory.
23    
24            * code/generic.lisp (mcvs-generic): New keyword parameter,
25            need-sync-before. Before-synchronization done in :left direction,
26            after-synchronization in :right direction. Before-synchronization
27            is now not done by default; need-sync-before must be specified.
28            (mcvs-commit-wrapper): Specify before and after sync.
29            (mcvs-diff-wrapper, mcvs-status-wrapper,
30            mcvs-edit-wrapper): Explicitly specify before sync.
31            (mcvs-tag-wrapper, mcvs-annotate-wrapper): Implicitly specify no sync.
32            (mcvs-unedit-wrapper): Add before sync.
33    
34            * code/sync.lisp (synchronize-files):  New key parameter :direction,
35            values can be :left, :right or :either. Default is :either.
36            If the value is :left or :right, then a sync is done only in that
37            direction, otherwise the value :no-sync is returned.
38            Behavior change: if the left file is missing (F- file in MCVS
39            directory) it is not re-created, but rather :no-sync is returned.
40            Also, if both files exist, have the same timestamp, and are
41            distinct objects, if the direction is :left or :right, then
42            the appropriate restart is automatically chosen. So this will
43            do the right thing on filesystems where link() is performed by
44            copying, without bothering the user with the error.
45    
46            * code/mapping.lisp (mapping-synchronize): New :direction key
47            parameter, passed down to synchronize-filed. The new :no-sync
48            return value from synchronize-files is handled.
49            (mapping-update): Select the :right direction for synchronizing
50            moves, adds or rollbacks.
51    
52  2003-04-06  Kaz Kylheku  <kaz@ashi.footprints.net>  2003-04-06  Kaz Kylheku  <kaz@ashi.footprints.net>
53    
54          * code/posix.lisp (execute-program-xargs): Fix again: perform          * code/posix.lisp (execute-program-xargs): Fix again: perform

Legend:
Removed from v.1.205.2.62  
changed lines
  Added in v.1.205.2.63

  ViewVC Help
Powered by ViewVC 1.1.5