svn

Force old revision to be the newest revision - SVN

安稳与你 提交于 2019-12-24 00:57:19
问题 I have an old revision which works fantastic and I'd like to reverse the past few revisions I've made in SVN. How can I simply remove those revisions and make the HEAD be a specific revision. That way, when I press update, it goes to that revision, and not the real current reivision? 回答1: From the svn book: Undoing Changes Another common use for svn merge is to roll back a change that has already been committed. Suppose you're working away happily on a working copy of /calc/trunk , and 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

Making Delphi 7 play nice with source control? [closed]

邮差的信 提交于 2019-12-24 00:46:59
问题 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 8 years ago . Hello I've been having to work in a Delphi 7 project recently and one thing that constantly bugs me is the *.dfm files. Anytime I even

Making Delphi 7 play nice with source control? [closed]

假如想象 提交于 2019-12-24 00:41:06
问题 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 8 years ago . Hello I've been having to work in a Delphi 7 project recently and one thing that constantly bugs me is the *.dfm files. Anytime I even

SVN Pre-commit hook for avoiding commits to specific branches

微笑、不失礼 提交于 2019-12-24 00:33:55
问题 What is a possible way to block svn commits to specified branches using c#? How could I get the path of the branch from the arguments in the pre-commit hook? (or any other suggestions for getting the path to block) Is there a way to do this using svnlook to see what files it modified, maybe? Any suggestions are highly appreciated! 回答1: When I had to do this I followed this guide: http://www.troyhunt.com/2010/02/creating-subversion-pre-commit-hooks-in.html I wrote a C# application that called

Mercurial from Subversion: moves, renames and tags

强颜欢笑 提交于 2019-12-24 00:32:52
问题 I have a subversion repo with the following layout: svnrepo/projectA/trunk svnrepo/projectA/tags svnrepo/projectA/branches svnrepo/projectB/trunk svnrepo/projectB/tags svnrepo/projectB/branches which I would like to move to a mercurial repo with a revised layout: hgrepo/projectA hgrepo/projectB What is the best way of doing this? Some of my thoughts are: Option1 Rearrange the paths in subversion (using svn move) to an intermediate format: svnrepo/trunk/projectA svnrepo/trunk/projectB svnrepo

Difference Between Git and SVN

浪尽此生 提交于 2019-12-24 00:14:34
From: http://www.differencebetween.net/technology/software-technology/difference-between-git-and-svn/#ixzz5fIoQsWBP Git vs SVN Git and SVN are both software. Git is SCM, source code management , and a distributed revision control system. SVN is a revision control and software versioning system.  Git is an SCM with its main emphasis being on speed. It was developed for Linux kernel by Linus Torvalds. It has a repository with revision tracking capacities and complete history. This repository is not dependent on a central server or network access. It is free software. Git is distributed under

Bash alias of an svn command piped to awk

此生再无相见时 提交于 2019-12-23 23:25:19
问题 I type in this command frequently, and was trying to alias it, and couldn't for some reason. for FILE in `svn stat | awk '{print $2}'`; do svn revert $FILE; done This obviously does a large number of svn reverts. when I alias it: alias revert_all="for FILE in `svn stat | awk '{print $2}'`; do svn revert $FILE; done" svn stat runs immediately - no good Then I try double-quoting the awk portion: alias revert_all='for FILE in `svn stat | awk "{print $2}"`; do svn revert $FILE; done' but this

SVN Show Log not working

ⅰ亾dé卋堺 提交于 2019-12-23 22:25:41
问题 How can I use the show log feature without setting [/] * = r (reads to everyone/everything). I have a couple of groups in my authz file. It Looks like this: [groups] Profs = dave,bruno,franck Team1 = 1036091,1036103,1036087 Team2 = 1016059,1016077 [/GSS] @Team1 = rw [/Booking] @Team2 = rw [/] @Profs = rw When I add [/] * = r in the file, the show log feature works. But that gives access to everyone on all the repositories. This related question has not been answered. 回答1: I experienced

How can I set the SVN password with Emacs 23.1 built-in integration?

本小妞迷上赌 提交于 2019-12-23 21:31:12
问题 I am doing a project on CentOS 6.2 with the distribution supplied Emacs 23.1.1 and subversion using svnserver. I cannot find anywhere how to set the password for repository access. [There is another question here about this (SVN for Emacs: how do you set author name and save password?) but no usable answer for my circumstances.] BACKGROUND: Due to client delivery requirements I need to add as little extra to the installation as possible - using yum install wherever possible, finding non-yum