svn

Hook script execution on client side

跟風遠走 提交于 2019-12-30 18:29:33
问题 I am working on a SVN project, and I need to execute my pre-commit hook script from the client side. Is there any way to execute them? 回答1: The only possible solution is to use TortoiseSVN which has the opportunity to execute special Hook Script (only from TortoiseSVN) on the client side. Otherwise it's not possible to run Hook Scripts, cause they run allways on the server side. 回答2: Create a script file that is an alias for the svn command if you are using the command-line as this post

Revision Control System Recommendations

送分小仙女□ 提交于 2019-12-30 18:26:21
问题 I've reached a point in my independent development work where I would like to start using Subversion techniques. Up to now, I've been simply making backups by exporting my current database, and zipping them together with my PHP project files. I've read some articles online and watched a video with Linus Torvalds - the general verdict seems to be that Git is in and old CVS techniques are out. I'm not currently operating under Linux, I do all PHP work out of Windows -> Eclipse. Due to the fact

“Network connection closed unexpectedly” upon svn checkout

我们两清 提交于 2019-12-30 17:31:06
问题 When I attempt to checkout: svn checkout svn+ssh://serveradmin%foo@foo.com/home/87292/data/svn/repository/trunk . I get this (unhelpful) error: svn: Network connection closed unexpectedly What's happening? 回答1: This can happen due to an authentication failure. You may have cached credentials that do not match the site you're trying to access. You may need to register an SSH key with the site. As suggested by the notalbert below, use SVN_SSH flag to get the detailed error in verbose mode

Set up svnperms pre-commit hook

大兔子大兔子 提交于 2019-12-30 14:51:11
问题 I'm trying to implement svnperms into a repository, but am having difficulty with a few things: pre-commit has the execute permissions: -rwxrwxr-x 1 svnadm svn 3018 May 27 10:11 pre-commit This is my call to svnperms within pre-commit: # Check that the author of this commit has the rights to perform # the commit on the files and directories being modified. SVNPERMS=/usr/local/svn/scripts/svnperms.py $SVNPERMS -r $REPOS -t $TXN || exit 1 I've got svnperms.py installed in the location specified

Enable password in both commit and checkout

不问归期 提交于 2019-12-30 12:17:06
问题 I setup a svn repository according to this resource http://anandafit.info/2010/11/03/setup-a-subversion-server/ But server ask user name and password when I commit my code only and not asking password for svn checkout process. seems to be I have not enable the user name password for read process for svn server. How can I enable this feature. 回答1: The link you post suggest this Apache configuration: <Location /svn/svnproject> DAV svn SVNPath /home/svn/svnproject AuthType Basic AuthName

How to synchronize a GIT repository with SVN?

烈酒焚心 提交于 2019-12-30 11:35:30
问题 I am planning to make a fork of an open-source project, but I want to switch to GIT. The project is using SVN, but there is no TRAC available, so I can't just download changesets without having SVN on my PC (not to mention svn diff doesn't allow binary patches). Is there a way to synchronize my GIT master repository with SVN's HEAD/trunk without keeping another project on my HDD? 回答1: You can synchronize SVN with Git using git-svn(1). If you have existing Git repository, and want to bind with

How to debug git svn fetch invalid XML

落爺英雄遲暮 提交于 2019-12-30 10:46:34
问题 I try to convert a SVN repository to git using git2svn . My server uses username and password. I did svn2git https://example.com/svn/bar And get the error Initialized empty Git repository in /tmp/bar/.git/ Error from SVN, (130003): XML data was not well-formed: The REPORT response contains invalid XML (200 OK) command failed: git svn fetch When doing git svn fetch in the new folder, I get the same error. How can I debug this? git svn fetch does not seem to have a --verbose option. svn co

How can I manage merging updates from several developers? [closed]

你。 提交于 2019-12-30 10:42:40
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 months ago . I work with a mid-sized team of developers all working on one product. Developers write the code to address a feature or bug fix ticket, then check it into our main development branch (in Subversion). Once the ticket has been tested and validated there by the QA folks, I merge it

How can I manage merging updates from several developers? [closed]

放肆的年华 提交于 2019-12-30 10:42:32
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 months ago . I work with a mid-sized team of developers all working on one product. Developers write the code to address a feature or bug fix ticket, then check it into our main development branch (in Subversion). Once the ticket has been tested and validated there by the QA folks, I merge it

What's the benefits of “svn:externals”?

半腔热情 提交于 2019-12-30 10:26:27
问题 I would not get to know svn:externals if I haven't run into the this page. So, I setup my working folder. Then mkdir lib/vendor svn add --parents lib/vendor svn ps svn:externals 'symfony http://svn.symfony-project.com/branches/1.4/' lib/vendor/ svn ci -m "add externals" svn update The "svn update" enlists the whole symfony folder and is pretty slow. I thought that would be single time pain. However, SVN will check external repository every time I typed "svn up". I have to use --ignore