cvs

Convert git repository file encoding

只愿长相守 提交于 2019-11-27 19:43:42
I have a large CVS repository containing files in ISO-8859-1 and want to convert this to git. Sure I can configure git to use ISO-8859-1 for encoding, but I would like to have it in utf8 . Now with tools such as iconv or recode I can convert the encoding for the files in my working tree. I could commit this with a message like converted encoding . My question now is, is there a possibility to convert the complete history? Either when converting from cvs to git or afterwards. My idea would be to write a script that reads each commit in the git repository and to convert it to utf8 and to commit

Diffing between two entire directories/projects in hg or git?

会有一股神秘感。 提交于 2019-11-27 18:06:36
I inherited a project originally stored in CVS with all the revisions. I made quite a few edits, and I'm trying to compare all the changes I made in the original directory, in regards to new files added versus the old ones. Is there some sort of utility for hg/git where I can do a tree diff, or something of that nature? So that say, there's a mark between newly added files, deleted files, am I asking for too much? git diff does exactly that. but it only works for git projects. hg diff , svn diff pretty every version control system can diff directory trees To simply create a diff patch in git's

Remove empty directory from CVS?

折月煮酒 提交于 2019-11-27 12:44:29
问题 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

Eclipse中CVS版本管理

非 Y 不嫁゛ 提交于 2019-11-27 12:33:58
Eclipse中CVS 版本管理 1.1 CVS 简介 CVS 是 Concurrent Versions System (并发版本系统)的简称。它是一个开放源代码的项目,是当前最流行的版本控制系统,目前绝大部分 Open Source 项目都使用它来做版本管理。微软的 VSS 也可以用来进行 Java 项目的版本管理,但在学会使用 Eclipse 后,使用 CVS 。 CVS 采用客户机 / 服务器体系,代码、文档的各种版本都存储在服务器端,开发者首先从服务器上获得一份复制到本机,然后在此基础上进行开发。开发者可随时将新代码提交给服务器,也可以通过更新操作获得最新的代码,保持与其他开发者的一致。 由于 Eclipse 本身内置了 CVS 客户端,只要再建立一个 CVS 服务器就可以使用这一功能强大的版本控制系统。 CVS 的功能虽强大,但一般项目通常只用到其 20% 的功能,所以只要了解最常用的操作就可以了。本系统是的是 Eclipse 3.0.1 版本,下面将以面向实际项目使用需要的方式来介绍 CVS 。 1.2 CVS 服务器端的安装与配置 CVS 起源于 UNIX/Linux 平台,由于我们平时大多使用的是 Windows 系统,所以在 UNIX/Linux 平台下安装使用 CVS 服务器端的方法,我们不再重复。 CVS 服务器在 Windows 平台的版本: CVSNT

CVS安装

隐身守侯 提交于 2019-11-27 12:33:41
1.安装之前要检查系统是否已安装了CVS,cvs-version,如果没有出现版本信息,则要安装;如果出现以下信息 Concurrent Versions System (CVS) 1.11.23 (client/server) Copyright (C) 2006 Free Software Foundation, Inc. Senior active maintainers include Larry Jones, Derek R. Price, and Mark D. Baushke. Please see the AUTHORS and README files from the CVS distribution kit for a complete list of contributors and copyrights. CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. Specify the --help option for further information about CVS 表示已安装成功 2.安装yum install cvs 3.which

Eclipse中使用CVS

一世执手 提交于 2019-11-27 12:33:25
在Eclipse中使用CVS由于集成紧密,非常方便。 以Windows XP为例。首先,安装cvsnt,重启后服务自动启动。然后打开eclipse3.01,它默认已经安装cvs插件了。打开或者新建一个Java项目,在项目上点击右键-Team-Share Project,按照一般规则建立代码库(详细情况见 http://www-900.cn.ibm.com/developerWorks/cn/java/l-cvs/index.shtml )。 但是直接commit会出现以下错误: 这时,只要在cvsnt中稍加配置即可,见下图: 注意选中鼠标所指的单选框,作用是使用Unix的风格,否则eclipse不能正常处理所有操作(有些操作是eclipse独特的功能)。 来源: http://www.cnblogs.com/seagle0128/archive/2004/11/04/60183.html

Eclipse中CVS使用

萝らか妹 提交于 2019-11-27 12:33:09
  原文地址:http://hi.baidu.com/xublog/blog/item/6579e60e8364fdcc7bcbe19e.html   CVS是Concurrent Versions System(并发版本系统)的简称。它是一个开放源代码的项目,是当前最流行的版本控制系统,目前绝大部分Open Source项目都使用它来做版本管理。如果你还习惯用微软的VSS来进行Java项目的版本管理,那么用上Eclipse后,建议还是转为使用CVS。   CVS采用客户机/服务器体系,代码、文档的各种版本都存储在服务器端,开发者首先从服务器上获得一份复制到本机,然后在此基础上进行开发。开发者可随时将新代码提交给服务器,当然也可以通过更新操作获得最新的代码,保持与其他开发者的一致。   Eclipse本身内置了CVS客户端,只要再建立一个CVS服务器就可以使用这一功能强大的版本控制系统。CVS的功能虽强大,但一般项目通常只用到其20%的功能,所以只要了解最常用的操作就可以了,本章将以面向实际项目使用需要的方式来介绍CVS。   首先,启动Eclipse,然后选择菜单 Window->Show View->Other,打开CVS->CVS Repositories,就会出现如下图所示(下次再想打开可以点击eclipse右上角的选项切换):  然后点击按钮 ,或者在空白出右键->new

CVS in Eclipse in Ubuntu

陌路散爱 提交于 2019-11-27 12:32:47
http://help.eclipse.org/helios/index.jsp Work together in the same branch Team - Update : Update local files with remote files except local files modified. Team - Synchronize with Repository : Modified files appear in Synchronize view. If conflicts happen, you have three options: accept changes from remote files (Override and Update) ignore changes from remote files (Mark as Merged) manually merge the files within the compare editor, then (Mark as Merged) Team - Commit : Commit local files to remote files. Work in different branches and Merge branches Team - Branch : Create a new branch from

What are the advantages of using SVN over CVS?

断了今生、忘了曾经 提交于 2019-11-27 11:52:11
问题 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. 回答1: CVS only tracks modification on a file-by-file basis, while SVN tracks a whole commit as a new revision, which means that it

Difference between GIT and CVS

有些话、适合烂在心里 提交于 2019-11-27 09:57:53
What is the difference between Git and CVS version control systems? I have been happily using CVS for over 10 years, and now I have been told that Git is much better. Could someone please explain what the difference between the two is, and why one is better than the other? Jakub Narębski The main difference is that (as it was already said in other responses) CVS is (old) centralized version control system, while Git is distributed. But even if you use version control for single developer, on single machine (single account), there are a few differences between Git and CVS: Setting up repository