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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:03:39+00:00 2026-05-11T21:03:39+00:00

How can I list files CVS without an initial checkout? In subversion I can

  • 0

How can I list files CVS without an initial checkout?

In subversion I can simply do “svn ls http://svn.svn.com” in CVS how can I do this?

For example I’ve got this CVS connection:

 pserver:anonymous@evocms.cvs.sourceforge.net:/cvsroot/evocms

How can I list all files in it?

UPDATE:

I’m doing this:

c:\>set CVSROOT=pserver:anonymous@evocms.cvs.sourceforge.net:/cvsroot/evocms
c:\>cvs -list ---> doesn't work, prints out the help screen
  • 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-11T21:03:39+00:00Added an answer on May 11, 2026 at 9:03 pm

    If it’s a one-off operation you don’t need to set the CVSROOT environment variable. Just use the -d argument for ad-hoc repository specification.

    If your version of CVS/CVSNT is not too old (to be exact you’d need either CVS 1.12.8 or higher or CVSNT) then, as others have said, after having logged in

    cvs ls
    

    should work just fine.

    If your version of CVS/CVSNT does not support the ls command then you can try

    cvs checkout -c
    

    which will only dump the list of predefined modules.

    If your version of CVS/CVSNT is old enough you might get lucky with the following hack (does not work with more recent versions of CVSNT unless compatibility mode has been enabled on the server):

    First check out the root of the repository to some temp location , so we have the necessary metadata:

    cvs -d[your CVSROOT string] co -l -dTemp .
    

    Then simulate an update (with directories) of that folder:

    cd Temp
    cvs -n up -d
    

    This will emit (almost) the same output as an actual checkout without actually getting the files from the server.

    If you’re on Windows and using a fairly recent version of CVSNT as the client then cvs ls will actually automatically fall back to this mechanism when it detects a server that does not support ls itself.


    Oh yes, and AFAICT there is no such thing as cvs -list. It’s not even valid CVS command line syntax: -list would have to be a global argument rather than a command as it follows directly after the cvs and there is no actual command specified. But then again, all multi-letter arguments (such as --help) would have to start with a double dash, e.g. cvs --version. Were you all maybe thinking of cvs list which would be a mere alias for cvs ls?

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

Sidebar

Ask A Question

Stats

  • Questions 115k
  • Answers 115k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer \b in regular expressions match word boundaries (i.e. the location… May 11, 2026 at 10:20 pm
  • Editorial Team
    Editorial Team added an answer - (id)navControllerFromView:(Class)viewControllerClass It's just Class, without the asterisk. (Class isn't… May 11, 2026 at 10:20 pm
  • Editorial Team
    Editorial Team added an answer Microsoft's Project Real is an excellent example of many many… May 11, 2026 at 10:20 pm

Related Questions

There is a legacy CVS repository, which contains a large number of directories, sub-directories,
I have yet to come up with a satisfactory way to manage the development,
How can I determine the list of files in a directory from inside my
Given a path c:\someFolder\**\*.exe. How can I get a list of files using this
I am writing a shell script that takes file paths as input. For this

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.