cvs

How can a corrupted RCS file be safely removed from a CVS repository?

I'm seeing the following error when doing an update: cvs update: nothing known about src/java/com/foo/bar/SamplePageBean.java Also, when trying the view the directory containing that file using ViewVC we get soething like this: An Exception Has Occurred Python Traceback Traceback (most recent call last): File "/opt/bin/viewvc-1.0.5...

Rank Source Control Options-VSS vs CVS vs none vs your own hell

It seems like a lot of people here and on many programmer wikis/blogs/ect. elsewhere really dislike VSS. A lot of people also have a serious dislike for cvs. In many places I have heard a lot of differing opinions on whether or not using VSS or cvs is better or worse then using no source control, please rate the worst and explain why!!!!...

cvs - how do I find out if I need a new directory without `cvs up`?

I have written a shell script to show me what files need patching without actually doing a cvs up. It's just a simple cvs stat parser. But, it doesn't tell me if a new directory would come down with a new cvs up -d. Is there a way to find out if I'm missing directories that would be created with the next cvs up -d? ...

How to guerilla VC with git while forced to use CVS at work?

Hi, My place of work currently uses CVS. A git migration is planned but it might be a long time coming. In the mean time I have a one-man project, and have decided to use git for my own personal development. The branching, staged commits, rebasing etc. has been fantastic! But unfortunately at some point this project, and its history, ne...

CVS: get time and date when file was tagged

I am using CVS. I checked in a file, then later tagged it. Is there any way to get the date when it was tagged? I tried running cvs log and I found the date when it was checked in, but not when it was tagged. ...

DVCS how structure with large integrated code base, with multiple projects sharing much common code?

I have a cvs repository, with mostly java code. Each package sits in it's own top level dir, like so, with the sourced laid out in typical java fashion. $CVSROOT/my.domain.module1/src/my/domain/module1 $CVSROOT/my.domain.module2/src/my.domain/module2 $CVSROOT/my.domain.share1/src/my/domain/share1 This means we can write build scripts...

How do I disable logging for CVSROOT in loginfo?

I'd like to disable logging for the module CVSROOT. I tried: ^CVSROOT /bin/cat > /dev/null but that fails with this error: /bin/cat: >: No such file or directory /bin/cat: /var/cvs/globus/base2/CVSROOT: Is a directory It seems CVS appends some default parameters when I don't specify anything. But I can't use /bin/cat ${sVv} because...

How can I get the correct user in a mail filter in CVS loginfo?

I have a single CVS user (cvs) on my Unix box and I map all CVS users to this user via CVSROOT/passwd. When I do this, all mails are sent by the user cvs. I'd like to show the name of the committer in the mail subject (or even as the sender of the mail). Is there any other way than creating a real Unix user? ...

Using ant to add directories to CVS

How do I add a new directory into my CVS repository using Ant? From all that I've read, it appears that I have to cd to the parent directory and call the cvs command. How do I do that in Ant? I've seen approaches where an to cd is called in Ant; is that the best approach? Eg of what I am trying to do: Let's say I have a module Test_Mod...

How to have CVS files in different directory than source files in NetBeans?

I have a project in NetBeans which haven't used CVS until now. Let's say the directory with source files is called /www/source_files and directory with project files /www/project_files. Module in repository is called differently than source files directory. When I'm trying to check out CVS, it forces me to create a directory called exact...

Eclipse can't see content in CVS Repository

I'm trying to check out files from our CVS Repository (I have access, but I don't have repository admin access), but I'm running into an issue where certain sub-folders of the module in question aren't displaying their contents, and they are failing to do so consistently. That is, certain folders do display their contents, while others d...

CVS: Modules vs Subdirectories

Does anyone know what is the best approach to define structure of modules/directories in CVS? Specifically what if I have big project that could possibly has many sub-projects (even not related). Is it better to define module for each sub-project or use subdirectories: Approach #1 Modules CVSROOT Main Project Platform A Sub-project1...

recent cvs cygwin newline windows problems. How to solve?

Hi all, One of our projects still uses CVS. Recently (sometime in the past year) the Cygwin cvs client (currently using 1.12.13) has given me problems when I update. I suspect the problem stems from windows/unix newline differences. It worked for years without a problem. Here are the symptoms. When I update from the command line, I ...

checkout files simultaneously in perforce

In CVS we cant check out the files simultaneously. Can anybody tell ....whether in perforce can we checkout files simultaneously? And i heard about locks on the files. Before merging the file do we need to have a lock on them in perforce? ...

How to resolve CVS error: cannot rename file CVS/Entries.Extra.Backup to CVS/Entries.Extra: Bad address

I've checked out a module from CVS onto a newly installed Windows 7 machine. The virus scanner has not yet been installed. Later, when I try to do an update, I get the following error message: cannot rename file CVS/Entries.Extra.Backup to CVS/Entries.Extra: Bad address Has anyone seen and resolved this issue before? ...

What is bzr for cvs export?

With cvs one can export the files that have a specific tag and get no cvs meta data included such as with this command: cvs -z3 -d:ext:[email protected]:/cvsroot/emle export -R -r BL0123 -d emle030205_BL0123 emle What is the corresponding bzr command where the launchpad.net branch is lp:emle and the tag is BL0123? ...

File with .cpp,v extension

Hi I 've a c++ code. but its with .cpp,v extension. I want to debug and compile the code. Can anyone please throw some light on that topic. I want to know what v indicates? & how to debug the code? ...

Eclipse CVS changelist

Hi Is there a way to see all the recently changed files in an eclipse project (including files recently changed by other CVS users)? Thanks. ...

How do I use cvs to compare two points in time on a branch?

I can use something like: cvs.exe rdiff -D2010-03-23 -D2010-03-24 -s "ProjectName" to get the changes which occurred on the 23rd. But I want to get the changes that were checked in on the 23rd on a specified branch - and if I add in a -v branchv1-0-0-0 into that it tells me I can't have more than two dates/revisions in one query. Any s...

CVS Error when using anonymous user and pserver

Hi, I have setup an anonymous cvs user to be able to check out my project from cvs without having to enter a password. However, when I try to login to cvs using the following command cvs -d :pserver:anonymous@[HOSTNAME]:/home/cvs/cvsroot login and then presss enter when prompted for a password CVS Password: I get the following erro...