genmetadata #6

  • //
  • guest/
  • marc_tooley/
  • util/
  • cvs2p4/
  • bin/
  • genmetadata
  • Commits
# Change User Description Committed
#6 28901 marc_tooley ""
#5 6385 marc_tooley Pulling in Mr.
Geiger's most recent cvs2p4 checkins.
#4 5891 marc_tooley cvs2p4-ft: pulling in recent Geiger changes.
Thanks Richard!
#3 5763 marc cvs2p4-ft: little extra bits to stop generating illegal db.integed
records.
#2 5695 marc_tooley Support for selective labels import for CVS2P4.
#1 5694 marc_tooley Branching for minor little mods to cvs2p4.

It turns out the Public Depot is probably a convenient delivery
mechanism..
//guest/richard_geiger/utils/cvs2p4/bin/genmetadata
#78 5673 Richard Geiger checkpoint ironport latest.
#77 5667 Richard Geiger fix a/na dup detection.
#76 5656 Richard Geiger Another fix for cases where TRUNKLINE is not head.
#75 5654 Richard Geiger Take care of David Birkhead's first two problem children :-)
#74 5651 Richard Geiger Cosmetic only
#73 5647 Richard Geiger fixes for case of trunkline set to a branch (!
the trunk)
where a file is initially added.
#72 5633 Richard Geiger Handle the "filename" attribute that some RCS/CVSes apparently
create these days...
Also, be sure to wipe the Convdir/p4root before genmetadata
does it's thing, so as to remove any ,v files that genmetadata
might find there. Also for general hygiene!
#71 5615 Richard Geiger more depot mapping fixes.
#70 5588 Richard Geiger checkpoint the latest.
This includes a rework of the
label-heursitical stuff that seems to work better.
#69 5587 Richard Geiger Handle \r's in filenames by xlating to "%0d".
#68 5585 Richard Geiger do complete branch determination in bin/genmetadata now...
heh.
#67 5583 Richard Geiger Handle "..." in CVS pathnames by changing them to ",,,"s.
"Works for me!"
#66 5581 Richard Geiger pull out unintended leftover debug cruft.
#65 5580 Richard Geiger Tweaks & debugging fixes from the IP 2006/07/06 trial.
#64 5570 Richard Geiger decruftification.
#63 5568 Richard Geiger If we are doing BRANCH_FLASH, do it consistently BEFORE using the
un-de-flashed (!) value anywhere else!
#62 5567 Richard Geiger Seems pretty close to right at this point.
This change makes sure that
we handle labels on "ambiguous" revisions (any 1.1.1.n, n > 1 revisions
commited before any 1.2) as being present in *both* the import branch AND
main correctly.
#61 5563 Richard Geiger Life is a corner case.
"UNMAPPED-COLLISION tags in tags.txt now indicate what collided better.
Fix srcdiff to handle odd Log expansion corner case that was causing
flase positives.
#60 5555 Richard Geiger NOEXC_PATHNAME
#59 5531 Richard Geiger A significant checkpoint commit, with new improved handling
of import vendor branches, and revisions present in main
by virtue of multiple vendor drops to a file with no local mods.

test/runtest works, with new refernece results pretty well
scrutinized.
#58 5500 Richard Geiger Fix handling of special chars in filenames with new rlog-based
parsing.
#57 5498 Richard Geiger Eeeks, where did this line go!?
#56 5497 Richard Geiger checkpoint
#55 5495 Richard Geiger Slight change to parsing rlog output, for better tolerance of
people pasting rlog output into log messages. This also depend
on the new rlog...
#54 5494 Richard Geiger Heck, it's turning into 3.0!
This is a watershed commit - switch to rlog-based ,v parsing...
#53 5490 Richard Geiger $Depotmap implemented.
#52 5489 Richard Geiger New checkpoint; now has multi-mod exclude_* files.
#51 5485 Richard Geiger good checkpoint
#50 5484 Richard Geiger checkpoint
#49 5483 Richard Geiger The latest formula...
...and a typo.
#48 5480 Richard Geiger Better vendor-branch handling... it's tricky!
genmetadata now includes a flag in each line of the
generated $Convdir/labels to indicate whether the
file in question had "$Rcs_import_is_main" set.
(The file had "branch: 1.1.1" as the default branch).
#47 5477 Richard Geiger Fix bug in prescan mode.
#46 5476 Richard Geiger I am import, hear me roar.
#45 5466 Richard Geiger allow leading whitespace and/or trailing # comments
in exclude_* lists.
#44 5465 Richard Geiger Add exclude list for tags & branches.
#43 5442 Richard Geiger A checkpoint commit on the way to a 2.6.0 release with the
new IronPort inspired improvements.
#42 5437 Richard Geiger just another checkpoint. Passed test/runtest, but
still has debugging cruft in. Not fit for release!
#41 5430 Richard Geiger This is another "checkpoint" commit.
 It significantly
rearranges how labels are done, so as to use a hueristic to
divine label<->branch identifications. Not intended for
release without further testing and tweakage!
#40 5428 Richard Geiger A checkpoint commit; this adds a first stab attempt at a
global (across all files) hueristic for determining the
tag<->branchtag mapping. It seem to be working, but has not
been deeply tested yet at all. There is also debugging cruft
that should be removed before this goes into a release.
Also, ALL of the big (per-file or more) hashes now get stored
as tie'ed databases, in order to deal with memory exhaustion
when dealing with BIG data sets.
#39 5426 Richard Geiger Add compilation of the tags and branch tags encountered.
#38 5392 Richard Geiger Adjust sort key specifier option to avoid the archiaic form.
#37 5272 Richard Geiger Allow "."s in author identifiers
#36 5199 Richard Geiger hush $CO .adamci
#35 5198 Richard Geiger First cut "ADAM" support for Intel Austin.
#34 5143 Richard Geiger prep for 2.5.5
#33 5091 Richard Geiger Fix delta processing - some labels
(with nonnumerics following numerics) could otherwise confuse
the parsing.
#32 4917 Richard Geiger in PureRCS, always use the RCS branch number in the depot path.
even for the #1 revs (which really point to it in RCS).
#31 4914 Richard Geiger Adds PureRCS switch.
#30 4732 Richard Geiger Changes to support special characters # @ % * (for release 2.5)
#29 4296 Richard Geiger Integrate Robert Cowham's fox for the "binary slows"...
In Cowham we Trust!
#28 4270 Richard Geiger Handle symbols name starting with a leading "num".
#27 3708 Richard Geiger Changes for 2.3.6
#26 2376 Richard Geiger First show at fixing RCS/"import" confusion...
#25 2284 Richard Geiger Package 2.3.3.
Changes to begin handling MKS Source Integrity repositories.
Today MKS; Tomorrow... ClearCase! (well).
#24 2239 Richard Geiger Ignore "ext" and "format" RCS keywords.
These are apparently added by MKS's rendition of RCS. Ug.
#23 2061 Richard Geiger changes for 2.3.2:
  - can adjust db hash bucket size;
  - Add $DEPOT config variable
  - Handle labels with '#' or '@'
#22 1987 Richard Geiger Changes for 2.3.1
#21 1942 Richard Geiger Change to handle RCS branch tags (so this tools can work with
RCS (vs CVS) repositories, too!) RCS branch tags are those
with an even number of "."s.
#20 1781 Richard Geiger This change reintegrates cvs2p4 2.0 developement work (through
2.0b6) back into my mainline development.
#19 1437 Richard Geiger Fix for 1.3.3 - labels on revived Attic files.
#18 1404 Richard Geiger Oops, fix a bug ni the sort re-do from the last change: the external
sort needs a -n. You'd think it would be smart enought to know
what I want. Sheesh. :-)
#17 1388 Richard Geiger Put genmetadata on a memory diet.
#16 1203 Richard Geiger Fix bug where dolables couldn't cope with tag in which
the revision for a file was a delete

Add the IMPORTTAGSPOOF switch.
#15 1185 Richard Geiger Changes for 1.3
(Labels!)
#14 1031 Richard Geiger Changes for 1.2.17; fix one-letter id internal error bug.
#13 823 Richard Geiger Add assert for dup d/f,v d/Attic/f,v (like "Giao Phan" <[email protected]> saw)
#12 474 Richard Geiger Reject files with bad characters per perforce filenaming conventions.
#11 459 Richard Geiger Now performs metadata sort using a sort routine coded directly in perl,
rather than by using the host system's "sort" command. (Differences
in "sort" behavior from one host to another had been observed to
cause irregularities).
#10 416 Richard Geiger Pull in Thomas Quinot <[email protected]>'s UTC bugfix, for 1.2.12.
#9 398 Richard Geiger Skip (and note) ,v files with nonprintable characters in the fileame.
#8 392 Richard Geiger CHanges for 1.2.10 (tolerate empty RCS file)
#7 342 Richard Geiger Allow for "." in "id" symbols.
#6 330 Richard Geiger This change allows cvs2p4 to cope with RCS archives with
CR/LF line endings. (I'm not sure how these get created;
presumably some weird side effect of Bill Gates. But one user
had 'em; RCS seems to cope with 'em, and so I've decided to
make cvs2p4 follow suit.
#5 305 Richard Geiger Changes for 1.2.7
#4 249 Richard Geiger Changes in preparation for supporting spaces in filenames.
(In fact, this may work as of this change, but is not yet tested.)
Also, add "runtest -gengood" to allow easier generatino of new *.good
files. (It just doesn't quick on a miscompare!).
#3 240 Richard Geiger Version 1.2.5, to account for post-1999 RCS behavior.
(Courtesy of David Simon, Goldman Sachs)
#2 179 Richard Geiger CHanges for 1.2.3
#1 130 Richard Geiger CVS-to-Perforce converter.
This is release 1.2.2
(first submit to the Perforce Public Depot)