svn

For home projects, can Mercurial or Git (or other DVCS) provide more advantages over Subversion? [closed]

孤街浪徒 提交于 2019-12-17 21:58:12
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . Which free source control system is most preferable with reason for home projects and documents? I am thinking to use Subversion (as I am familiar with it). Characteristic of home project: Most likely single person will be committing changes. (May be one day (not now), it is

Subversion merging changes from a different repository

此生再无相见时 提交于 2019-12-17 21:55:23
问题 I'm really confused. I want to do something that a) seems like it should be pretty simple, and b) other people must do all the time, but I cant find out the best way to do it anywhere. There's an external repository that contains some 3rd party code. I want to take a copy of version 1 of the code and put it in my own repository, and then customise it for my own needs. When version 2 of that code is released I want to be able to upgrade my customised version with all of the version 2 changes,

Find revision in trunk that a branch was created from

試著忘記壹切 提交于 2019-12-17 21:48:36
问题 I am trying to merge the latest changes from trunk into a branch of my project, but the problem is I don't know what revision of the trunk I checked out that I eventually created the branch from. I would think SVN logged this somewhere. Does anyone know how I can find the revision number? (In other words, the Subversion equivalent of git merge-base master branch-name ) 回答1: From the command line, the --stop-on-copy flag can be used to help show you where you copied a branch from: svn log -

How to “undelete” a deleted folder in Subversion / TortoiseSVN?

微笑、不失礼 提交于 2019-12-17 21:43:10
问题 We have accidentally deleted the 'tags' folder from our Subversion repository where we only intended to delete one specific tag. What is the easiest way to get the 'tags' folder back? We use TortoiseSVN as our client and I thought that when I go to the repo browser and show log, there will be something like "revert changes from this revision" similarly to what you can see in a similar dialog on your working copy. But there is no such command there... 回答1: Just copy the deleted folder back

svn ignore a file but include it in checkout

时光总嘲笑我的痴心妄想 提交于 2019-12-17 20:44:39
问题 I have a project in a repository. People will soon start checking it out, working on it, then committing their changes back. But there is one file within that project (an elaborate configuration file of my own design) that everyone simply must have a copy of, but they will make changes to it that should never ever be checked back in (that is never should they be sent via update back to the repository). So, I want each user who checks out the project to receive this config file, but then I

SVN: Track merges

十年热恋 提交于 2019-12-17 20:34:11
问题 Is it possible in SVN 1.6 to track where a commit was merged. I'm especially interesting in UI based solution (Eclipse plugin will be great). 回答1: I once wrote a quite web-page that kind of did this. I can't give you the page, unfortunately, but I can give you an idea of what I did. First our development model - all development made to trunk, revisions then get merged into various release branches for different versions of products. I set up a web page with a column for each version and a row

client side pre-commit hooks in subversion

不想你离开。 提交于 2019-12-17 20:05:28
问题 Is any way to setup pre-commit hooks on the client side with an svn client, for example through eclipse or a command line svn client ? 回答1: No. But you can alias your own script to svn, so it gets called every time you type svn . The script then calls actual svn. How about that? 回答2: Not sure if it's any help in your particular case, but TortoiseSVN (on Windows) supports client-side hooks. 来源: https://stackoverflow.com/questions/4798201/client-side-pre-commit-hooks-in-subversion

SCM choice for a new user? [closed]

强颜欢笑 提交于 2019-12-17 19:43:38
问题 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 . Real easy one here guys. Best justification gets the win. I'm a computer science student at a school you've heard of, and have been

Subversion svn:externals file override?

余生颓废 提交于 2019-12-17 19:29:23
问题 I have a repository for one of my projects that has a nested repository using the svn:externals property to update files from an external library. The problem is that I need to comment out one of the function declarations from one of the headers in this library, and carry around the modified header with the root repository. Is there a way that this could be done, so that when the library is updated, it overrides that specific file with my version of it? 回答1: What you want sounds like a

Convert Eclipse project type from general to Java [duplicate]

帅比萌擦擦* 提交于 2019-12-17 18:48:54
问题 This question already has answers here : How to change an Eclipse default project into a Java project (11 answers) Closed 6 years ago . I'm taking over another team's project and am experiencing some bizarre Eclipse issues. I'm using Subversive as my plugin, and when I go to check the trunk out it brings me to a standard "Check Out As" dialog where it allows me to select the check out method, and the only one that works for me (or is applicable) is the last option ( Check out as a project