/[meta-cvs]/meta-cvs/F-B3689DBB46386B16F4B2331934B69223
ViewVC logotype

Contents of /meta-cvs/F-B3689DBB46386B16F4B2331934B69223

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.89 - (show annotations)
Thu Aug 1 04:03:13 2002 UTC (11 years, 8 months ago) by kaz
Branch: MAIN
Changes since 1.88: +10 -3 lines
* code/grab.lisp (correlate-word-hashes): The rule for computing
the correlation changes. The size of the smaller of the two sets
is used as the denominator, rather than the size of the union.
This produces far better results for files that have grown
or shrunk a lot; files are not penalized for growing.

More changes to syntax of grab command. Now -A must be
specified to do a grab onto main trunk.

* code/mcvs-main.lisp (*grab-options*): -A option added.

* code/grab.lisp (mcvs-grab): Test for presence of -A
option. Check that either -A or -r is present, but not both.
1 Release Notes for Meta-CVS
2
3 Release 0.21, 2002-08-??:
4
5 Syntax of grab command changed. The branch is no longer specified as an
6 argument, but using the -r command option. If no revision is specified with
7 -r, then a -A must be specified to make the grab go to the main trunk. This
8 is a safety feature, since grabbing foreign snapshots to the trunk is almost
9 always wrong, though it could be useful during backup recovery, or for fixing
10 mistakes.
11
12 The way mcvs grab compares files has been modified, so that the correlation
13 is not weakened between files that have a disparity in size. Adding lots of
14 new material to a file does not dilute its correlation to the original.
15
16 Release 0.20, 2002-07-27:
17
18 The commit command does a true global commit when given no file or directory
19 parameters, and not given the --metaonly option. This means commiting all
20 changes in the MCVS directory, even if they are in F-files that are not
21 currently mapped.
22
23 Release 0.19, 2002-07-16:
24
25 When moving multiple files or directories to a subdirectory, a
26 restart is now provided to skip over bad ones and continue.
27
28 Grab no longer scans files if there are only added files, or only removed
29 files. There are no moves to deduce in that case.
30
31 Restore properly creates lost+found at the root of a partial sandbox,
32 rather than at the abstract root of the module.
33
34 Some other algorithmic improvements made.
35
36 The first few sections of a user guide have been written.
37
38 Release 0.18, 2002-07-07:
39
40 Cool new feature: checkout takes an extra argument, which specifies a
41 subdirectory of the project. Specifying a subdirectory results in a ``partial
42 sandbox'', whose root directory is the specified subdirectory of the larger
43 project. The rest of the project is ``invisible'' to that sandbox. A
44 subdirectory argument can also be given to mcvs grab, which will cause it to
45 integrate the new source tree against a subtree of the Meta-CVS project
46 rather than the entire project. The subtree doesn't have to exist; in
47 that case you get an empty sandbox. Adding files to this sandbox will cause
48 the tree to exist in the project.
49
50 Bugfix: mcvs grab was not computing moves properly over small file sets,
51 wrongly treating them as removes and adds.
52
53 Release 0.17, 2002-07-02:
54
55 The create command no longer takes a vendor branch. Instead the symbol
56 ``Created-by-Meta-CVS'' is used as the vendor tag to satisfy CVS.
57
58 The grab command no longer does useless synchronization on files that
59 are about to be deleted.
60
61 New purge command; does ``cvs rm'' on deleted files, that is to say, F- files
62 that have no mapping.
63
64 New restore command; re-enters deleted files into the mapping, under
65 the ``lost+found'' directory, using their F- names as sandbox names.
66
67 Bugfix: when a checkout bails because it is requested over top of an existing
68 working copy, it must not delete that working copy's MCVS sub directory.
69
70 Release 0.16, 2002-06-29:
71
72 Added new heuristics to grab command. Paths are analyzed to determine
73 move distance. Greater distances reduce the confidence in a move.
74 These rules help sort out grabs in a project where similar or
75 duplicate files are subject to parallel moves, the ambiguity being
76 resolved by favoring shorter moves. Word comparisons are case-insensitive
77 now. Common words (those that appear in many files) are ignored when
78 comparing files.
79
80 New options, --meta and --metaonly. This area of Meta-CVS is cleaned
81 up a little bit. Most reporting commands like log or diff no longer
82 operate on meta files by default; they must be explicitly told to do
83 so with --meta or --metaonly. Only the commit command implicitly includes
84 metafiles by default, and so if this is not wanted, --nometa must be
85 selected. The update command remains special; if it is given file
86 arguments, it does not include meta files. If given no arguments, it
87 does a global CVS up across the entire project.
88
89 Release 0.15, 2002-06-25:
90
91 Optimized a string splitting routine which is used heavily for processing
92 paths; the result is a noticeable performance improvement in some commands
93 that process large numbers of files.
94
95 Renamed ``import'' command to ``create''.
96
97 Bugfix: checkout and create showed errors when removing directory, due to
98 broken :postorder support in directory walking function.
99
100 Bugfix: on failure, checkout was failing to delete the MCVS directory when
101 the checkout was directed to an existing directory.
102
103 New feature: ``mcvs grab'' command imports third-party snapshots to a
104 branch. This is invoked in the root directory of the source tree to import.
105 It determines what files have been added and removed in the snapshot, and
106 tries to compute which removes and adds are actually moves. This is done by
107 analyzing the actual contents of the files according to a crude algorithm to
108 do fuzzy comparisons, so that even files which were modified as well as moved
109 are discovered.
110
111 Release 0.14, 2002-06-21:
112
113 Bugfix: mcvs add was broken for files that have no suffix, causing
114 the underlying cvs add to fail. This was broken in 0.7 when type
115 handling was added.
116
117 Release 0.13, 2002-06-06:
118
119 Sandbox synchronization now handles the case of two files having
120 the same timestamp. An error is signaled, with interactive resolution
121 to synchronize either way, or do nothing.
122
123 If a file must be deleted on update, and this cannot be done, it
124 is now a continuable error.
125
126 Bugfix: pass -I ! to cvs import so that it won't ignore some F- files
127 whose suffix is one of the ones cvs ignores by default.
128
129 New command: mcvs remap. The user can move or delete files directly without
130 going through Meta-CVS. When mcvs remap is invoked, it will hunt down the
131 moves and deletions, and reconstruct the mapping accordingly; that is,
132 it remaps the new structure. This command uses inode numbers to identify
133 files; if a file is copied and then the original is deleted, that won't
134 be recognized as a move.
135
136 Release 0.12, 2002-04-18:
137
138 Bugfix: remove was broken in 0.10, fixed now.
139
140 Bugfix: status, diff, etc. work in empty project rather than complaining
141 ``. not known to Meta-CVS''.
142
143 The checkout operation now can now populate an existing directory, including
144 the current working directory (mcvs co -d . modulename). Of course, the
145 target directory cannot be an existing Meta-CVS sandbox.
146 This is a useful feature, which allows sandboxes to blend with an
147 existing directory structure.
148
149 Checkout now uses the same function for generating the sandbox
150 structure as does update. This is now necessary, because local files
151 can be clobbered by the checkout.
152
153 Release 0.11, 2002-04-12:
154
155 Bugfix: when branch invokes rtag, it now takes the CVSROOT information
156 from CVS/Root and passes it via -d. This is necessary because rtag does not
157 look at a local CVS subdirectory for this information, only the
158 -d option or the environment variable.
159
160 Command for listing branches added (list-branches or lb). Also shows
161 what sticky tag the sandbox is updated to.
162
163 Command for switching branches added (switch or sw).
164
165 Merge detects that working copy is on non-branch tag and bails.
166
167 Absolute paths can now be specified as file arguments. These are
168 based from the root directory of the sandbox, not the actual filesystem root
169 directory.
170
171 Release 0.10, 2002-04-03:
172
173 Automatic merging implemented. Branch is created using branch command,
174 and merging from another branch is done using simple merge command.
175 Meta-CVS maintains the tags to keep track of what has been merged
176 from what branch to what branch.
177
178 Bugfix: checkout -d foo bar was complaining about directory bar already
179 existing, even though it should only care about foo.
180
181 The remove command now requires explicit -R option to recursively remove
182 a directory. It has more detailed error reporting.
183
184 The move command has better error reporting.
185
186 Release 0.9, 2002-03-14:
187
188 Bugfix: the .cvsignore file is now subject to tagging, status, etc,
189 (unless --nometa is specified, of course).
190
191 The mcvs filt command takes -r <revision> or -D <date> parameters.
192 This means to retrieve the MAP file as of the specified revision or
193 date and use that mapping to perform the filtering translation,
194 rather than using MAP-LOCAL.
195
196 The mcvs update command takes filename arguments now and also
197 supports the -p option.
198
199 Release 0.8, 2002-03-13:
200
201 Bug fixed in mcvs add; it was not ignoring files that are already
202 listed as :ignore in MCVS/TYPES.
203
204 Bug fixed in mcvs move: a target with a trailing slash is now treated
205 as a directory (if it does not already exist and is a non-directory).
206
207 The -d option of mcvs checkout can now be used to override the checkout
208 directory, which is normally the same as the module name.
209
210 The global options --version, --help, -q, -Q and -e are now supported.
211
212 New global options --error-continue and --error-terminate to disable
213 interactive error handling in two different ways.
214
215 Log level of many messages has changed; many messages have been
216 relegated to debug level.
217
218 The import command now creates a .cvsignore file containing the name
219 MAP-LOCAL.
220
221 Release 0.7, 2002-03-09:
222
223 The import command collects a list of the file suffixes and brings up
224 a text editor to allow the user to edit their CVS keyword expansion
225 behavior. This information is kept in a new metafile called TYPES. The
226 add command also updates TYPES; it identifies any suffixes which are new,
227 and brings up an editor. The F- files now carry suffixes, which
228 simplifies interfacing with CVS, and also allows cvswrappers to work.
229
230 Recursive add works (mcvs add -R ...).
231
232 New command line option --nometa allows metafiles to be excluded from
233 diff, tag, and other commands; without the option they are inserted
234 into the list of files to be processed.
235
236 The commit option now takes an optional list of files or directories,
237 just like tag, diff, and others.
238
239 Release 0.6, 2002-02-16:
240
241 The add operation was horribly broken in 0.5, it is fixed.
242
243 User can interactively select whether to clobber local files or leave
244 everything alone. Effects on the mapping file of a mcvs move are undone,
245 if the restructuring is rolled back, or raises a condition that leads
246 to termination.
247
248 Meta-CVS now keeps a new meta-file called MCVS/TYPES. This is created
249 during import, and specifies the CVS keyword expansion mode for files
250 having given suffixes, and can also tell Meta-CVS to ignore certain files
251 when importing or adding.
252
253 Release 0.5, 2002-02-10:
254
255 Much improved error handling. Filesystem rearranging code performs
256 sanity checks to prevent adds and moves from accidentally clobbering
257 local files. A rearranging gone bad can be rolled back. Effects
258 of a failed mcvs add can also be rolled back.
259
260 MAP-LOCAL is now sorted in the same way as MAP.
261
262 Release 0.4, 2002-02-04:
263
264 CVS is invoked using internal function resembling the xargs utility,
265 which ensures that multiple command lines are generated if necessary to
266 avoid surpassing the operating system limit on argument and environment
267 vector size. This is important when someone wants to diff or stat a
268 subdirectory, which requires Meta-CVS to pick out the individual files
269 at the CVS level.
270
271 The tag, log, status and annotate commands are now available.
272
273 The MAP file is sorted on F- file names now, not path names. This
274 improves merging, since files do not move within the file when
275 they are renamed.
276
277 Release 0.3, 2002-02-02:
278
279 Process termination done is properly in top level handler, by a nonlocal
280 exit. The program properly indicates failed termination when it exits
281 due to an error condition.
282
283 Corrections are made in the command line option processing. If z is an
284 option that takes an argument, and the argument is -zx, then x is
285 treated as the argument to the option. Long options arguments are
286 recognized properly, according to the --opt=arg convention. The option
287 processing is restructured. Most of the commands now take the
288 appropriate cvs command-specific options.
289
290 The update algorithm performs dupe checking over the map, which could
291 happen during a merge.
292
293 Some more bugfixing has been done to the move command. It was still not
294 handling right some cases of an unversioned file being clobbered. Also,
295 it wasn't renaming a directory containing just one file.
296
297 I did some performance investigation for larger file sets, and
298 ended up rewriting the code that computes filesystem restructuring
299 changes and map duplicates.
300
301 Release 0.2, 2002-01-30:
302
303 Changed official name from MCVS to Meta-CVS. The move command now
304 performs some filesystem tests so it does the right thing when a versioned
305 file is moved over a non-versioned file, or when a file is moved into
306 a directory not known to Meta-CVS. Factored out reading and writing of
307 map files into functions.
308
309 Release 0.1, 2002-01-28:
310
311 Support for mcvs diff -u added. The -R option works for mcvs add command.
312 Bug fixed in mcvs mv command; it wasn't working analogously to the Unix
313 mv command when copying a directory to an existing directory.
314
315 Release 0.0, 2002-01-27:
316
317 This is alpha software. It is not complete, and lacks documentation.
318 However, it is already usable in its present state and is being used for
319 version control by its author. If you can program in Common Lisp and would
320 like to help, take a look through the TODO file. Send me patches, ideas,
321 feature requests.

  ViewVC Help
Powered by ViewVC 1.1.5