svn

RW Access git repository using svn (git-svnserver)?

允我心安 提交于 2019-12-30 00:08:16
问题 Is there a program that does what git-svn does, but in a situation where the repository on the server is git, and the developer uses svn? I know that github.com allows svn access to the git repositories they host, but it doesn't look like they've released this project open source (yet?), and using their servers is not an option for me (not even their private repositories). EDIT: I think what I am looking for is a parallel to 'git-cvsserver' -- git-svnserver. In a bit of searching, I found

svn版本分支及冲突解决笔记

五迷三道 提交于 2019-12-29 23:46:02
转载: http://blog.csdn.net/xuguiyi100/article/details/51966557 分支合并主干示例 1.主干工程右键选择merge合并下一步 2.选中 merge two different trees下一步 3.from主干版本路径,版本号选择分支分出去的版本号 to合并的分支目录,版本号一般最新版本 下一步 4.选择属性,一般直接下一步即可 5.下一步完成。若无冲突直接主干提交代码即可。 若存在冲突解决办法,个人建议使用最后一种解决冲突 Mark as conflicted. I will deal wiht it later. --标记冲突,合并到主干解决冲突 Resolve the conflict by using my version of the file. --直接用主干的文件覆盖,分支修改无效 Resolve the conflict by using the incoming of the file. --直接用分支修改覆盖主干,以分支为准 Let me edit the file with conflict markers inserted. --直接编辑冲突,编辑完保存,选择yes保存。 Launch a graphical conflict resolution editor.--直接比对文件,修改冲突,点击保存

Subversion - What are the differences between the SVN checkout and SVN update commands?

北城余情 提交于 2019-12-29 18:17:33
问题 I understand that the "SVN checkout" command will do the initial get of file(s) from the Subversion repository and bring them locally to your working directory/copy and that the "SVN update" command will get changes to file(s) from the repository if changes have been made by others. It seems to me though that an "update" is just a special case of a "checkout", that is, when a checkout occurs, it's getting all files since none yet exist locally and hence ALL of the files have "changed", and

In Eclipse, how can I exclude some files (maybe based on the .svn extension or filename) from being copied to the output folder?

妖精的绣舞 提交于 2019-12-29 16:25:33
问题 I'm developing a Java application using Eclipse. My project has two source directories that are both built and then some files are copied into the output folder. From the output directory I then run my application and all works well. However, I keep having these warnings: Snapshot from Problems tab in Eclipse http://www.freeimagehosting.net/uploads/128c1af93f.png Anyone know how to get rid of these warnings? Maybe by excluding some files, maybe based on the .svn extension or filename, from

How change default SVN username and password to commit changes?

橙三吉。 提交于 2019-12-29 12:11:21
问题 I need to commit my changes to repository, but on this laptop (svn configurations) I'm not default user. How can I set my login and password as default in svn config? OS_X 10.9 svn, version 1.7.10 (r1485443) 回答1: To use alternate credentials for a single operation, use the --username and --password switches for svn . To clear previously-saved credentials, delete ~/.subversion/auth . You'll be prompted for credentials the next time they're needed. These settings are saved in the user's home

How do I move a file (or folder) from one folder to another in TortoiseSVN?

随声附和 提交于 2019-12-29 10:09:10
问题 I would like to move a file or folder from one place to another within the same repository without having to use Repo Browser to do it, and without creating two independent add/delete operations. Using Repo Browser works fine except that your code will be hanging in a broken state until you get any supporting changes checked in afterwards (like the .csproj file for example). Update: People have suggested "move" from the command line. Is there a TortoiseSVN equivalent? 回答1: To move a file or

What is the simplest way to do branching and merging using TortoiseSVN?

那年仲夏 提交于 2019-12-29 10:08:34
问题 What is a really simple "how to" to do branching and merging using TortoiseSVN? 回答1: Assuming your work directory is working from the trunk: Right-click on the "root work folder" (this term always refers to Windows Explorer) and do svn update to update your work folder to the latest trunk. Make sure what you have is stable. Right-click on the root work folder and do svn commit to make sure any local changes are committed to the trunk. Right-click on the root work folder and do svn repo

Git常用命令

情到浓时终转凉″ 提交于 2019-12-29 09:19:15
  目前开发的新项目使用的版本控制工具基本用的都是Git,老项目用的还是Svn,网上Git资源也很多,多而杂。我整理了一份关于Git的学习资料,希望能帮助到正在学习Git的同学。 一、 Git 命令初识 在正式介绍Git命令之前,先介绍一下Git 的基本命令和操作,对Git命令有一个总体的认识 示例:从Git 版本库的初始化,通常有两种方式: 1)git clone:这是一种较为简单的初始化方式,当你已经有一个远程的Git版本库,只需要在本地克隆一份 例如:git clone git://github.com/someone/some_project.git some_project 上面的命令就是将'git://github.com/someone/some_project.git'这个URL地址的远程版本库,完全克隆到本地some_project目录下 2)git init 和 git remote:这种方式稍微复杂一些,当你本地创建了一个工作目录,你可以进入这个目录,使用'git init'命令进行初始化;Git以后就会对该目录下的文件进行版本控制,这时候如果你需要将它放到远程服务器上,可以在远程服务器上创建一个目录,并把可访问的URL记录下来,此时你就可以利用'git remote add'命令来增加一个远程服务器端, 例如:git remote add origin

How can I force mercurial to accept an empty commit

霸气de小男生 提交于 2019-12-29 08:32:41
问题 I'm trying to convert an SVN repo with hgsvn and I have some commits where SVN properties where modified, but since Mercurial doesn't use those, it sees this as an empty commit and aborts. Is there any way to force this hg commit to accept a commit that doesn't change anything? I'm not familiar enough with the internals of hgsvn to hack it to skip empty commits. 回答1: You can skip this commit if you add a local svn.$REVNUM tag to the head revision (=the revision which also has the svn.($REVNUM

How to set up SVN repository in xCode 9.0

北城以北 提交于 2019-12-29 06:57:08
问题 With xCode 9.0, I am facing problem with SVN setup. I could not find any option to add SVN repository which was working proper with earlier versions of xCode. In source control, I am getting GIT everywhere. I am using SVN for long time and was properly working with earlier versions of xCode but this is not working with xCode 9.0. 回答1: If you have older version of xcode and above method of upgrade is not working or cannot be used then Terminal can be used to upgrade. Go to Terminal change