cvs

How do I add execute permission to a file in CVS after it's already been checked in?

那年仲夏 提交于 2019-12-09 02:32:58
问题 We use CVS on Linux for software development. I noticed that one of the scripts I'm working on is missing the execute bit set in the CVS repository. Is there any way to add the execute bit back to the file? I think it involves modifying the repository directly, but I don't know how to do this. 回答1: Modify the permissions of the related ,v file in the repository. Per this article, the file is checked out with the same permissions as the ,v file in CVSROOT. 回答2: Cvs command option watch is also

Get revision number of a tagged file in WinCvs

我与影子孤独终老i 提交于 2019-12-08 17:24:48
问题 This seems like it should be so simple, but I can't find any solution that appears to work... I need a CVS command that given the name of a tag that you have applied to a file, it will give you the revision number. CVS Tree structure: (filename) | +--> 1.1-----(branch) | | | 1.1.1.1---(tag1) | | | 1.1.1.2---(tag2) | | | 1.1.1.3---(tag3) | | | : 1.2 | | : For example: Using a CVS command, given the tag name "tag2", how can I get CVS to give me the revision number "1.1.1.2"? The closest thing I

nginx 禁止访问.svn .git目录

﹥>﹥吖頭↗ 提交于 2019-12-08 13:52:11
一般网站都会采用svn或者git管理代码 这样会导致线上的目录下有.svn或.git文件夹,如果不做此限制, everyone可下载到你的代码。 location ~ .*.(svn|Git|cvs) { deny all ; } 来源: CSDN 作者: xpisme 链接: https://blog.csdn.net/u013303402/article/details/65070852

I want to separate binary files (media) from my code repositories. Is it worth it? If so, how can I manage them?

不羁的心 提交于 2019-12-08 08:26:52
问题 Our repositories are getting huge because there's tons of media we have ( hundreds of 1 MB jpegs, hundreds of PDFs, etc ). Our developers who check out these repositories have to wait an abnormally long time because of this for certain repos. Has anyone else had this dilemma before? Am I going about it the right way by separating code from media? Here are some issues/worries I had: If I migrate these into a media server then I'm afraid it might be a pain for the developer to use. Instead of

How to checkout project from head using CVS command using windows command prompt

对着背影说爱祢 提交于 2019-12-08 05:29:49
问题 I searched extensively to resolve my issue, However could not find any solution. Requirement: Need to checkout ADM project from HEAD. CVS server name : cvs02dv ( CVS is installed on windows ) CVS server directory: c:\cvs\dev (The location were all the files can be accessed using eclipse or any CVS client tool like smartCVS) Project to be checked out from HEAD: ADM Using eclipse I can access the files using pserver:user@cvs02dv:c:\cvs\dev I downloaded CVS client from below site, Unzipped in D:

Cannot find CVSROOT for file

丶灬走出姿态 提交于 2019-12-08 02:04:06
问题 We had trouble with our CVS server connection. Also I've migrated from IDEA 10 to 11 version. Now I have problem with CVS. I cannot update, add or commit project cause of this exception: Error: Cannot find CVSROOT for file C:\New\SMDPO But configuration of CVS is OK and I have sucess test connection. Does anybody know what's the problem? Thanks Upd: I have remote CVS server on Linux. I use Windows 7. Everything was same and worked before. 回答1: The problem is caused by the missing CVS folder

TortoiseCVS 操作参考手册

為{幸葍}努か 提交于 2019-12-07 19:34:38
TortoiseCVS 操作参考手册 本参考手册使用TortoiseCVS1.8.18进行实例说明。 1、设置工作目录 在目录“D:repository”下,存放三个配置库。配置库的名称分别为“cvstrain”、“cvstrain1”、“cvstrain2”。则在“D:repository”下分别新建“cvstrain”、“cvstrain1”、“cvstrain2”三个目录。如图1-1: 图1-1 2、检出配置库 在工作目录下,鼠标左键选中检出的配置库所对应的目录“cvstrain”,点击鼠标右键选择“CVS取出(K)…”检出配置库内容。如图2-1: 图2-1 弹出“取出模块”对话框。如图2-2: 图2-2 在“取出模块”对话框的选项中: “CVSROOT:”填入mail中的CVSROOT信息; “模块:”填入“.”; 配置库中的文件将开始下载到本地目录“D:repositorycvstrain”下。检出配置库完成。 如图2-3: 图2-3 配置库检出后文件夹图标变为 3、更新配置库 鼠标左键选中目录“cvstrain”,点击鼠标右键,选择“CVS更新(U)”。如图3-1: 图3-1 更新完成。如图3-2: 图3-2 4、修改、提交文件 文件修改后文件图标显示为 ,在修改的文件上鼠标右键选择“CVS提交(C)…”。如图5-1: 图5-1 在“提交”对话框中的“注释

Problems tagging and checking in files into cvs (Sticky tags)

穿精又带淫゛_ 提交于 2019-12-07 17:14:02
问题 I am having some trouble with checkout out files using a release tag and hope someone here can help. Basically my repository is structured like this module1 - src - jsp - conf module2 - src - jsp - conf A release can include changes in either module1 or module2 or both. There are several developers that could be working on any files in any of the modules. To work on a new release, we checkout the latest release (e.g. LIVE-REL-2.4) using the following command cvs checkout –r “LIVE-REL-2.4”

How to track CVS Check-Ins

家住魔仙堡 提交于 2019-12-07 14:33:49
问题 We recently created a branch out of the main branch of our code for the beta. Now I want to check what all files have changed in the branch in the last one week. How to get that information out of CVS. What is the command for this ? 回答1: From the command line: cvs log -r BRANCHNAME Do do it for a certain date-range: cvs log -r BRANCHNAME -d "1972-09-24" Where 1972-09-24 is actually your date you'd like to get items newer than. 来源: https://stackoverflow.com/questions/2781066/how-to-track-cvs

Get a CVS log/history similar to the “git log” command?

蓝咒 提交于 2019-12-07 06:40:21
问题 I'm a git guy, but now I have to use CVS in a project temporarily. I haven't been able to find a command that displays a nicely formatted chronological commit list with author, commit message, date and revision (and nothing else). Instead I get all sorts of useless information about RCS file, locks, etc, and cvs log seems to group commits by file rather than by date which makes it hard to get an overview of what has happened in a repository. Is there a way to do that, dear CVS experts? 回答1: