cvs

Is there a way to prevent code comments to be marked as changes in the diffs obtained from version control? (CVS/SVN)

折月煮酒 提交于 2019-12-12 01:45:02
问题 Is there a way to prevent code comments to be marked as changes in the diffs obtained from version control? (CVS/SVN) I hate the differences showing 100's of changes when there are only a handful due to the update in the comments for CVS info like log or id. 回答1: How could you expect a source control system to store a new version of the file and then ignoring the fact it has stored a new version? 回答2: Comments themselves would be counted as changes - however you could run the code through a

cvs rlog not working as expected against a branch

岁酱吖の 提交于 2019-12-11 19:55:05
问题 Version info: Client: Concurrent Versions System (CVSNT) 2.0.4 (client/server) Server: Concurrent Versions System (CVS) 1.11.22-FCDQ_LEGO-2.2 (client/server) The "portailInt" module is stored on the CVS repository. Branch "d-chg00014229_op_brc_preimp-op-2012-02-27" was created on February 27th 2012 and many changes have been committed to this branch since then. When running the following command: cvs rlog -S -rd-chg00014229_op_brc_preimp-op-2012-02-27 -d"01 Mar 2012 00:00:00 -0400 < 31 Mar

convert from cvs to bzr

这一生的挚爱 提交于 2019-12-11 15:48:27
问题 cvsps-import doesn't support pserver bzr-fastimport doesn't support remote locations tailor is too hard bzrcvsserve isn't a conversion tool SourceForge is remote, uses pserve and many python bookmark projects (what I'm looking for) are in CVS... What now? 回答1: If your CVS repository hosted on SourceForge then you can download entire repo via rsync and then use bzr-fastimport with cvs2svn (cvs2bzr) tool. 回答2: You could import into a local temporary git repository and then import into Bazaar

How do you rename a branch in CVS without admin access?

这一生的挚爱 提交于 2019-12-11 15:17:57
问题 A separate question covers How do you rename a branch in CVS? assuming you have access to cvs admin commands. Is it possible to do this without using cvs admin commands? 回答1: Do you mean "rename" or "renumber?". Branch tags are a bit weird in CVS. The tag name is sort of special in that it labels a branch revision as opposed to a version revision. You can create a new branch at the same point you created the last branch (so long as you have a tag there), and then delete the old branch tag

Mercurial Acl Extension deny pull of some files

谁说我不能喝 提交于 2019-12-11 08:59:12
问题 I'm new mercurial user. I setup the acl extension adding this into my hgrc file: [hooks] pretxnchangegroup.acl = python:hgext.acl.hook [acl] sources = serve pull push [acl.deny] ** = mercurial So with this code above I deny access to all files to user "mercurial". I successfully tested the acl extension and it works perfectly when I try to push to my central repository on which I put the code above. As expected I receive message that the access for the user "mercurial" is denied. Now the

CVS Bridge to SVN

我与影子孤独终老i 提交于 2019-12-11 07:35:14
问题 I know there is TortoiseCVS, but I'm wondering if there is an easy way of sucking down source code in a CVS repository, just using SVN tools (without having to install CVS tools). Since SVN seems to have taken the preferred spot in OSS, I have to believe somebody has written a tool that will map CVS databases to SVN repositories. EDIT Based on a few responses, while migrating off of CVS to SVN is cool, mostly I'm looking for a way for me to use my SVN client to pull from a CVS database with

Doing a 'diff/st' and ignoring the first line if it matches a specific criterion

a 夏天 提交于 2019-12-11 04:57:09
问题 In a repository for a well known open source project, all files contain a version string with a timestamp as their first line: <?php // $Id: index.php,v 1.201.2.10 2009-04-25 21:18:24 stronk7 Exp $ Even if I don't really understand why they do this - since the files are already under version control -, I have to live with this. The main problem is that if I try to 'st' or 'diff' a release to get an idea of what was changed from the previous one, every single file contained in the repository

Is there any Gradle plugin for scm like CVS?

只愿长相守 提交于 2019-12-11 02:56:14
问题 I'm new to Gradle... Working on a simple build script for my java project.. We are using CVS for source management.. I couldn't find any CVS/SCM plugin in Gradle.. I believe I can create an ant task to access CVS and use it in my gradle script.. but is there any ready available CVS plugin? 回答1: Generally speaking, your Version Control interaction belongs at the Continuous Integration (CI) level. You will want to use a product like Jenkins, Hudson, Bamboo, etc to check out the correct version

CVS checkout from Windows command line Windows

余生颓废 提交于 2019-12-10 20:49:23
问题 Is there a way to check out from CVS using Windows command line (cmd) given the branch, package, and destination dir? 回答1: cvs -q -d <CVSROOT> co -r <BRANCH> -d <DESTINATION> <PACKAGE> 回答2: CVS is a monolithic executable, which doesn't have an API as such. So to execute a CVS command, you use std::system( "cvs command params" ) or similar, just as you would have done from the command line. 来源: https://stackoverflow.com/questions/1286786/cvs-checkout-from-windows-command-line-windows

Is there a way to get CVS to not produce merge conflicts on keyword substitutions like $Id: $

╄→гoц情女王★ 提交于 2019-12-10 19:15:33
问题 We use CVS currently and develop new features on a branch before merging to trunk. Occasionally we get merge conflicts caused by the CVS keyword substitution. So when reviewing the conflict file we see something like this <<<<<<< collect_logs.conf # CVS $Id: collect_logs.conf,v 1.6 2010/02/03 16:43:11 peterw Exp $ ======= # CVS $Id: collect_logs.conf,v 1.13 2010-05-07 17:14:43 peterw Exp $ >>>>>>> 1.13 And that will be the only conflict in the file. I have done a little bit of investigating