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 52013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:50:26+00:00 2026-05-10T16:50:26+00:00

One of our internally written tool is fed a cvs commit trace of the

  • 0

One of our internally written tool is fed a cvs commit trace of the form:

Checking in src/com/package/AFile.java;     /home/cvs/src/com/package/AFile.java,v <-- Afile.java     new revision: 1.1.2.56; previous revision: 1.1.2.55     done 

The tool then acquires the file from cvs by issuing a cvs update -r 1.1.2.56 command in a working directory that already have specific branch of code checked-out.

This commands work correctly if there is an existing version of AFile.java in working directory. But when we get a trace of a file that has no version in working directory the command is not able to acquire the file.

Is there a way to do it?

  • 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. 2026-05-10T16:50:26+00:00Added an answer on May 10, 2026 at 4:50 pm

    It is not clear what is your final goal: to bring whole repository into required state (choosen revision of the choosen branch) or to acquire the single file from the repository for further processing. I assume it is the latter.

    Then, you need this command:

    cvs checkout -r <revision> -p filename.ext > ~/tmp/filename.ext 

    This will dump to stdout specified revision of the specified file (or files), which could be redirected into temporary location and processed.

    Or you could use:

    cvs export -r <revision> -d ~/tmp module/filename.ext 

    , which would export (part of) repository to specified destination directory.

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

Sidebar

Related Questions

I have just re-written the authentication for one of our internal web applications to
I have started upgrading one of our internal software applications, written in ASP.NET Web
One of our underlying projects is packaged via NuGet and distributed (internally) so that
I'm developing an internal web app on our company intranet using PHP. One section
As part of one our system's we enable a user in the backoffice to
One of our servers has 4 gb of data. But as of now i
One of our products contains multiple WCF services whose business layers all sit on
One of our staff members has lost his mailbox but luckily has a dump
One of our user did an insert statement in development server. The insert worked
One of our applications is exhibiting poor network behavior on Vista due to the

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.