Handle symbolic heads
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 26 Mar 2009 00:27:51 +0000 (01:27 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 26 Mar 2009 00:33:13 +0000 (01:33 +0100)
commitb5fae65477656da9922fe92de9ca7491ba93ba37
tree032500a6110151edca5772adbe8dafd0894b8dd3
parent761af595e18e8364282ea752142b19ada569ac8e
Handle symbolic heads

RCS files can contain symbols that don't point to an actual commit;
checking out these symbols retrieves the highest revision with matching
major numbers. Fo example, with symbol SYM:3 and revisions 2.1, 3.1,
3.2, 4.1, checking out SYM results in 3.2 being checked out.

This feature translates pretty straightforwardly to git heads. These
symbols are detected by their missing date and are deleted after
assigning their name as branch to the appropriate revision.
rcs-fast-export.rb