cvs

Use the commit message in a CVS pre-commit hook

Is it possible to use the commit message in a pre-commit hook in CVS? The CVS server is running remotely, and I access it using pserver. Ideally, I want to allow the commit if the files pass the filter or the commit message contains certain text. I don't have a choice to use another versioning system. ...

Eclipse CVS ignores .class files -- how can I turn that off?

I would like to commit new .class files into CVS via Eclipse, but these files get ignored, and I'm not sure where to turn that off. The Preferences windows a section for doing this, but .class isn't listed. ...

Inverting a diff or patch || CVS diff

In CVS, my working copy (WC) is on a certain branch (which we'll call "foo"). There have been other changes checked into foo by another dev. I want to do a diff between my WC and the upstream state of foo. Normally, when working in the trunk (HEAD), I just do a cvs diff, and that's fine. But for some reason when doing a plain cvs dif...

Subversion: To edit or not to edit commit-comments

Hello all, I'm having a discussion with the management about Subversion practices. I've asked them to tell the administrator to configure our Subversion repository so it's possible to change the commit comments afterwards, in case I missed something even of the proof-reading :-). My arguments are, Log messages which needs to be impro...

What would be a good version control system for a small Delphi team?

Possible Duplicates: Source control system for small database dev team good version control software for Delphi 2009 We are a small team of 4 developers and need a good version control system for use in-house. 2 of the developers work remotely from home and 2 mostly in the office. We are Delphi developers so would like somet...

CVS Pre-Checkout Hooks

Is there a way to run a script before a checkout operation is performed? I want to be able to display a message and then prompt the user for input before deciding to continue. E.g: "This branch is no longer used by customer X. Do you want to continue? [y/n]" ...

CVS silently brings back deleted code during update

Our team has noticed that CVS brings back deleted code if you have changes in your working file within the block of code that has been deleted. CVS does this silently without presenting the merge conflict markings. Does anyone have a work around for this? Is there a clever way to detect that this is about to happen? ...

CVS patch with added files under Windows

I have a CVS tree with some modified files and some new/added. I use: cvs -q -x diff -u To generate a patch that lists all the changes. However, it lacks the newly added files. Im doing some googling to find the correct parameter flag but I dont have much luck. Anyone with wisdom to share? (This is on Windows but I assume it doesnt ...

Build problems with Visual C++ project after checking in and checking out from CVS

Hi, I am building a cross platform product and one of the requirements is across windows(win32,AMD64 and IA61). The product as is relatively simple CLI but we have a separate build team who checks out the code from CVS and build in separate build environments. I am able to build succesfully(using Visual C++ 2005) in one platform(AMD ma...

Mercurial: Problem converting Windows cvs repository to mercurial

I’m trying to convert an existing Windows CVS repository to Mercurial and getting the following response and error: C:\Windows\system32>hg convert c:\users\jeff\webs\shelter-cvs\shelter assuming destination shelter-hg initializing destination shelter-hg repository connecting to :local:c:\cvs abort: unexpected response from CVS server ...

Add Tomcat repository to Eclipse

I have installed Tomcat6 and eclipse, and don't know how to add a Tomcat server to Eclipse: File=>new=>Other=>CVS "Add a new CVS repository in Eclipse" Host: localhost Path: /usr/share/tomcat6 User:anonymous Connectionstype: pserver + Use default port In Preferences SSH2 => SSH2 home : /etc/ssh "Could not connect to pserver:anonymous@...

What is CVS "pserver" mode?

Hi folks. Could someone tell me exactly what the "pserver" mode is, in regards to CVS? The term "pserver" is used frequently, but I've yet to find an explanation of what it actually is. If "pserver" is a special mode, then I assume there is a default mode as well. If so, what is the difference between the two? ...

How to search CVS repository ?

The company which I work for uses CVS as source control and we have an intranet application(Source forge) which expose the repository i.e. we can see the source file using that interface but it does not provide any search facility where I can search for the code snippets for the given keywords. I want to write an application which can s...

Generate list of of files (with revision) which belongs to a specific cvs-tag

Hello together, is there a way to generate a list of of files which belongs to a specific cvs-tag with revision. e.g projectname_a includes following files - file_1 rev 1.1 - file 2 rev 1.40 ... ...

Problems with team ... switch to another branch in Eclipse

I'm working on a project in Eclipse that has a backend on CVS. When I installed the project, I set up a CVS repository and used eclipse to determine all the branches (via the "Perform Deep Search" dialog), and then used the CVS repository to "Check out into an existing project." Everything works fine, CVS checkout, update, commit. Fast ...

Any technical problems with long CVS version numbers?

Our project has a history of creating new branches in CVS from existing branches. After several years, this has led to this situation on the files that are changed in every release: new revision: 1.145.4.11.2.20.2.6.2.20.2.1.2.11.2.3.2.4.4.4.2.5.2.1.2.1.2.6.2.23; previous revision: 1.145.4.11.2.20.2.6.2.20.2.1.2.11.2.3.2.4.4.4.2.5.2.1....

Versioning SQL Server DDL code

I'd like to have all DB DDL code under CVS. We are using Subversion for our .NET code. But all Database code remains still unversioned. All we know how important DB logic can be. I've googled but I've found only few (expensive tools) I believe there exist other (cheaper) solution(s) I'm wonder your approach. How do you implemente...

Cygwin CVS - Cannot allocate memory

In creating a sandbox (checkout) from our CVS repository using Cygwin CVS and having direct filesystem access (NTFS), I am getting the error: [checkout aborted]: Could not map memory to RCS archive {archive_path}: Cannot allocate memory The archive file found at {archive_path} is 1.005G (1052905061 bytes) on disk. Doing a checkout w...

Hudson: How to set cvs program location on different platforms?

Ex: Windows: c:\cvs\bin\cvs Aix: /tools/bin Ubuntu: /storage/bin ...

Source Control - If, Why, How to start?

Possible Duplicate: Using Source Control So, although even here on stackoverflow are literally dozens things on version control, i can't find something nice to answer all my questions. If you have anything to say or post a link, please do it here. 1., Do I need to start with version control? While most people agree, that even ...