cvs

autotools: force make not to rebuild configure/Makefile

雨燕双飞 提交于 2019-11-30 15:34:28
问题 I have a project with autotools: automake, autoconf. I want to prohibit make from remaking files configure , Makefile.in , etc; just to do compile job. Some of files are edited by hand, and I know that I should not to do this. (Or the project was updated from CVS with all generated files stored in CVS). But at the moment I have no correct version autotools installed. What must be modification times of this files (which must be newer/older): aclocal.m4 configure.in confdb/ax_prefix_config_h.m4

教你玩转Git-合并冲突

狂风中的少年 提交于 2019-11-30 13:39:13
Git 是一个开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。Git 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。Git 与常用的版本控制工具 CVS, Subversion 等不同,它采用了分布式版本库的方式,不必服务器端软件支持。 合并并不仅仅是简单的文件添加、移除的操作,Git 也会合并修改。 $ git branch * master $ cat runoob.php 首先,我们创建一个叫做 change_site 的分支,切换过去,我们将 runoob.php 内容改为: < ?php echo 'runoob'; ?> 创建 change_site 分支: $ git checkout -b change_site Switched to a new branch 'change_site' $ vim runoob.php $ head -3 runoob.php < ?php echo 'runoob'; ?> $ git commit -am 'changed the runoob.php' [change_site 7774248] changed the runoob.php 1 file changed, 3 insertions(+) 将修改的内容提交到 change_site

Initializing private repositories on production server

强颜欢笑 提交于 2019-11-30 10:38:19
What I want to do now is to initialize a private repository on my production server in to app's www folder (ex: /var/www/app.com/web/) and then clone it as a staging repository to my testing site (ex: /var/www/test.com/web/app.com/) and finaly clone from staging to local to work with the code. Am I planning it the right way? I am following these tutorials to learn more about setting the "git server" and initialize private repositories: http://progit.org/book/ch4-4.html https://moocode.com/posts/6-code-your-own-multi-user-private-git-server-in-5-minutes http://www.layeredthoughts.com/git

How can I list files in CVS without an initial checkout?

十年热恋 提交于 2019-11-30 08:16:24
How can I list files CVS without an initial checkout? In subversion I can simply do "svn ls http://svn.svn.com " in CVS how can I do this? For example I've got this CVS connection: pserver:anonymous@evocms.cvs.sourceforge.net:/cvsroot/evocms How can I list all files in it? UPDATE: I'm doing this: c:\>set CVSROOT=pserver:anonymous@evocms.cvs.sourceforge.net:/cvsroot/evocms c:\>cvs -list ---> doesn't work, prints out the help screen If it's a one-off operation you don't need to set the CVSROOT environment variable. Just use the -d argument for ad-hoc repository specification. If your version of

Subversion vs CVS [closed]

本小妞迷上赌 提交于 2019-11-30 06:13:10
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . 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

How to revert to previous commit in CVS

这一生的挚爱 提交于 2019-11-30 04:21:14
For legacy reasons, I'm using CVS on a project. Recently I committed some changes which broke our code and I needed to revert them. What's CVS's analog of git revert -r <old_revision> ? Looking at past questions like How to revert big change , CVS commits don't group the files that were changed. Is the only way to revert by using dates? Also, what's the best way to view past changes? CVS log outputs too much info, most of which is unnecessary. I want to see commit messages and changed files. CVS documentation can be found here , but from this site it tells how to revert a single file: MAKING

Eclipse CVS changelist

末鹿安然 提交于 2019-11-30 03:41:12
问题 Is there a way to see all the recently changed files in an eclipse project (including files recently changed by other CVS users)? Thanks. 回答1: The History view just shows the change log for a single file; there is no view to show the change log for all files in a folder or project. You need to use a different tool. If you use Maven, you can try the changelog plugin. If you use WinCVS, there is an option to generate a changelog. If that's also no option, try cvs2cl. 回答2: There is also an

ofbiz安装指南 (hsql/mysql/oracle+tomcat/apache)

时光怂恿深爱的人放手 提交于 2019-11-30 03:14:00
一、ofbiz 用自身数据库安装 1. 由 binary 安装: 由 binary 安装非常简单, 以下是安装方法: 下载ofbiz-2.0-beta1-complete.tar.gz, 注意不是ofbiz-2.0-beta1.tar.gz. tar xvzf ofbiz-2.0.beta1-complete.tar.gz cd tomcat/bin ./ofbiz.sh start galeon http://localhost:8080/webtools 2. 由 CVS 安装: 由 CVS 安装要稍微复杂一些. 由于 ofbiz 的更新非常快, 所以由 CVS 安装将获得最新功能. 以下是安装方法: mkdir ofbiz ln -s /PATH-TO-TOMCAT tomcat cd ofbiz export CVSROOT=:pserver:anonymous at cvs dot ofbiz.sourceforge.net:/cvsroot/ofbiz cvs login cvs co catalog cvs co commonapp cvs co core cvs co ecommerce cvs co lib cvs co ordermgr cvs co partymgr cvs co setup cvs co website cvs co webtools cvs

PostgreSQL syntax check without running the query

南楼画角 提交于 2019-11-30 01:17:37
I want to verify the syntax of files containing sql queries before they can be committed in my CVS project. In order to do that, I have a commitinfo script, but I have trouble finding out if the sql commands are valid. psql does not seem to have a dryrun mode, and constructing my own postgresql-dialact tester from the grammar (that is in the source) seems like a long stretch. The scripts may contain multiple queries, so an EXPLAIN cannot be wrapped around them. Any hints? I recently wrote up a utility to statically check the syntax of SQL for PostgreSQL. It leverages ecpg, the embedded SQL C

教你玩转Git-Linux 平台上安装

牧云@^-^@ 提交于 2019-11-29 23:29:12
导读 Git 是一个开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。Git 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。Git 与常用的版本控制工具 CVS, Subversion 等不同,它采用了分布式版本库的方式,不必服务器端软件支持。 在使用Git前我们需要先安装 Git。 Linux 平台上安装 Git 的工作需要调用 curl,zlib,openssl,expat,libiconv 等库的代码,所以需要先安装这些依赖工具。 在有 yum 的系统上(比如 Fedora)或者有 apt-get 的系统上(比如 Debian 体系),可以用下面的 命令 安装: 各 Linux 系统可以使用其安装包管理工具(apt-get、yum 等)进行安装: Debian/Ubuntu Debian/Ubuntu Git 安装 命令 为: $ apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \ libz-dev libssl-dev $ apt-get install git $ git --version git version 1.8.1.2 Centos /RedHat 如果你使用的系统是 Centos/RedHat 安装命令为: $ yum