1
0
mirror of https://github.com/git/git.git synced 2024-10-07 16:11:20 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
Linus Torvalds
aff9f97a4f cvs2git: use CVS (rather than RCS) to extract the different
file versions.

This allows you to do the conversion (although slowly) from
a remote repository, and besides, it's one less thing to worry
about when you don't need to look up the CVS Attic directories
etc.
2005-05-30 21:00:09 -07:00
Linus Torvalds
d2b6f7c2fd cvs2git: fix character quoting
We need to quote backslash and backtick too.

And inform the user about our progress, since converting a
big archive can take time. Doing the full mutt history took
just under eight minutes.
2005-05-24 12:57:12 -07:00
Linus Torvalds
1db0819a9c cvs2git: set timezone info to UTC, the way CVS does
This should also mean that the conversion is now completely
defined by the CVS tree, and that two people doing a cvs2git
conversion on the same base will always get the same results
regardless of when or in what timezone they do it.
2005-05-24 10:15:42 -07:00
Linus Torvalds
b535a802b2 cvs2git: add support for GIT_COMMITTER_DATE
Of course, this requires a version of git that cares..
2005-05-24 09:59:55 -07:00
Linus Torvalds
e16c03b549 cvs2git: escape <<EOF messages, and work around cvsps branch handling
This escapes '$' characters in <<-handling, and gives preference to
the new branch when cvsps incorrectly reports a commit as originating
on an old branch.
2005-05-24 09:36:33 -07:00
Linus Torvalds
e69a19f784 Fix cvs2git branch handling
.. and tell 'co' to shut up about the rcs noise.

This still leaves some branch issues up in the air: it looks like
cvsps has some questionable originating branch information, but I
don't know whether that's a cvsps bug or an actual bug in the
syslinux archive I'm using to test.

I'll let David Mansfield answer my questions about CVS. I'm a
total idiot when it comes to branches under CVS ("I'm pure!").
2005-05-24 09:06:51 -07:00
Linus Torvalds
3e91311ae7 Add "cvs2git" program to convert a CVS archive into a GIT archive
It's very hacky, and it needs lots of work, but it seems to have converted
Peter's "syslinux" archive successfully. Whether the end result is correct
or not is to be seen.

Tons of work still to do: do name conversion properly, and do tags etc.

And testing. Lots of testing.
2005-05-24 01:07:31 -07:00