summaryrefslogtreecommitdiff
path: root/git-cvsimport-script
AgeCommit message (Collapse)Author
2005-07-06[PATCH] Fix fd leak in git-cvsimport-scriptSven Verdoolaege
Remember to close temporary file Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-05Merge with http://www.liacs.nl/~sverdool/git.git#cvs2gitMatthias Urlichs
2005-07-05cvsimport: getopt accepted a -q option (undocumented and unused).Matthias Urlichs
Removed.
2005-07-05git-cvsimport-script: move working directory forwardSven Verdoolaege
If HEAD happened to point to a cvs branch, move the working directory forward to the tip of the branch. Additionally, if master and "origin" are equal, move master forward to new origin first.
2005-07-04git-cvsimport-script: remove unused variableSven Verdoolaege
2005-07-04git-cvsimport-script: more error handlingSven Verdoolaege
2005-07-04git-cvsimport-script: provide direct support for cvsps -z optionSven Verdoolaege
2005-07-04git-cvsimport-script: update cvsps cache instead of rebuilding itSven Verdoolaege
Updating the cache is sufficient for most purposes. If users really want to rebuild the cache, they can specify the option themselves.
2005-07-04git-cvsimport-script: fix branch switchingSven Verdoolaege
Previous patch broke branch switching.
2005-07-04git-cvsimport-script: use private index.Sven Verdoolaege
2005-07-03git-cvsimport-script: leave working directory alone.Sven Verdoolaege
2005-07-03git-cvsimport-script: typo head -> headsSven Verdoolaege
2005-07-03cvsimport: Missing tests for verbosity flag.Matthias Urlichs
2005-07-03Support :ext: access method.Sven Verdoolaege
2005-07-03Honour CVS_SERVER.Sven Verdoolaege
2005-07-03Make specification of CVS module to convert optional.Sven Verdoolaege
If we're inside a checked out CVS repository, there is no need to explicitly specify the module as it is available in CVS/Repository. Also read CVS/Root if it's available and -d is not specified. Finally, explicitly pass root to cvsps as CVS/Root takes precedence over CVSROOT. Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2005-06-30cvsimport: Added option '-p': pass options to cvspsMatthias Urlichs
Added option '-x' to cvsps call
2005-06-30cvsimport: Exit if an existing repository doesn't have the right branch.Matthias Urlichs
2005-06-30cvs import: Strip whitespace at the end of the log entryMatthias Urlichs
for compatibility with old cvs2git.
2005-06-30cvsimport: perform string comparison on "HEAD"Sven Verdoolaege
2005-06-30git-cvsimport-script: Removed redundant @old and @new clear.Matthias Urlichs
2005-06-30git-cvsimport-script: Remove setting Sticky; it may cause problemsMatthias Urlichs
2005-06-30cvs import: Call git-update-cache multiple timesMatthias Urlichs
instead of with a too-long argument list.
2005-06-28Rollbak to the original branch after importingMatthias Urlichs
2005-06-28Local cvsimport fixupsMatthias Urlichs
2005-06-28Fix remote CVS import.Matthias Urlichs
2005-06-28Added Perl git-cvsimport-scriptMatthias Urlichs
2005-06-13[PATCH] git cvsimport fuzz argumentTommy M. McGuire
Add "-z fuzz" argument, passed to cvsps, and clean up argument processing. Also, use "cvsps --cvs-direct", which is is somewhat faster. Give the user the option of specifying the timestamp fuzz passed to cvsps. Looking at the other arguments to it, I can't see anything else that would be sane to play with. Also, use --cvs-direct, which speeds up cvsps for remote repositories and doesn't seem to do anything bad to local repositories. Signed-off-by: Tommy McGuire <mcguire@crsr.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-13[PATCH] git cvsimport sanity checkingTommy M. McGuire
This patch adds some sanity checking to git-cvsimport-script, specifically forcing the use of cvsps -x (to get the latest information from the repository, rather than whatever is in the cache) and aborting early if cvsps does not produce any output. I debated removing the $MODULE directory following an abort, but I eventually decided leaving stuff behind would make debugging easier. On the other hand, this patch should help with the "cvsimport left me with an empty repository" complaints. Call cvsps with the -x flag, to get the current state of the repository, and abort the cvs import early if cvsps does not produce any output. Signed-off-by: Tommy McGuire <mcguire@crsr.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-13[PATCH] cvsimport: allow remote CVS reposTommy M. McGuire
Remove unneeded sanity tests. Remote repositories do, indeed, just work. Signed-off-by: Tommy McGuire <mcguire@crsr.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-07Add CVS import scripts and programsLinus Torvalds
This gets the "cvs2git" program from the old git-tools archive, and adds a nice script around it that makes it much easier to use. With this, you should be able to import a CVS archive using just a simple git cvsimport <cvsroot> <module> and you're done. At least it worked for my one single test. NOTE!! This may need tweaking. It currently expects (and verifies) that cvsps version 2.1 is installed, but you can't actually set any of the cvsps parameters, like the time fuzz.