svn-checkout

Try to svn checkout, but get: svn: '.' is already a working copy for a different URL

送分小仙女□ 提交于 2019-11-28 11:56:05
I'm trying to svn checkout into my public_html folder, but I get this error: svn: '.' is already a working copy for a different URL My brother already set up a boiler plate site for me, but I've changed it and put those changes into a repo of my own. How do I make this folder not be a working copy of the repo he set up originally? Can I delete the public_html folder and make a new one? I'm fine with starting from scratch, as I'm going to just checkout an already installed drupal site onto this site. I saw in another question that a solution may be to simply delete the .svn directory. I tried

SVN checkout filtered by file extension?

一曲冷凌霜 提交于 2019-11-28 08:34:40
I have a home-grown automated build script in the form of a DOS batch file. In part of that script, I check out (with "svn checkout") a section of our SVN repository that includes a bunch of third-party stuff that's used in our projects. This batch file performed pretty well for a long time, but now people have checked in lots of fluff (docs, sample code, etc.) into the third-party area and the checkout part of this script has gotten lots slower. I'd like to mitigate this by checking out only the stuff we need -- mostly dll files in our case. So, my question is this: what's the best way to

Try to svn checkout, but get: svn: '.' is already a working copy for a different URL

你离开我真会死。 提交于 2019-11-27 06:37:07
问题 I'm trying to svn checkout into my public_html folder, but I get this error: svn: '.' is already a working copy for a different URL My brother already set up a boiler plate site for me, but I've changed it and put those changes into a repo of my own. How do I make this folder not be a working copy of the repo he set up originally? Can I delete the public_html folder and make a new one? I'm fine with starting from scratch, as I'm going to just checkout an already installed drupal site onto

SVN checkout filtered by file extension?

南笙酒味 提交于 2019-11-27 05:47:34
问题 I have a home-grown automated build script in the form of a DOS batch file. In part of that script, I check out (with "svn checkout") a section of our SVN repository that includes a bunch of third-party stuff that's used in our projects. This batch file performed pretty well for a long time, but now people have checked in lots of fluff (docs, sample code, etc.) into the third-party area and the checkout part of this script has gotten lots slower. I'd like to mitigate this by checking out only

Is there a Subversion Checkout Hook or something similar?

一个人想着一个人 提交于 2019-11-27 05:02:22
I'm using a subversion repository and I want to know whenever somebody asks my repository for a checkout; like a 'svn co' or an 'svn up'. Is there a hook or some other method that I can use so that a script is run, or email sent, whenever somebody requests information from my svn server? How can I achieve this without relying on apache logs? BTW it is a pretty simple repository just meant for Educational purposes. (If you need more information then just ask. Thanks in advance.) The following are all the supported hooks in Subversion 1.5, from the Version Control with Subversion book: start

SVN checkout ignore folder

£可爱£侵袭症+ 提交于 2019-11-26 11:48:59
问题 Can I ignore a folder on svn checkout? I need to ignore DOCs folder on checkout at my build server. edit: Ignore externals isn\'t an option. I have some externals that I need. 回答1: You can't directly ignore folders on a checkout, but you can use sparse checkouts in svn 1.5. For example: $ svn co http://subversion/project/trunk my_checkout --depth immediates This will check files and directories from your project trunk into 'my_checkout', but not recurse into those directories. Eg: $ cd my

How to git-svn clone the last n revisions from a Subversion repository?

╄→尐↘猪︶ㄣ 提交于 2019-11-26 11:27:00
Problem How do you create a shallow copy with git-svn from a Subversion repository, e.g. how do you pull only the last three revisions? The git clone command can get the last n revisions from a Git repository if you use the option --depth , i.e. you get a shallow copy of the repository. Example: git clone --depth 3 git://some/repo myshallowcopyrepo Is there a similar option for git-svn? My discoveries so far So far I've only found the -rN option where N is the revision to pull. Example: git svn clone -rN svn://some/repo According to the documentation there is the possibility to use -r

Is there a Subversion Checkout Hook or something similar?

一世执手 提交于 2019-11-26 11:25:49
问题 I\'m using a subversion repository and I want to know whenever somebody asks my repository for a checkout; like a \'svn co\' or an \'svn up\'. Is there a hook or some other method that I can use so that a script is run, or email sent, whenever somebody requests information from my svn server? How can I achieve this without relying on apache logs? BTW it is a pretty simple repository just meant for Educational purposes. (If you need more information then just ask. Thanks in advance.) 回答1: The

How to git-svn clone the last n revisions from a Subversion repository?

こ雲淡風輕ζ 提交于 2019-11-26 02:26:27
问题 Problem How do you create a shallow copy with git-svn from a Subversion repository, e.g. how do you pull only the last three revisions? The git clone command can get the last n revisions from a Git repository if you use the option --depth , i.e. you get a shallow copy of the repository. Example: git clone --depth 3 git://some/repo myshallowcopyrepo Is there a similar option for git-svn? My discoveries so far So far I\'ve only found the -rN option where N is the revision to pull. Example: git