cvs

Remove empty directory from CVS?

牧云@^-^@ 提交于 2019-11-28 20:07:43
I'm not quite sure how this happened, but somehow a completely empty hierarchy of directories has ended up in my repository: com/ com/companyname/ com/companyname/blah/ com/sun/ com/sun/java/ com/sun/java/jax_rpc_ri/ I think what happened was that these directories did have files in them, but then a developer realized he/she shouldn't have checked them in in the first place since these are by-products of the build process, so he/she removed the files but somehow the empty directories are left in the repository as ancient relics. How can I remove this from CVS? The only results I seem to be

What are the advantages of using SVN over CVS?

*爱你&永不变心* 提交于 2019-11-28 20:01:24
My company is using CVS as our de-facto standard for source control. However, I've heard a lot of people say that SVN is better. I know SVN is newer, but other than that, I'm unfamiliar with its benefits. What I'm looking for is a good, succinct comparison of the two systems, noting any advantages or disadvantages of each in a Java/Eclipse development environment. CVS only tracks modification on a file-by-file basis, while SVN tracks a whole commit as a new revision, which means that it is easier to follow the history of your project. Add the fact that all modern source control software use

How to import and keep updated a CVS repository in Git? [closed]

爷,独闯天下 提交于 2019-11-28 16:05:58
There is a central repository in CVS, and I would like to use it with Git locally, and then send my changes back to CVS. What can I accomplish that on a daily basis? The tasks I would like to accomplish are: importing branches, getting history in GIT-like format, and exporting back my changes/commits to the centralized server BTW, I have also looked at Best practices for using git with CVS . But It didn't work and I couldn't figure out what I missed or did wrong. gpoo What I have done in the past is: Import the CVS repository Using: $ git cvsimport -C target-cvs -r cvs -k -vA authors-file.txt

Subversion vs CVS [closed]

泪湿孤枕 提交于 2019-11-28 15:47:22
I've used both SVN and CVS a little bit, but will need to choose one for a new project I will be starting. Can anyone who has used both extensively please offer some pros and cons and which they think is better? Best learning resources would be appreciated too. This will be for a small project, just one or two developers to start. I've used both. There is no comparison; you want svn. The only reason to use CVS is because you are entering or taking over a legacy system with management that does not want to change the status quo. If you are starting on a new project, it is virtually a logical

linux下SVN CVS命令大全

旧巷老猫 提交于 2019-11-28 12:36:36
1、 将文件checkout到本地目录 svn checkout path(path是服务器上的目录) 例如:svn checkout svn: // 192.168 . 1.1 / pro / domain 简写:svn co 2、 往版本库中添加新的文件 svn add file 例如:svn add test.php(添加test.php) svn add * .php(添加当前目录下所有的php文件) 3、 将改动的文件提交到版本库 svn commit -m “ LogMessage “ [ -N ] [ --no-unlock ] PATH (如果选择了保持锁,就使用–no-unlock开关) 例如:svn commit -m “ add test file for my test “ test.php 简写:svn ci 4、 加锁/解锁 svn lock -m “ LockMessage “ [ --force ] PATH 例如:svn lock -m “ lock test file “ test.php svn unlock PATH 5、 更新到某个版本 svn update -r m path 例如: svn update如果后面没有目录,默认将当前目录以及子目录下的所有文件都更新到最新版本。 svn update -r 200 test.php

SCM choice for a new user? [closed]

痞子三分冷 提交于 2019-11-28 11:20:07
Real easy one here guys. Best justification gets the win. I'm a computer science student at a school you've heard of, and have been programming for several years now (about 8), so I've written a fair few lines of code. But since I've never really been distributing - source or binaries - nor doing team developing (though I'm sure I will!), I've never needed to learn source code management systems. I have a tremendously boring hierarchy of folders along the lines of src/project_name or src/class_code/hw_or_project_name and if I need to send the code to a friend or for grading, it's just a

Migrate from CVS to Git without losing history

橙三吉。 提交于 2019-11-28 03:49:15
I need to know if there is a way to migrate my code from CVS source control to Git? If yes, what about my history of commits? John Szakmeister I've not personally done a conversion from CVS to Git, but I believe Eric Raymond's cvs-fast-export is the tool to use. He has the man page posted here . cvsps is another tool maintained by Eric, but it has recently been deprecated in favor of cvs-fast-export . cvs2git is another tool which is built on some of the same machinery as cvs2svn . The latter was extremely adept, and so I have high hopes that cvs2git is equally good. One thing to note: CVS is

Reasons to prefer CVS over SVN or Git [closed]

ε祈祈猫儿з 提交于 2019-11-28 03:15:03
问题 I just found an open source project that still uses CVS. I wondered if there were still any reasons to prefer CVS over SVN or Git nowadays. (I don't count being too lazy to migrate as an answer! ;-) ) Does CVS have anything the other two lack? Say, support for $OS or $fancy_tool? In “What are the advantages of using SVN over CVS?” there are elaborated answers why not to use CVS. But I want to ask the other way around. CVS can't be all bad. Or is it? 回答1: I still use CVS for some of my own

Use a different diff command with CVS?

筅森魡賤 提交于 2019-11-28 00:39:53
问题 Is it possible to use a different diff program with CVS? I'd like to use something like meld to give me a side-by-side graphical view of the repository and my changes. It's out of my control to use a different CMS. What would be ideal is some undocumented command line argument that would work like this: cvs diff -prog /usr/bin/meld foo.cc This would give me a diff of my checked out, modified version of foo.cc with the repository version, but using the diff program meld. I realize an

Downloading Eclipse's Source Code [closed]

你。 提交于 2019-11-27 21:20:41
I'm doing a study on large Java projects and would like to view the source code for Eclipse. I have gone to this url ( http://wiki.eclipse.org/index.php/CVS_Howto ) and figured that the most useful cvs repository for me to look at would be this one: :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse (The Eclipse platform project) However, when looking at this repository, it has so many modules! Which modules should I be trying to check out? I don't necessarily want to build the IDE from source, however, I just want to get the core Eclipse code base to perform some analysis. Would I just check