ViewVC logotype

Contents of /meta-cvs/F-B3689DBB46386B16F4B2331934B69223

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1.120 - (show annotations)
Sat Oct 5 18:09:48 2002 UTC (11 years, 6 months ago) by kaz
Branch: MAIN
Changes since 1.119: +8 -1 lines
Error messages no longer specify prefixes like "mcvs:" or

When no restarts are available, the error handler now adds the "mcvs:"
prefix when dumping the error text to the standard error stream,
and also adds a terminating newline.

The inability to write to the MAP file is converted to a more
informative error message.

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

  ViewVC Help
Powered by ViewVC 1.1.5