Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7567215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:36:34+00:00 2026-05-30T14:36:34+00:00

I am using git cvsimport to work with a cvs server, and it works

  • 0

I am using git cvsimport to work with a cvs server, and it works fine.
However, some very old projects have many commits and large files. It causes cvsimport to spend a long time checking out all commits and converting them to git format.

I cvsimport like this:

git cvsimport -v -a -d :pserver:qrtt1@localhost:/cvs cvsroot/my_module

Is it possible to select commits after some date?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T14:36:35+00:00Added an answer on May 30, 2026 at 2:36 pm

    In theory you should be able to use the -p option of git cvsimport in conjunction with the -d option of cvsps. Here are the two relevant extracts from the man pages:

    git cvsimport:

    -p < options-for-cvsps >

    Additional options for cvsps. The options -u and -A are implicit and should not be used here.

    If you need to pass multiple options, separate them with a comma.

    cvsps:

    -d < date1 > -d < date2 >
    if just one date specified, show revisions newer than date1. If two dates specified, show revisions between two dates.

    Unfortunately when I used it, cvsps complained about the date:

    $ git cvsimport -v -d <cvsroot> -p "-d '2012/01/01 00:00:00'" <module>
    Running cvsps...
    
    bad usage: invalid argument -d '2012/01/01 00:00:00'
    
    Usage: [...]
    
    git cvsimport: fatal: cvsps reported error
    

    Running cvsps by itself accepts the date though, so doing this as a two step process should work.

    cvsps -d '2012/01/01 00:00:00' > patchset
    git cvsimport -d <cvsroot> -P patchset <module>
    

    You can examine the output of cvsps to confirm that it only has changes after the date you specified, before running the lengthy cvsimport command.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been using Git on Linux for about a year, and everything works fine.
I recently started using Git as my version control system for some Cocoa projects
so i'm using Git as my source control repo. At work, I do some
We're using git-cvsimport to periodically copy changes from cvs into git For better or
I'm using Git under Ubuntu Linux to sync and deploy my projects. I have
I'm comfortable using git, and I prefer it very much over CVS. Unfortunately, in
How to convert a CVS repository to a git repository? I have tried using
I am using git-cvsimport on Debian 6.0 to import a CVS repository to a
In order to import a revision of a CVS module, I am using: /usr/lib/git-core/git-cvsimport
I've been using git for some time now on Windows (with msysGit) and I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.