tortoisesvn

Windows Pre-commit hook for comment length Subversion

扶醉桌前 提交于 2019-12-18 10:11:44
问题 I seem to be getting nowhere with this. Either searching the web for a script, etc. Anyone got a script that you can just edit the out-of-box pre-commit.tmpl in a Windows environment that requires x chars to be entered in for a comment on commit in Tortoise Subversion globally so that all members on the team are required whereas this requirement is pushed down to the clients from SVN server? I don't know the scripting language and this should be something pretty damn simple without me taking

TortoiseSVN not saving authentication details

我只是一个虾纸丫 提交于 2019-12-18 10:07:35
问题 TortoiseSVN is not saving my authentication details even when I check the save authentication checkbox, and asking me to enter username and password every time I access it. How can I fix this? 回答1: I had the same issue and I simply deleted this folder: %APPDATA%\subversion\auth\ Next time I logged in it was created anew and my password was properly saved. 回答2: If you access your repo over ssh , then you can use the following solution to save your ssh credentials: The easiest way to do this is

How do I remove a folder from source control with TortoiseSVN?

不想你离开。 提交于 2019-12-18 09:57:15
问题 How do I remove a folder from being source controlled with TortoiseSVN? 回答1: There is a dedicated item in the extended context menu: Hold the Shift key down and right click on the folder. Under the TortoiseSVN menu click on "Delete (keep local)" Image cropped from TortoiseSVN's extended context menu page. Delete (keep local) documentation blurb. 回答2: The easiest way is described here: http://tortoisesvn.net/unversion.html That article is a bit wordy and some of the methods didn't work for me

What Visual Studio files should be ignored by subversion to minimize conflicts?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-18 09:54:36
问题 I am supporting a number of .Net developers who are using Subversion to version control their work, but we have been running into a number of issues that seem to revolve around the additional files that Visual Studio uses to manage projects, do debugging, etc. Specifically, it seems that these files are causing conflicts due to the fact that they are already in the repo. I know how to get them out and how to handle them, but I need to know what "they" are first. So, what are the files

Change author name in TortoiseSVN

三世轮回 提交于 2019-12-18 09:04:44
问题 HI have 3 WinXP computers which access subversion based on a linux server. I would like to change the author name displayed in the logs on a couple of the computers cause they are 'development pc 3' and the name of an old employee. How do I do this? 回答1: Ask TSVN to "show log", in the change log order all commits by author, then select all the commits by the author of interest and use "Edit author". 回答2: Most likely you've tried changing the author name like sharptooth suggested, but then you

How to make TortoiseSVN / TortoiseGit show the executed command?

时光总嘲笑我的痴心妄想 提交于 2019-12-18 04:36:05
问题 Tortoise GUI clients are cool, but they don't really help to understand, how versioning woks and what happens "behind the scenes". And understanding such things is very important, especially for Git. (OK, the best way is working on the command line...) Is there a ssetting in ToroiseSVN / TortoiseGit to show the command that has just been executed? Or maybe a commands log? 回答1: In TortoiseSVN you can enable this by enabling debug. If you Right-Click in your explorer and use TortoiseSVN ->

How can I store the new SVN revision number in my source code after I commit? (TortoiseSVN)

落花浮王杯 提交于 2019-12-18 03:16:47
问题 Is it possible, via TortoiseSVN, to know the SVN rev number you are about to get prior to a commit so that I can put that rev# into the source code comment section? Perhaps there is a special keyname/variable that I can put into my file that TortoiseSVN will automatically replace with the rev# it's about to commit to? The motivation behind this is that I can take the latest build and see what SVN rev's it was comprised of by just looking at the source code. It also gives management warm

How do I configure the TortoiseSVN 'Global ignore pattern' properly?

浪尽此生 提交于 2019-12-17 22:09:38
问题 I would like TortoiseSVN (1.5.3) to ignore certain folders, their contents and certain other files wherever they might appear in my directory hierarchy but I cannot get the global ignore string right. Whatever I do, it either adds to much or ignores too much What is the correct 'Global ignore pattern' to ignore.... Folders : bin obj release compile Files : *.bak *.user *.suo Update: To help clarify... yes I am using this on windows. 回答1: Currently I have the following in my Global Ignore

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服务器搭建和使用(三)

↘锁芯ラ 提交于 2019-12-17 18:26:47
接下来,试试用TortoiseSVN修改文件,添加文件,删除文件,以及如何解决冲突等. 添加文件 在检出的工作副本中添加一个Readme.txt文本文件,这时候这个文本文件会显示为没有版本控制的状态,如图: 加入以后,你的文件会变成这个状态,如图: 修改文件 使用TortoiseSVN更新,修改工作副本中的Readme.txt文件,加入"hello world!",然后保存,你会发现Readme.txt文件的图标改变了,如图: 加入以后,提交,这时候版本库中的Readme.txt文件将会被重命名为"Readme1.txt". 删除文件 使用TortoiseSVN更新,使用TortoiseSVN删除工作副本中的Readme.txt文件,然后提交,版本库中的相应文件即被删除掉了,如图: 但是,可能有的人因为觉得太繁琐,而不填写注释,这不利于以后的版本控制,可以将强制在提交的时候写注释,首先单击右键,选择TortoiseSVN->属性,如图: 提交,以后再次提交的时候,如果输入的注释少于20个字符,将无法提交. 冲突解决 冲突问题是最常见的问题,它是这样产生的,A用户check out了一个工作副本A,接着B用户又check out了一个工作副本B.然后A用户对副本A中的文件C做了修改(可以是内容修改,文件删除,重命名,以及位置移动),并且提交.这时候B用户也对文件C的相同部分做了修改