cvs

Is there a way to get a short CVS status from command line?

空扰寡人 提交于 2019-12-31 09:15:48
问题 When doing a cvs update , you get a nice summary of the state of the repository, for example: M src/file1.txt M src/file2.txt C src/file3.txt A src/file4.txt ? src/file5.txt Is there a way to get this without actually updating? I know there is cvs status , but this is way to verbose: =================================================================== File: file6.txt Status: Up-to-date Working revision: 1.2 Repository revision: 1.2 /var/cvs/cvsroot/file6.txt,v Sticky Tag: (none) Sticky Date:

Revision Control System Recommendations

送分小仙女□ 提交于 2019-12-30 18:26:21
问题 I've reached a point in my independent development work where I would like to start using Subversion techniques. Up to now, I've been simply making backups by exporting my current database, and zipping them together with my PHP project files. I've read some articles online and watched a video with Linus Torvalds - the general verdict seems to be that Git is in and old CVS techniques are out. I'm not currently operating under Linux, I do all PHP work out of Windows -> Eclipse. Due to the fact

Emacs / CVS / OpenSSH: preventing password popup

混江龙づ霸主 提交于 2019-12-30 18:26:11
问题 I'm using GNU Emacs on my Ubuntu netbook in fullscreen mode. When I edit files that are under version control and hit C-x v v to commit the latest changes, an OpenSSH popup window will open and ask me for my password for the server on which my repository lives. Unfortunately, because of the fullscreen mode, the popup window will not come up front and I cannot enter my password. But it's still somehow modal, so I also can't go back to emacs and, say, leave fullscreen mode either (or do

How to run CVS in parallel with a (“centralized”) DVCS repository?

纵然是瞬间 提交于 2019-12-30 11:28:12
问题 At the moment I am investigating how to introduce a DVCS (in particular I am looking at Hg and Git) while retaining the CVS repository in parallel (or even just the access mechanism via the CVS protocol). There are some developers here that are very reluctant to switch from CVS, but running them in parallel should be fine if they can be synchronized automatically or have a CVS protocol frontend. The CVS repository has been manually edited (on-disk) in the past, but all seems to be consistent

Linux安装Git

拜拜、爱过 提交于 2019-12-25 22:28:31
(1)下载git压缩文件,使用当前的用户yum安装git,先下载再安装,其中有一次需要输入Y sudo yum install git-all 服务器回应,其实除了安装git之外,也会安装其他需要的依赖文件 Loaded plugins: fastestmirror, langpacks base | 3.6 kB 00:00 extras | 3.4 kB 00:00 mysql-connectors-community | 2.5 kB 00:00 mysql-tools-community | 2.5 kB 00:00 mysql57-community | 2.5 kB 00:00 openlogic | 1.3 kB 00:00 updates | 3.4 kB 00:00 Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package git-all.noarch 0:1.8.3.1-6.el7_2.1 will be installed --> Processing Dependency: perl-Git = 1.8.3.1-6.el7_2.1 for package: git-all-1.8 .3.1-6.el7

How can I revert a whole project to an earlier tag in CVS?

社会主义新天地 提交于 2019-12-25 08:57:25
问题 I have a poject that has thousands of files. I made some changes that affected almost half of the files. the changes included editing existing files and adding new files and directories. I need to revert all these changes and restore the project to how it was. I have created a tag before doing all this but I am not sure how I can restore the whole project from the tag 回答1: This is unfortunately the kind of thing that CVS is particularly not good at. I do not believe that you can lose the

Git - How can I reliably query if any files in master have been updated, via a merge or commit, since a period of time?

梦想的初衷 提交于 2019-12-25 06:43:22
问题 There are number of questions which try to map the CVS ability of cvs diff -D "1 days ago" to git: Git - How can I list all files changed on the master branch between two times? How can I get the diff between all the commits that occurred between two dates with Git? But from my understanding from the comments in this question: Does copying the Git bare repo change the log? performing git diff --name-only master@{"5 day ago"} master is local to your machine and can not resolve issues with

CVS2GIT- Conversion: Error “mark … not declared” when running git fast-import

笑着哭i 提交于 2019-12-24 21:39:15
问题 I'm trying to migrate an old cvs repository to git using cvs2git and git fast-import . The Export seemed to work fine, at least i did not notice any error messages. However, when i try to import the Dump files into my git repository with git fast-import --export-marks=C:\temp\git-marks.dat < C:\temp\git-dump.dat i get the following error: fatal: mark :52 not declared This is the generated crash report: fast-import crash report: fast-import process: 17584 parent process : 1 at 2019-01-09 14:52

CVS Sticky Tag for one instance of my IDE but no another

柔情痞子 提交于 2019-12-24 17:25:53
问题 I came in today and saw a bunch of sources listed as filename.pl 1.1 1.1 instead of filename.pl 1.1 in my Eclipse project Navigator. Trying to commit it gives me, for example: cvs commit: sticky tag '1.1' for file 'filename.pl' is not a branch Without resorting to swearing and smashing my work desk, how can I get rid of the sticky tags, I dont think I want to branch every bloody source file when I have to do commits, we're not using version control for any real project management, just to

Re-importing from CVS into Subversion

你离开我真会死。 提交于 2019-12-24 10:38:44
问题 The problem I'm trying to solve is not dissimilar to Subversion out of sync with production code, easiest way to update subversion but somewhat different. I converted a (Java) project from CVS to SVN (using cvs2svn, retaining full history) - say at version 1.00 Development on version 2.00 continued with the code in SVN. Meanwhile, some fixes were done in CVS (as the dev tool setup was different.) Now, what I need to do is effectively re-import part of the project from CVS. If I had cvs