cvs

git - how do we verify commit messages for a push?

Coming from CVS, we have a policy that commit messages should be tagged with a bug number (simple suffix "... [9999]"). A CVS script checks this during commits and rejects the commit if the message does not conform. The git hook commit-msg does this on the developer side but we find it helpful to have automated systems check and remind ...

hg convert from cvs broke branches

I converted an old cvs repository into mercurial via "hg convert". Everything seemed to be okay (at least with the default branch) but all feature branches are missing files which haven't been changed in the branch. Is there any way to fix this up? I'm using version 1.5, convert has been done via "hg convert cvs/checkout newrepo". ...

Scalable (half-million files) version control system

We use SVN for our source-code revision control and are experimenting using it for non-source-code files. We are working with a large set (300-500k) of short (1-4kB) text files that will be updated on a regular basis and need to version control it. We tried using SVN in flat-file mode and it is struggling to handle the first commit (5...

Sell me Distributed revision control

I know 1000s of similar topics floating around. I read at lest 5 threads here in SO But why am I still not convinced about DVCS? I have only following questions (note that I am selfishly worried only about Java projects) What is the advantage or value of committing locally? What? really? All modern IDEs allows you to keep track of you...

long vs. short branches in version control

I wonder whether anyone knows some research done with the question "What is good/bad in long/short branches in version control?" I'm specifically interested in academic researches performed in this field. My questions are: What problems (or conflicts) long branches may produce and how to deal with them How to split a big task onto sma...

cvs to mercurial conversion gets tags wrong

I've tried all the recommended conversion techniques Mostly they manage to get the latest version of the files right, but every one of them trashes my history. Many (most?) of the tags from my cvs project have at least one file in error when I run "hg up $tag" My cvs repo is not all that complicated. Why can't anything convert it? I'd...

CVS server configuration

I have a CVS repository on Freebsd and a ssh access. When I use putty client connection is ok. CVSROOT=:/labs/cvs CVS_RSH=ssh But when I try to do checkout with TortoiseCVS CVSROOT :ext:root@server:/labs/cvs error occurs: cvs commit: warning: unrecognized response Access denied' from cvs server cvs commit: warning: unrecognize...

cvs - catch newly added files while merging forward from a tag?

In our usage, we branch for development and merge from time to time upwards. For example, branch A and B, develop on A and B for some time, then merge A to B. More than one merge occurs from A to B so we use merging point tags so that we only merge from A.X to B. The problem is that newly added files don't get tagged. So, if a file was...

How do you revert (roll back) to an earlier version of a committed file in CVS

Let's take for example a single file committed in CVS with the following history. test.cpp rev 1.1 rev 1.2 rev 1.3 How do I revert to rev 1.2 discarding the changes in 1.3 and then continue to make modification from that point on? ...

How do I check out Eclipse projects from CVS using the command line

Hi. I'm trying to check out the Mylyn project from Eclipse. However, I can't use Eclipse to check out the projects and am having to do it via the command line. I'm behind a firewall so am basing my attempt on http://wiki.eclipse.org/CVS_Howto#CVS_and_firewalls. I'm not very familiar with CVS. When I run my CVS command, it fails to co...

How to revert 'checkout readonly' in cvs

We're using cvsNT and Tortoise CVS client on windows machines. We had enabled 'Exclusive editing only' option in the client, and had selected 'Check out files read-only' while checking out the files (using 'Make New Module' option). We used the'Edit', 'Unedit' and 'Commit' method. Now, we want multiple developers to start working on the...

Eclipse CVS repository explorer

Hi, when I want to start CVS repository explorer, it cannot connect to the server. I entered something like "a.b.com" as "host" and "/c/d" as repository path. I entered my username and password and "module" name correctly. Does anybody know what the problem is? Thank you so much. shadi :) ...

how to get svn/cvs log record by java?

I want to cut the svn/cvs recods in pieces and then put in to database. After that i can make use of those data easily. Any java function can get out the record? and How? If possible, please provide a example. Thank you. ...

Is there a way to get CVS rdiff info using a branch, a revision, AND a date?

I want a list of everything that's changed on my project's branch, since a specified revision, but with a specified cut-off date... So, this is the command I would like to be able to run: cvs -q rdiff -s -r v2_release_3 -r myproj_v2_release -D 2010-04-10 myproj ...but, of course CVS only wants up to 2 revisions / dates and I just get ...

Arguments to convince to switch from CVS to SVN

Hi, The UNIX department of my company currently uses CVS as source-version control system. They use it in a very strange way: different repositories for development/testing/production code (for the same project), no one tags anything, weird directory architecture, and so on. The system has been set for ages but now, I have an opportuni...

Migrating from CVS to Mercurial - how to handle cross-repo symbolic links?

I have a project that is stored in CVS as numerous modules/repositories. In several of the modules the CVS tree has symbolic links to the files in another tree. For example, the internal support tools have links to binary files (DLL, EXE) that are created and stored in the C# module. In all cases, the files are modified only in in the...

Checkout multiple revision of one file in CVS repository

Hi, To checkout I use the following command CVSROOT="/home/projects/stuff/" cvs co mywork with the mywork directory I have text files as well as pictures, i.e., looks something like this - paper.tex - pic1.jpg - pic2.jpg etc. In particular, I am interested in checking out all the version of paper.tex over time. Is there a way how I...

How to get Hudson CI to check out CVS projects over SSH?

I have my Hudson CI server setup. I have a CVS repo that I can only checkout stuff via ssh. But I see no way to convince Hudson to check out via ssh. I tried all sorts of options when supplying my connection string. Has anyone done this? I gotta think it has been done. ...

Mercurial hg, am I doing it right?

We are in the process of converting from CVS to Mercurial hg. Our infrastructure is Windows 2003/IIS6 Each developer develop on their machine 1xDevelopement server 1xStaging server Production environment Here's what I have done so far: Installed Mercurial on my machine, on the development server and on the staging server. Created...

Converting from CVS to SVN to Hg, does 'hg convert' require pointing to an SVN checkout or just a repo?

As part of migrating full CVS history to Hg, I've used cvs2svn to create an SVN repo in a local directory. It's first level directory structure is: 2010-04-21 09:39 AM <DIR> . 2010-04-21 09:39 AM <DIR> .. 2010-04-21 09:39 AM <DIR> locks 2010-04-21 09:39 AM <DIR> hooks 2010-04-21 09:39...