cvs

Determining the datetime of a specific tag on a specific module in CVS

房东的猫 提交于 2019-12-24 09:24:21
问题 I need to determine the exact date/time of a specific tag on a specific module in CVS. Can you please help me how can I do this - using eclipse CVS plugin especially? Thanks in advance. 回答1: I don't think you can. Tags in CVS don't have an existence outside of the files that have that tag, and file either has the tag, or it doesn't. That's why it's a good idea to put a timestamp in the tag name, when you tag it. 回答2: You can apply the same tag to two different files at different times, so

CVS command to get the current revision number of file

怎甘沉沦 提交于 2019-12-24 01:18:15
问题 I need a simple way to get the revision of file using cvs. I can get it using the CVS/Entries file. It is not safe and I think there must be another way. cvs log prints too much than I need. How can I get only the revision number of some file using cvs commands. 回答1: cvs log -h shows just the header information. To get just the version, it's easy enough to filter that through sed, awk, or Perl. This gives you the version in the repository. If you want the version of the checked-out file, you

What do you call the tags in Subversion and CVS that add automatic content?

喜欢而已 提交于 2019-12-24 00:49:24
问题 Things like $log$ and $version$ which add data upon check-in to the file. I'm interested in seeing the other ones and what information they can provide, but I can't get much info unless I know what they are called. 回答1: Both Subversion and CVS call them Keywords . Have a look in the SVN manual here (scroll down to svn:keywords ) or here for CVS. 回答2: In SVN these are simply called "properties". You can read about them in the SVN book: http://svnbook.red-bean.com/en/1.8/svn.advanced.props.html

Get all revisions from CVS repository

左心房为你撑大大i 提交于 2019-12-23 22:17:03
问题 I have set the correct CVS Root, within this root I have a repository which contains a number of files. In particular, I am interested in the revisions of one of the files, lets call it test.tex. Now I would like to get ALL different versions of this file, from the repository. Is there somehow a command that I could use to do that? Or do I need to extract them one after the other? Many thanks! 回答1: There is no cvs command to check out all revisions of one file. But with bash (or some other

How to change CVS username for a project that I imported

别等时光非礼了梦想. 提交于 2019-12-23 17:19:11
问题 I imported a project from a colleague's workspace in eclipse. I made some modifications to the project and now I want to commit the changes to CVS. When I try to commit the changes, it has my colleague's username and asks for his password. It won't let me change the username to my username in the pop-up box. Is there a way to change the username associated to CVS for an individual project in eclipse? 回答1: Just associate new repository (could be the same but with different credentials) with

cvs checkout time series

核能气质少年 提交于 2019-12-23 13:10:21
问题 We have a cvs archive, and I can get any version of any file I want. However, is there any way to just get the code as of a certain date and time? I don't see any options to request that. I'd like the ability to walk through a cvs archive day by day and do metrics automatically, perhaps a visualization of what happened to the code over time. 回答1: You can check out a specific date: cvs co -D "2010-10-10 22:15:59 GMT" mypath/myfile See e.g. http://www.manpagez.com/man/1/cvs/ for the detailed

Convert cvs to mercurial

自闭症网瘾萝莉.ら 提交于 2019-12-23 08:00:43
问题 I'm trying to convert a CVS repository to mercurial but can't get it to work. I start with a clean checkout: cvs -d :sspi;username=xxx;hostname=yyy.local:/cvsrepos checkout repo Which works fine I then do: hg convert . But it fails with: assuming destination .-hg initializing destination .-hg repository connecting to :sspi;username=xxx;hostname=yyy.local:/cvsrepos abort: unexpected response from CVS server (expected "Valid-requests", but got 'E cvs [server aborted]: Root :sspi;username=xxx

What is the meaning of this decorated folder icon in Eclipse/CDT project explorer?

纵饮孤独 提交于 2019-12-23 07:05:03
问题 What does this special folder icon in CDT/Eclipse project explorer mean? The bluish thingy looks like a key or screw or some kind of tool. I guess it has something to do with CVS. I couldn't find the info in the Preferences > Appearance > Label Decorations settings. 回答1: The wrench icon over a folder or file means that it is overriding some of the build settings inherited from its parent. If it's there by accident, you most likely right-clicked that folder instead of the entire project and

Getting commitid or 'git describe' with git-cvsserver and a CVS working copy

[亡魂溺海] 提交于 2019-12-22 18:49:36
问题 I have some automated tools that are accessing a git repository through cvs and git-cvsserver . I would like these tools to be able to see the commit ID of the content that they checked out. Is this recorded somewhere in the CVS metadata directory? 来源: https://stackoverflow.com/questions/2284516/getting-commitid-or-git-describe-with-git-cvsserver-and-a-cvs-working-copy

source file control cvs to svn conversion?

我只是一个虾纸丫 提交于 2019-12-22 18:38:49
问题 Hey guys. I currently use cvs to control all my source files but want to move away from cvs to svn. Could anyone give me some pointers? I have loads of projects but they are all similar therefore would like to just have the structure: Trunk. /prj1,2,3, etc Branch. As above Tag. As above I am going to be using the cvs2svn tool, have read the documentation but am still new to all of this. Can my projects all be converted with one command line instruction? Am I right that before doing all this I