ViewVC logotype

Contents of /meta-cvs/F-B3689DBB46386B16F4B2331934B69223

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1.133 - (show annotations)
Mon Oct 14 01:50:47 2002 UTC (11 years, 6 months ago) by kaz
Branch: MAIN
Changes since 1.132: +8 -2 lines
Merging from mcvs-1-0-branch.

* code/prop.lisp (mcvs-prop): Read *mcvs-map*, not *mcvs-map-local*.
1 Release Notes for Meta-CVS
3 Release 0.98, 2002-10-??:
5 The prop command was mistakenly reading from MAP-LOCAL and writing to MAP,
6 which could cause information loss if the two differ. It now reads from MAP
7 and writes to MAP. (The property changes propagate to MAP-LOCAL by the
8 update operation invoked by prop, as before).
10 Invocation of external programs included in debug trace.
12 The filt command does not filter F- names if they are immediately preceded by
13 the MCVS/ prefix; such occurences are clearly concrete, sandbox-relative
14 references to the actual F- links, rather than abstract references.
16 The update command now supports the -C option, to fetch the repository
17 copy, throwing away local changes. It also now honors the --metaonly
18 and --nometa options.
20 The export command has been added, for checking out documents without creating
21 a working copy (no MCVS directory in the root of the checkout).
23 The watch command has been added. Note that its syntax differs from that
24 of CVS.
26 The watchers, editors, edit, and unedit commands have been added.
28 Release 0.97, 2002-10-06:
30 Meta-CVS now builds and runs on Microsoft Windows, under Cygwin
31 (www.cygwin.com). It still relies on hard links, which requires
32 Windows 2000 or XP, and the NTFS filesystem. It probably won't
33 work over FAT.
35 New --debug option for verbose output.
37 Cleaned up of error messages. Error messages don't specify prefixes like
38 ``mcvs-add:'' or ``mcvs-grab:'' any more. Rather, the error handler adds the
39 ``mcvs:'' prefix when printing the messages in a situation when the error is
40 not continuable.
42 Fixed bug introduced in release 0.13: mcvs add -R was adding only
43 directories, effectively ignoring arguments that are regular files.
44 The error-continuation behavior of mcvs add has been revised.
46 Trying to rename an object onto itself, or to move the sandbox root
47 directory are no longer silent no-ops, but produce an error.
49 The remap command now preserves property lists, and picks up changes
50 in executable permission.
52 The grab command now notices when a file changes from having execute
53 permission to not having execute permission.
55 Operations on the path . now work in a partial sandbox.
57 Release 0.96, 2002-09-21:
59 The restore command was left broken during the change to the new
60 filemap format. It is now fixed.
62 The grab command now handles execute permission bits properly.
64 Some more commands have detailed help.
66 There is now a global option -i which specifies a script to be
67 executed. This allows Meta-CVS to be scripted using Lisp. For
68 instance suppose you have the following script and call it
69 list-matching:
71 #!/usr/local/bin/mcvs -i
72 (in-sandbox-root-dir
73 (let ((mapping (mapping-read *mcvs-map*))
74 (test-func (eval (read-from-string (pop *args*)))))
75 (dolist (entry mapping)
76 (with-slots (path raw-plist) entry
77 (when (funcall test-func raw-plist)
78 (format t "~a~%" path))))))
80 Then to list the names of files whose "importance" property is
81 a value greater than two, run:
83 ./list-matching '(lambda (plist)
84 (let ((imp (getf plist :importance)))
85 (and imp (> imp 2))))'
87 WARNING: Scripting accesses the guts of Meta-CVS directly, so scripts may
88 break as Meta-CVS is maintained. There is currently no published set of
89 stable interfaces.
91 Release 0.95, 2002-09-16:
93 The install.sh script no longer uses a borrowed copy of the clisp-link script
94 or the linkkit directory; these have been removed. These materials
95 are available at every CLISP installation; install.sh now finds them
96 and uses them. Users of non-x86 machines ran into problems because of this
97 because linkkit/clisp.h contains architecture-dependent information.
99 A bug in mcvs filt was fixed; it wasn't handling F- names that aren't found
100 in the map.
102 A more detailed help system now exists, though it's not complete. The ``mcvs
103 help'' command acts just like ``mcvs --help'' without any arguments. If given
104 an additional parameter which specifies a Meta-CVS command, it produces more
105 detailed documentation for that comand. Help exists already for a few
106 commands.
108 The release number is being warped to 0.95, which means that Meta-CVS is now
109 in beta. It is only five updates away from a 1.0 release.
111 Release 0.24, 2002-09-08:
113 The mapping entries for both symlinks and files have extensible property
114 lists now. These are stored in the optional fourth and fifth list elements,
115 respectively of the :FILE and :SYMLINK map entries.
117 Versioning of the execute permission of files is supported, represented as
118 the :EXEC property of a :FILE mapping entry.
120 Some lame syntax is provided for manipulating properties:
122 mcvs prop --set foo --clear bar --remove baz main.c list.c
124 will set the property FOO to true, set the property BAR to false,
125 and remove the property BAZ, in the files main.c and list.c.
126 The execute permission is represented by the property EXEC.
128 Release 0.23, 2002-09-02:
130 Bugfix: the grab command notices edited symlinks and incorporates the
131 changes into the mapping.
133 The grab command now figures out moved symlinks. Moved symlinks are those
134 whose pathname has changed, but which continue to point to the same object
135 (which may also have been moved).
137 Release 0.22, 2002-08-31:
139 Symbolic links are now versioned objects. The format of the MAP file
140 changes to accomodate this; the new Meta-CVS will read old MAP
141 files; when it writes it will write the new format. Old Meta-CVS won't
142 read the new format.
144 When a new module is created from an existing file tree, symbolic
145 links will be recognized and added. The add command will also add
146 symbolic links. Symbolic links can be renamed and moved; this does
147 nothing with their contents. They can point outside of the sandbox
148 using relative or absolute paths.
150 TODO:
152 There doesn't exist yet a special command to create symbolic links, nor to
153 retarget them; retargetting a link can be done manually by editing MCVS/MAP
154 and updating. Retargetting a link using the ln -s command, won't
155 backpropagate to the MAP file; an update will clobber the link.
157 The grab command does not yet compute symbolic link moves; a moved symbolic
158 link is treated as a remove and add. This will be easy to fix.
160 The remap command ignores symlinks.
162 Release 0.21, 2002-08-04:
164 Syntax of grab command changed. The branch is no longer specified as an
165 argument, but using the -r command option. If no revision is specified with
166 -r, then a -A must be specified to make the grab go to the main trunk. This
167 is a safety feature, since grabbing foreign snapshots to the trunk is almost
168 always wrong, though it could be useful during backup recovery, or for fixing
169 mistakes.
171 The way operating system functions are targetted has changed. Instead of
172 relying on the ``linuxlibc6'' module provided by CLISP, Meta-CVS now
173 has its own module for calling foreign functions. This module is portable;
174 it does not depend on the layout of glibc data structures. So Meta-CVS
175 is in theory now portable to other Unixes (provided they have /dev/urandom).
177 Release 0.20, 2002-07-27:
179 The commit command does a true global commit when given no file or directory
180 parameters, and not given the --metaonly option. This means commiting all
181 changes in the MCVS directory, even if they are in F-files that are not
182 currently mapped.
184 Release 0.19, 2002-07-16:
186 When moving multiple files or directories to a subdirectory, a
187 restart is now provided to skip over bad ones and continue.
189 Grab no longer scans files if there are only added files, or only removed
190 files. There are no moves to deduce in that case.
192 Restore properly creates lost+found at the root of a partial sandbox,
193 rather than at the abstract root of the module.
195 Some other algorithmic improvements made.
197 The first few sections of a user guide have been written.
199 Release 0.18, 2002-07-07:
201 Cool new feature: checkout takes an extra argument, which specifies a
202 subdirectory of the project. Specifying a subdirectory results in a ``partial
203 sandbox'', whose root directory is the specified subdirectory of the larger
204 project. The rest of the project is ``invisible'' to that sandbox. A
205 subdirectory argument can also be given to mcvs grab, which will cause it to
206 integrate the new source tree against a subtree of the Meta-CVS project
207 rather than the entire project. The subtree doesn't have to exist; in
208 that case you get an empty sandbox. Adding files to this sandbox will cause
209 the tree to exist in the project.
211 Bugfix: mcvs grab was not computing moves properly over small file sets,
212 wrongly treating them as removes and adds.
214 Release 0.17, 2002-07-02:
216 The create command no longer takes a vendor branch. Instead the symbol
217 ``Created-by-Meta-CVS'' is used as the vendor tag to satisfy CVS.
219 The grab command no longer does useless synchronization on files that
220 are about to be deleted.
222 New purge command; does ``cvs rm'' on deleted files, that is to say, F- files
223 that have no mapping.
225 New restore command; re-enters deleted files into the mapping, under
226 the ``lost+found'' directory, using their F- names as sandbox names.
228 Bugfix: when a checkout bails because it is requested over top of an existing
229 working copy, it must not delete that working copy's MCVS sub directory.
231 Release 0.16, 2002-06-29:
233 Added new heuristics to grab command. Paths are analyzed to determine
234 move distance. Greater distances reduce the confidence in a move.
235 These rules help sort out grabs in a project where similar or
236 duplicate files are subject to parallel moves, the ambiguity being
237 resolved by favoring shorter moves. Word comparisons are case-insensitive
238 now. Common words (those that appear in many files) are ignored when
239 comparing files.
241 New options, --meta and --metaonly. This area of Meta-CVS is cleaned
242 up a little bit. Most reporting commands like log or diff no longer
243 operate on meta files by default; they must be explicitly told to do
244 so with --meta or --metaonly. Only the commit command implicitly includes
245 metafiles by default, and so if this is not wanted, --nometa must be
246 selected. The update command remains special; if it is given file
247 arguments, it does not include meta files. If given no arguments, it
248 does a global CVS up across the entire project.
250 Release 0.15, 2002-06-25:
252 Optimized a string splitting routine which is used heavily for processing
253 paths; the result is a noticeable performance improvement in some commands
254 that process large numbers of files.
256 Renamed ``import'' command to ``create''.
258 Bugfix: checkout and create showed errors when removing directory, due to
259 broken :postorder support in directory walking function.
261 Bugfix: on failure, checkout was failing to delete the MCVS directory when
262 the checkout was directed to an existing directory.
264 New feature: ``mcvs grab'' command imports third-party snapshots to a
265 branch. This is invoked in the root directory of the source tree to import.
266 It determines what files have been added and removed in the snapshot, and
267 tries to compute which removes and adds are actually moves. This is done by
268 analyzing the actual contents of the files according to a crude algorithm to
269 do fuzzy comparisons, so that even files which were modified as well as moved
270 are discovered.
272 Release 0.14, 2002-06-21:
274 Bugfix: mcvs add was broken for files that have no suffix, causing
275 the underlying cvs add to fail. This was broken in 0.7 when type
276 handling was added.
278 Release 0.13, 2002-06-06:
280 Sandbox synchronization now handles the case of two files having
281 the same timestamp. An error is signaled, with interactive resolution
282 to synchronize either way, or do nothing.
284 If a file must be deleted on update, and this cannot be done, it
285 is now a continuable error.
287 Bugfix: pass -I ! to cvs import so that it won't ignore some F- files
288 whose suffix is one of the ones cvs ignores by default.
290 New command: mcvs remap. The user can move or delete files directly without
291 going through Meta-CVS. When mcvs remap is invoked, it will hunt down the
292 moves and deletions, and reconstruct the mapping accordingly; that is,
293 it remaps the new structure. This command uses inode numbers to identify
294 files; if a file is copied and then the original is deleted, that won't
295 be recognized as a move.
297 Release 0.12, 2002-04-18:
299 Bugfix: remove was broken in 0.10, fixed now.
301 Bugfix: status, diff, etc. work in empty project rather than complaining
302 ``. not known to Meta-CVS''.
304 The checkout operation now can now populate an existing directory, including
305 the current working directory (mcvs co -d . modulename). Of course, the
306 target directory cannot be an existing Meta-CVS sandbox.
307 This is a useful feature, which allows sandboxes to blend with an
308 existing directory structure.
310 Checkout now uses the same function for generating the sandbox
311 structure as does update. This is now necessary, because local files
312 can be clobbered by the checkout.
314 Release 0.11, 2002-04-12:
316 Bugfix: when branch invokes rtag, it now takes the CVSROOT information
317 from CVS/Root and passes it via -d. This is necessary because rtag does not
318 look at a local CVS subdirectory for this information, only the
319 -d option or the environment variable.
321 Command for listing branches added (list-branches or lb). Also shows
322 what sticky tag the sandbox is updated to.
324 Command for switching branches added (switch or sw).
326 Merge detects that working copy is on non-branch tag and bails.
328 Absolute paths can now be specified as file arguments. These are
329 based from the root directory of the sandbox, not the actual filesystem root
330 directory.
332 Release 0.10, 2002-04-03:
334 Automatic merging implemented. Branch is created using branch command,
335 and merging from another branch is done using simple merge command.
336 Meta-CVS maintains the tags to keep track of what has been merged
337 from what branch to what branch.
339 Bugfix: checkout -d foo bar was complaining about directory bar already
340 existing, even though it should only care about foo.
342 The remove command now requires explicit -R option to recursively remove
343 a directory. It has more detailed error reporting.
345 The move command has better error reporting.
347 Release 0.9, 2002-03-14:
349 Bugfix: the .cvsignore file is now subject to tagging, status, etc,
350 (unless --nometa is specified, of course).
352 The mcvs filt command takes -r <revision> or -D <date> parameters.
353 This means to retrieve the MAP file as of the specified revision or
354 date and use that mapping to perform the filtering translation,
355 rather than using MAP-LOCAL.
357 The mcvs update command takes filename arguments now and also
358 supports the -p option.
360 Release 0.8, 2002-03-13:
362 Bug fixed in mcvs add; it was not ignoring files that are already
363 listed as :ignore in MCVS/TYPES.
365 Bug fixed in mcvs move: a target with a trailing slash is now treated
366 as a directory (if it does not already exist and is a non-directory).
368 The -d option of mcvs checkout can now be used to override the checkout
369 directory, which is normally the same as the module name.
371 The global options --version, --help, -q, -Q and -e are now supported.
373 New global options --error-continue and --error-terminate to disable
374 interactive error handling in two different ways.
376 Log level of many messages has changed; many messages have been
377 relegated to debug level.
379 The import command now creates a .cvsignore file containing the name
382 Release 0.7, 2002-03-09:
384 The import command collects a list of the file suffixes and brings up
385 a text editor to allow the user to edit their CVS keyword expansion
386 behavior. This information is kept in a new metafile called TYPES. The
387 add command also updates TYPES; it identifies any suffixes which are new,
388 and brings up an editor. The F- files now carry suffixes, which
389 simplifies interfacing with CVS, and also allows cvswrappers to work.
391 Recursive add works (mcvs add -R ...).
393 New command line option --nometa allows metafiles to be excluded from
394 diff, tag, and other commands; without the option they are inserted
395 into the list of files to be processed.
397 The commit option now takes an optional list of files or directories,
398 just like tag, diff, and others.
400 Release 0.6, 2002-02-16:
402 The add operation was horribly broken in 0.5, it is fixed.
404 User can interactively select whether to clobber local files or leave
405 everything alone. Effects on the mapping file of a mcvs move are undone,
406 if the restructuring is rolled back, or raises a condition that leads
407 to termination.
409 Meta-CVS now keeps a new meta-file called MCVS/TYPES. This is created
410 during import, and specifies the CVS keyword expansion mode for files
411 having given suffixes, and can also tell Meta-CVS to ignore certain files
412 when importing or adding.
414 Release 0.5, 2002-02-10:
416 Much improved error handling. Filesystem rearranging code performs
417 sanity checks to prevent adds and moves from accidentally clobbering
418 local files. A rearranging gone bad can be rolled back. Effects
419 of a failed mcvs add can also be rolled back.
421 MAP-LOCAL is now sorted in the same way as MAP.
423 Release 0.4, 2002-02-04:
425 CVS is invoked using internal function resembling the xargs utility,
426 which ensures that multiple command lines are generated if necessary to
427 avoid surpassing the operating system limit on argument and environment
428 vector size. This is important when someone wants to diff or stat a
429 subdirectory, which requires Meta-CVS to pick out the individual files
430 at the CVS level.
432 The tag, log, status and annotate commands are now available.
434 The MAP file is sorted on F- file names now, not path names. This
435 improves merging, since files do not move within the file when
436 they are renamed.
438 Release 0.3, 2002-02-02:
440 Process termination done is properly in top level handler, by a nonlocal
441 exit. The program properly indicates failed termination when it exits
442 due to an error condition.
444 Corrections are made in the command line option processing. If z is an
445 option that takes an argument, and the argument is -zx, then x is
446 treated as the argument to the option. Long options arguments are
447 recognized properly, according to the --opt=arg convention. The option
448 processing is restructured. Most of the commands now take the
449 appropriate cvs command-specific options.
451 The update algorithm performs dupe checking over the map, which could
452 happen during a merge.
454 Some more bugfixing has been done to the move command. It was still not
455 handling right some cases of an unversioned file being clobbered. Also,
456 it wasn't renaming a directory containing just one file.
458 I did some performance investigation for larger file sets, and
459 ended up rewriting the code that computes filesystem restructuring
460 changes and map duplicates.
462 Release 0.2, 2002-01-30:
464 Changed official name from MCVS to Meta-CVS. The move command now
465 performs some filesystem tests so it does the right thing when a versioned
466 file is moved over a non-versioned file, or when a file is moved into
467 a directory not known to Meta-CVS. Factored out reading and writing of
468 map files into functions.
470 Release 0.1, 2002-01-28:
472 Support for mcvs diff -u added. The -R option works for mcvs add command.
473 Bug fixed in mcvs mv command; it wasn't working analogously to the Unix
474 mv command when copying a directory to an existing directory.
476 Release 0.0, 2002-01-27:
478 This is alpha software. It is not complete, and lacks documentation.
479 However, it is already usable in its present state and is being used for
480 version control by its author. If you can program in Common Lisp and would
481 like to help, take a look through the TODO file. Send me patches, ideas,
482 feature requests.

  ViewVC Help
Powered by ViewVC 1.1.5