cvs

cvs rtag: [07:34:59] waiting for cvsuser's lock in

会有一股神秘感。 提交于 2019-12-10 15:43:08
问题 When I do rtag the process is rather slow with the message cvs rtag: [07:34:59] waiting for cvsuser's lock in ...; what causes this and how to resolve this? Thanks in advance. 回答1: Searching via Google for "cvs waiting for lock" returns plenty of results. This is the first result I see and it covers everything you need: http://durak.org/sean/pubs/software/cvsbook/CVS-says-it-is-waiting-for-a-lock_003b-what-does-that-mean_003f.html But in essence, someone else is in the middle of a CVS

vimdiff and CVS integration

早过忘川 提交于 2019-12-10 14:47:08
问题 I've always wanted to be able to get a reasonably elegant way of getting vimdiff to work with a CVS controlled file. I've found numerous (somewhat hacky) scripts around the internet (best example here) that basically check out the file you are editing from CVS to a temp file, and vimdiff the two. None of these take into account branches, and always assume you're working from MAIN, which for me is completely useless. So, my question is this: has anyone out there found a decent solution for

Merge tools that ignores $Id lines

时光怂恿深爱的人放手 提交于 2019-12-10 14:23:56
问题 I need to merge a forked project. Unfortunately, the CVS $Id lines are different so the merge tools I tried report that all the files are different (and 95% of them have only this line different) Is there a merge tool that can be configured to ignore line comparison results based on a pattern ? [edit] I discovered that WinMerge has line filters - setting up them correctly actually works. Francesco 回答1: I use meld, which can use regex filters to ignore. It has some preset ones you can select

CVS comma-v files in Attic and directory

南楼画角 提交于 2019-12-10 13:49:30
问题 I have a production CVS repository that is a number of years old and have noticed that it has comma-v files with the same name in both Attic and in the actual directory for a given location. This appears to be an error. My question is how can this occur in the first place and what will CVS do when duplicate files exist. My guess (hope) is that it will ignore the Attic version all the time when there is a non Attic version. Can anyone confirm if CVS behaves well all the time for this situation

CVS Error: failed to create lock directory… Permission denied

房东的猫 提交于 2019-12-10 12:56:56
问题 I'm using using TortoiseCVS to access the CVS server. I get the following error: In D:\source\foo: "C:\Program Files\CVSNT\cvs.exe" -q update -P -d CVSROOT=:ssh:annan@foo-bar.co.uk:/home/cvsroot cvs update: failed to create lock directory for `/home/cvsroot/foo' (/var/lock/cvs/foo/#cvs.lock): Permission denied cvs update: failed to obtain dir lock in repository `/home/cvsroot/foo' cvs [update aborted]: read lock failed - giving up Error, CVS operation failed I had this problem before and

Git - How can I list all files changed on the master branch between two times? [duplicate]

天涯浪子 提交于 2019-12-10 10:33:09
问题 This question already has answers here : How can I get the diff between all the commits that occurred between two dates with Git? (11 answers) Closed 6 years ago . I'd like to find out all the files that have been modified on the master branch (or any one branch for that matter) between two dates. I understand, from this post (How to list the file names only that changed between two commits?) that I can use git diff --name-only SHA1 SHA2 but I don't know, a priori, what the SHA's are between

List all tags within a module in CVS in CLI

萝らか妹 提交于 2019-12-10 02:38:14
问题 Is it possible to get a list of all generated tags for a given module in CVS? I can use cvs status -v FILE but it shows too much information that I just don't need. I can use some gui utilities that show me only the tag names (Eclipse is one of them), how do they do it? You need to do some "hacks" or are just parameters I'm unaware of? I would like to know if there's a command that would show me just something like this on terminal: TAG1 TAG2 TAG3 TAG4 回答1: There is a script you can copy here

What's the best practice of going GIT when upstream is 100% CVS?

无人久伴 提交于 2019-12-09 21:43:34
问题 I'm curious what's the best practice of keeping your occasional contributions to an OSS project in git (e.g., on github/bitbucket/gitlab), whilst the upstream is exclusively CVS. My take is that it's very convenient to simply commit CVS/{Entries,Repository,Root} directly into git , and then at any time and from any box, you can simply checkout your git repo (w/ git ), and then update from the real upstream with cvs up , which is exactly what I do with my OpenBSD ports-readmes fork, as well as

Team Synchronizing Perspective for Intellij?

半城伤御伤魂 提交于 2019-12-09 05:06:14
问题 In eclipse there is a "Team Synchronizing Perspective" that basically does a directory diff to the cvs repository. It is very handy. For various reasons I am looking to move to intellij. Is there an equivalent in intellij with either cvs or svn? Thanks. 回答1: Yes. As there's no concept of "perspective" in IDEA, there is the equivalent — a panel called "changes". IntelliJ IDEA 10 supports CVS, SVN, git and other popular version control systems out of the box. See the version control feature

Best way to automatically check out and compile Eclipse projects with Ant in Hudson or another CI tool?

自古美人都是妖i 提交于 2019-12-09 04:30:48
问题 We have several products which have a lot of shared code and which must be maintained several versions back. To handle this we use a lot of Eclipse projects, some contain library jars, and some contain shared source code (in several projects to avoid getting a giant heap with numerous dependencies while being able to compile everything from scratch to ensure that source and binaries are consistent). We manage those with projectSet.psf's as these can directly pull all projects out from CVS and