QuestionId
stringlengths
3
8
QuestionTitle
stringlengths
15
149
QuestionScore
int64
1
27.2k
QuestionCreatedUtc
stringdate
2008-08-01 18:33:08
2025-06-16 04:59:48
QuestionBodyHtml
stringlengths
40
28.2k
QuestionViewCount
int64
78
16.5M
QuestionOwnerUserId
float64
4
25.2M
QuestionLastActivityUtc
stringdate
2008-09-08 19:26:01
2026-01-24 22:40:25
AcceptedAnswerId
int64
266
79.7M
AnswerScore
int64
2
30.1k
AnswerCreatedUtc
stringdate
2008-08-01 23:40:28
2025-06-16 05:23:39
AnswerOwnerUserId
float64
1
29.5M
AnswerLastActivityUtc
stringdate
2008-08-01 23:40:28
2026-01-23 17:46:09
QuestionLink
stringlengths
31
36
AnswerLink
stringlengths
31
36
AnswerBodyHtml
stringlengths
35
33k
AnswerBodyPreview
stringlengths
35
400
AllTagIdsCsv
stringlengths
2
37
AllTagNamesCsv
stringlengths
2
106
MergedQuestion
stringlengths
74
28.4k
quality_filter
stringclasses
10 values
unique_id
int64
0
29k
tag_major_lang
stringclasses
10 values
MergedQuestion_md
stringlengths
60
28.1k
AnswerBodyHtml_md
stringlengths
14
29.2k
4244005
Subversive: Difference between depth 'working copy' and 'recursive' when merging?
27
2010-11-22 09:36:35
<p>When doing a merge using the Subversive plugin for Eclipse, there is an dropdown box named "depth" where, besides other options, "working copy" and "recursive" can be selected.</p> <p>I always use the default setting "working copy", but I wonder what the difference between "working copy" and "recursive" is. Can so...
21,874
198,006
2010-11-22 10:10:40
4,244,192
13
2010-11-22 09:58:23
6,309
2010-11-22 10:10:40
https://stackoverflow.com/q/4244005
https://stackoverflow.com/a/4244192
<p>It must be similar to the <a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-checkout.html#tsvn-dug-checkout-depth" rel="noreferrer"><strong>depth options</strong> presented in TortoiseSVN</a> (also in <a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-merge.html" rel="noreferrer"...
<p>It must be similar to the <a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-checkout.html#tsvn-dug-checkout-depth" rel="noreferrer"><strong>depth options</strong> presented in TortoiseSVN</a> (also in <a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-merge.html" rel="noreferrer"...
53, 63, 3311
eclipse, subversive, svn
<h1>Subversive: Difference between depth 'working copy' and 'recursive' when merging?</h1> <p>When doing a merge using the Subversive plugin for Eclipse, there is an dropdown box named "depth" where, besides other options, "working copy" and "recursive" can be selected.</p> <p>I always use the default setting "workin...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,784
svn
# Subversive: Difference between depth 'working copy' and 'recursive' when merging? When doing a merge using the Subversive plugin for Eclipse, there is an dropdown box named "depth" where, besides other options, "working copy" and "recursive" can be selected. I always use the default setting "working copy", but I wo...
It must be similar to the [**depth options** presented in TortoiseSVN](http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-checkout.html#tsvn-dug-checkout-depth) (also in [merge options](http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-merge.html)): - recursive: entire tree, including all child fold...
175056
SVN checkout or export for production environment?
27
2008-10-06 16:31:09
<p>In a project I am working on, we have an ongoing discussion amongst the dev team - should the production environment be deployed as a checkout from the SVN repository or as an export?</p> <p>The development environment is obviously a checkout, since it is constantly updated. For the production, I'm personally for c...
20,627
10,585
2012-12-05 17:31:30
1,228,320
13
2009-08-04 15:51:34
150,401
2009-08-04 16:01:21
https://stackoverflow.com/q/175056
https://stackoverflow.com/a/1228320
<p><a href="http://subversion.tigris.org/faq.html#website-auto-update" rel="noreferrer">The Subversion FAQ</a> seems to advocate deployment as a checkout, autoupdated with post-commit hook scripts. They prevent Apache from exporting .svn folders (probably a good idea) by adding the following in httpd.conf:</p> <pre><c...
<p><a href="http://subversion.tigris.org/faq.html#website-auto-update" rel="noreferrer">The Subversion FAQ</a> seems to advocate deployment as a checkout, autoupdated with post-commit hook scripts. They prevent Apache from exporting .svn folders (probably a good idea) by adding the following in httpd.conf:</p> <pre><c...
63, 190
deployment, svn
<h1>SVN checkout or export for production environment?</h1> <p>In a project I am working on, we have an ongoing discussion amongst the dev team - should the production environment be deployed as a checkout from the SVN repository or as an export?</p> <p>The development environment is obviously a checkout, since it is ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,785
svn
# SVN checkout or export for production environment? In a project I am working on, we have an ongoing discussion amongst the dev team - should the production environment be deployed as a checkout from the SVN repository or as an export? The development environment is obviously a checkout, since it is constantly updat...
[The Subversion FAQ](http://subversion.tigris.org/faq.html#website-auto-update) seems to advocate deployment as a checkout, autoupdated with post-commit hook scripts. They prevent Apache from exporting .svn folders (probably a good idea) by adding the following in httpd.conf: ``` # Disallow browsing of Subversion work...
2376309
How can I find the svn diff between working copy and arbitrary rev?
21
2010-03-04 01:29:08
<p>I'm trying to write a multi-file patch for an open-source project, but the master copy has changed since I started working. I need to get the SVN difference (just the files under version control) between my uncommitted version and the revision from which it was checked. Which SVN command can I use to find the differ...
31,676
156,787
2013-07-25 17:13:32
2,376,404
13
2010-03-04 01:51:33
211,765
2010-03-04 01:51:33
https://stackoverflow.com/q/2376309
https://stackoverflow.com/a/2376404
<p>You can use -rN:M parameter with diff command which specifies the revisions you want to compare. Just provide revision from which your working copy was checked out (you can omit M as it defaults to working copy) and you should get what you need.</p> <p>If you don't remember the original revision number try to run <...
<p>You can use -rN:M parameter with diff command which specifies the revisions you want to compare. Just provide revision from which your working copy was checked out (you can omit M as it defaults to working copy) and you should get what you need.</p> <p>If you don't remember the original revision number try to run <...
58, 63, 606, 1231
command-line, diff, linux, svn
<h1>How can I find the svn diff between working copy and arbitrary rev?</h1> <p>I'm trying to write a multi-file patch for an open-source project, but the master copy has changed since I started working. I need to get the SVN difference (just the files under version control) between my uncommitted version and the revis...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,787
svn
# How can I find the svn diff between working copy and arbitrary rev? I'm trying to write a multi-file patch for an open-source project, but the master copy has changed since I started working. I need to get the SVN difference (just the files under version control) between my uncommitted version and the revision from ...
You can use -rN:M parameter with diff command which specifies the revisions you want to compare. Just provide revision from which your working copy was checked out (you can omit M as it defaults to working copy) and you should get what you need. If you don't remember the original revision number try to run `svn status...
6523738
Subversion, mark a file deleted or moved after the fact
20
2011-06-29 16:07:08
<p>Let's say that I have two files in a Subversion repo:</p> <pre><code>workingcopy/ file1.txt file2.txt </code></pre> <p>And then I rename one, external to SVN:</p> <pre><code>$ mv file1.txt fileA.txt </code></pre> <p>Now, SVN marks file1.txt as missing, <code>fileA.txt</code> as unversioned</p> <pre><code>$ ...
7,685
130,442
2022-11-01 22:56:47
6,523,872
13
2011-06-29 16:17:43
86,932
2011-06-29 16:31:59
https://stackoverflow.com/q/6523738
https://stackoverflow.com/a/6523872
<p>Maybe you need to update your version of Subversion:</p> <pre><code>$ svn --version svn, version 1.6.16 (r1073529) $ rm data.xml $ svn status ! data.xml $ svn rm data.xml D data.xml $ svn status D data.xml </code></pre> <p>The same thing does not work with rename, but it would be super easy t...
<p>Maybe you need to update your version of Subversion:</p> <pre><code>$ svn --version svn, version 1.6.16 (r1073529) $ rm data.xml $ svn status ! data.xml $ svn rm data.xml D data.xml $ svn status D data.xml </code></pre> <p>The same thing does not work with rename, but it would be super easy t...
63
svn
<h1>Subversion, mark a file deleted or moved after the fact</h1> <p>Let's say that I have two files in a Subversion repo:</p> <pre><code>workingcopy/ file1.txt file2.txt </code></pre> <p>And then I rename one, external to SVN:</p> <pre><code>$ mv file1.txt fileA.txt </code></pre> <p>Now, SVN marks file1.txt as ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,789
svn
# Subversion, mark a file deleted or moved after the fact Let's say that I have two files in a Subversion repo: ``` workingcopy/ file1.txt file2.txt ``` And then I rename one, external to SVN: ``` $ mv file1.txt fileA.txt ``` Now, SVN marks file1.txt as missing, `fileA.txt` as unversioned ``` $ svn st ! fil...
Maybe you need to update your version of Subversion: ``` $ svn --version svn, version 1.6.16 (r1073529) $ rm data.xml $ svn status ! data.xml $ svn rm data.xml D data.xml $ svn status D data.xml ``` The same thing does not work with rename, but it would be super easy to write a shell script that...
838392
SVN Error: Expected fs format between '1' and '3'; found format '4'
20
2009-05-08 05:41:30
<p>Here's what I did, I have installed svnserve as a service and I started it with the <strong>net start svn service</strong> command. I typed <strong>svn ls svn://localhost</strong> to test the service but it returned the error as stated in the title of this post. </p> <p>I entered <strong>svn --version</strong> and ...
50,042
100,725
2016-08-18 14:48:55
838,401
13
2009-05-08 05:48:56
80,731
2009-05-08 05:48:56
https://stackoverflow.com/q/838392
https://stackoverflow.com/a/838401
<p>Which Subverson tool did you use to create the repository? TortoiseSVN? Your TortoiseSVN may be newer, a 1.6.x release, then your 1.5 command line client and svnserve, so svnserve 1.5.x cannot serve a 1.6.x repository.</p> <p>In my fsfs repository created with svnadmin 1.6.1, the db/format file contains</p> <pre...
<p>Which Subverson tool did you use to create the repository? TortoiseSVN? Your TortoiseSVN may be newer, a 1.6.x release, then your 1.5 command line client and svnserve, so svnserve 1.5.x cannot serve a 1.6.x repository.</p> <p>In my fsfs repository created with svnadmin 1.6.1, the db/format file contains</p> <pre...
63, 1283, 5792
client, svn, version
<h1>SVN Error: Expected fs format between '1' and '3'; found format '4'</h1> <p>Here's what I did, I have installed svnserve as a service and I started it with the <strong>net start svn service</strong> command. I typed <strong>svn ls svn://localhost</strong> to test the service but it returned the error as stated in t...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,790
svn
# SVN Error: Expected fs format between '1' and '3'; found format '4' Here's what I did, I have installed svnserve as a service and I started it with the **net start svn service** command. I typed **svn ls svn://localhost** to test the service but it returned the error as stated in the title of this post. I entered *...
Which Subverson tool did you use to create the repository? TortoiseSVN? Your TortoiseSVN may be newer, a 1.6.x release, then your 1.5 command line client and svnserve, so svnserve 1.5.x cannot serve a 1.6.x repository. In my fsfs repository created with svnadmin 1.6.1, the db/format file contains ``` $ cat repos/db/f...
7866286
How to view svn diff in vimdiff style in svn
19
2011-10-23 13:02:26
<p>I am starting to use Subversion on Linux. <code>svn diff</code> gives a very cryptic view&mdash;very, very unfriendly to eyes. How do I interpret its output? And more importantly, is there a way to view the difference in vimdiff kind of neat style, where both files will open side by side?</p>
20,169
381,088
2023-04-13 19:59:30
7,866,341
13
2011-10-23 13:13:05
381,088
2018-08-15 15:21:30
https://stackoverflow.com/q/7866286
https://stackoverflow.com/a/7866341
<p>Found it at: <a href="http://blog.tplus1.com/index.php/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/" rel="nofollow noreferrer">http://blog.tplus1.com/index.php/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/</a></p> <p>This blog post takes the script directly from the <a href="http://svnboo...
<p>Found it at: <a href="http://blog.tplus1.com/index.php/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/" rel="nofollow noreferrer">http://blog.tplus1.com/index.php/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/</a></p> <p>This blog post takes the script directly from the <a href="http://svnboo...
34, 58, 63, 370
linux, svn, unix, vim
<h1>How to view svn diff in vimdiff style in svn</h1> <p>I am starting to use Subversion on Linux. <code>svn diff</code> gives a very cryptic view&mdash;very, very unfriendly to eyes. How do I interpret its output? And more importantly, is there a way to view the difference in vimdiff kind of neat style, where both fil...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,792
svn
# How to view svn diff in vimdiff style in svn I am starting to use Subversion on Linux. `svn diff` gives a very cryptic view—very, very unfriendly to eyes. How do I interpret its output? And more importantly, is there a way to view the difference in vimdiff kind of neat style, where both files will open side by side?
Found it at: <http://blog.tplus1.com/index.php/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/> This blog post takes the script directly from the [SVN book external diff tools example](http://svnbook.red-bean.com/en/1.4/svn.advanced.externaldifftools.html#svn.advanced.externaldifftools.diff.ex-1): **diffwr...
14093900
Adding a package with Composer (through SVN)
18
2012-12-30 19:31:02
<p>I created a SVN repository for my personal PHP library, and added a composer.json file at the root level:</p> <pre><code>{ "name": "myPersonalLibrary/lib", "type": "library", "description": "Light MVC framework for PHP 5.4", "keywords": ["database","mvc"], "homepage": "http:/...
10,481
525,530
2014-07-23 18:41:53
24,918,399
13
2014-07-23 18:41:53
1,318,739
2014-07-23 18:41:53
https://stackoverflow.com/q/14093900
https://stackoverflow.com/a/24918399
<p>If you use the officially recommended repository layout with a "project root" (which contains exactly three subdirectories: <code>/trunk</code>, <code>/branches</code>, and <code>/tags</code>) then this should work for you:</p> <p>For your PHP library create <code>composer.json</code> in project root in the trunk (...
<p>If you use the officially recommended repository layout with a "project root" (which contains exactly three subdirectories: <code>/trunk</code>, <code>/branches</code>, and <code>/tags</code>) then this should work for you:</p> <p>For your PHP library create <code>composer.json</code> in project root in the trunk (...
5, 63, 78546, 85476
composer-php, packagist, php, svn
<h1>Adding a package with Composer (through SVN)</h1> <p>I created a SVN repository for my personal PHP library, and added a composer.json file at the root level:</p> <pre><code>{ "name": "myPersonalLibrary/lib", "type": "library", "description": "Light MVC framework for PHP 5.4", "keyw...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,793
svn
# Adding a package with Composer (through SVN) I created a SVN repository for my personal PHP library, and added a composer.json file at the root level: ``` { "name": "myPersonalLibrary/lib", "type": "library", "description": "Light MVC framework for PHP 5.4", "keywords": ["database","...
If you use the officially recommended repository layout with a "project root" (which contains exactly three subdirectories: `/trunk`, `/branches`, and `/tags`) then this should work for you: For your PHP library create `composer.json` in project root in the trunk (and commit it). For example: ``` { "name": "myPro...
2064321
Subversion can't merge after a move
18
2010-01-14 13:27:17
<p>I'm very new to Subversion, but I've used other revision control systems like ClearCase for years.</p> <p>My boss asked me to fix this project so that it could be built with Maven instead of Ant. One of the important things I had to do to was to move <code>src/com</code> to <code>src/main/java/com</code>, and move ...
3,937
3,333
2016-03-06 18:08:04
2,067,986
13
2010-01-14 22:21:17
97,627
2010-01-14 22:21:17
https://stackoverflow.com/q/2064321
https://stackoverflow.com/a/2067986
<p>To answer your question directly:</p> <blockquote> <p>Is there a way to make Subversion do the revision management, or am I going to be manually merging this guy’s changes for the next two days?</p> </blockquote> <p>You should be able to make it a little bit easier on yourself.</p> <p>One thing that you can do ...
<p>To answer your question directly:</p> <blockquote> <p>Is there a way to make Subversion do the revision management, or am I going to be manually merging this guy’s changes for the next two days?</p> </blockquote> <p>You should be able to make it a little bit easier on yourself.</p> <p>One thing that you can do ...
63, 13377
svn, svn-merge
<h1>Subversion can't merge after a move</h1> <p>I'm very new to Subversion, but I've used other revision control systems like ClearCase for years.</p> <p>My boss asked me to fix this project so that it could be built with Maven instead of Ant. One of the important things I had to do to was to move <code>src/com</code>...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,794
svn
# Subversion can't merge after a move I'm very new to Subversion, but I've used other revision control systems like ClearCase for years. My boss asked me to fix this project so that it could be built with Maven instead of Ant. One of the important things I had to do to was to move `src/com` to `src/main/java/com`, an...
To answer your question directly: > Is there a way to make Subversion do the revision management, or am I going to be manually merging this guy’s changes for the next two days? You should be able to make it a little bit easier on yourself. One thing that you can do to alleviate some of the pain (assuming a layout as...
9262959
Include SVN revision number in source code
17
2012-02-13 15:19:29
<p>My requirement is simple. At the beginning of each file there should be a block comment like this:</p> <pre><code>/* * This file was last modified by {username} at {date} and has revision number {revisionnumber} */ </code></pre> <p>I want to populate the <code>{username}</code>, <code>{date}</code> and <code>{re...
22,844
222,674
2015-08-27 07:39:38
9,263,373
13
2012-02-13 15:44:38
222,674
2012-02-13 15:44:38
https://stackoverflow.com/q/9262959
https://stackoverflow.com/a/9263373
<p>I looked at <a href="https://stackoverflow.com/questions/2008843/subversion-add-revision-data-to-code-file-on-commit">this</a> question and got some useful information. It is not exactly duplicate because I am working with <code>NetBeans</code> but the idea is the same. This is my header:</p> <pre><code>/* * $Last...
<p>I looked at <a href="https://stackoverflow.com/questions/2008843/subversion-add-revision-data-to-code-file-on-commit">this</a> question and got some useful information. It is not exactly duplicate because I am working with <code>NetBeans</code> but the idea is the same. This is my header:</p> <pre><code>/* * $Last...
17, 63, 456, 2176
java, netbeans, svn, version-control
<h1>Include SVN revision number in source code</h1> <p>My requirement is simple. At the beginning of each file there should be a block comment like this:</p> <pre><code>/* * This file was last modified by {username} at {date} and has revision number {revisionnumber} */ </code></pre> <p>I want to populate the <code>...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,795
svn
# Include SVN revision number in source code My requirement is simple. At the beginning of each file there should be a block comment like this: ``` /* * This file was last modified by {username} at {date} and has revision number {revisionnumber} */ ``` I want to populate the `{username}`, `{date}` and `{revisionnu...
I looked at [this](https://stackoverflow.com/questions/2008843/subversion-add-revision-data-to-code-file-on-commit) question and got some useful information. It is not exactly duplicate because I am working with `NetBeans` but the idea is the same. This is my header: ``` /* * $LastChangedDate$ * $LastChangedRevision...
8604767
SVN 1.7+ in Netbeans 7.0
16
2011-12-22 13:46:05
<p>I have a project that uses totoiseSVN. Before upgrading it to 1.7 version all works fine, but when I upgrade tortoiseSVN to 1.7 version it gives me an error when I try to commit or to show history log or to update:</p> <pre><code>org.tigris.subversion.javahl.ClientException: Unsupported working copy format The path...
8,354
491,790
2012-01-23 12:52:47
8,708,800
13
2012-01-03 06:40:44
117,801
2012-01-03 06:40:44
https://stackoverflow.com/q/8604767
https://stackoverflow.com/a/8708800
<p>Enable Command line switch in your application shortcut/execution path:</p> <pre><code>-J-DsvnClientAdapterFactory=commandline </code></pre> <p><strong>Example</strong></p> <pre><code>“C:\Program Files\NetBeans 7.0.1\bin\netbeans.exe” -J-DsvnClientAdapterFactory=commandline </code></pre>
<p>Enable Command line switch in your application shortcut/execution path:</p> <pre><code>-J-DsvnClientAdapterFactory=commandline </code></pre> <p><strong>Example</strong></p> <pre><code>“C:\Program Files\NetBeans 7.0.1\bin\netbeans.exe” -J-DsvnClientAdapterFactory=commandline </code></pre>
63, 656, 2176
netbeans, svn, tortoisesvn
<h1>SVN 1.7+ in Netbeans 7.0</h1> <p>I have a project that uses totoiseSVN. Before upgrading it to 1.7 version all works fine, but when I upgrade tortoiseSVN to 1.7 version it gives me an error when I try to commit or to show history log or to update:</p> <pre><code>org.tigris.subversion.javahl.ClientException: Unsupp...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,797
svn
# SVN 1.7+ in Netbeans 7.0 I have a project that uses totoiseSVN. Before upgrading it to 1.7 version all works fine, but when I upgrade tortoiseSVN to 1.7 version it gives me an error when I try to commit or to show history log or to update: ``` org.tigris.subversion.javahl.ClientException: Unsupported working copy f...
Enable Command line switch in your application shortcut/execution path: ``` -J-DsvnClientAdapterFactory=commandline ``` **Example** ``` “C:\Program Files\NetBeans 7.0.1\bin\netbeans.exe” -J-DsvnClientAdapterFactory=commandline ```
370518
How do I start with working Sub-Version + Delphi?
16
2008-12-16 05:18:06
<p>I'm new to this SCM, but since SVN is gaining popularity I was going to give it a try.</p> <p>Things I noticed:</p> <ol> <li>SVN is only the backbone of the SCM, no front-end?</li> <li>Why is there several versions of Windows Binaries? Tigris? SlikSVN? VisualSVN?</li> <li>Do I need a Web Server like Apache in orde...
7,920
30,787
2019-04-30 19:41:43
370,528
13
2008-12-16 05:25:09
12,458
2019-04-30 19:37:48
https://stackoverflow.com/q/370518
https://stackoverflow.com/a/370528
<p><a href="http://blog.excastle.com/2007/04/09/subversion-in-delphis-tools-menu/" rel="nofollow noreferrer">Here's a great guide</a> for integrating TortoiseSVN with Delphi's "Tools" menu.</p> <p>This site shows how to add the following into the IDE:</p> <ol> <li><p><code>svn Commit</code>: Opens the TortoiseSVN com...
<p><a href="http://blog.excastle.com/2007/04/09/subversion-in-delphis-tools-menu/" rel="nofollow noreferrer">Here's a great guide</a> for integrating TortoiseSVN with Delphi's "Tools" menu.</p> <p>This site shows how to add the following into the IDE:</p> <ol> <li><p><code>svn Commit</code>: Opens the TortoiseSVN com...
63, 118
delphi, svn
<h1>How do I start with working Sub-Version + Delphi?</h1> <p>I'm new to this SCM, but since SVN is gaining popularity I was going to give it a try.</p> <p>Things I noticed:</p> <ol> <li>SVN is only the backbone of the SCM, no front-end?</li> <li>Why is there several versions of Windows Binaries? Tigris? SlikSVN? Vis...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,798
svn
# How do I start with working Sub-Version + Delphi? I'm new to this SCM, but since SVN is gaining popularity I was going to give it a try. Things I noticed: 1. SVN is only the backbone of the SCM, no front-end? 2. Why is there several versions of Windows Binaries? Tigris? SlikSVN? VisualSVN? 3. Do I need a Web Serve...
[Here's a great guide](http://blog.excastle.com/2007/04/09/subversion-in-delphis-tools-menu/) for integrating TortoiseSVN with Delphi's "Tools" menu. This site shows how to add the following into the IDE: 1. `svn Commit`: Opens the TortoiseSVN commit window. 2. `svn Diff`: Shows diffs for the file currently being edi...
8922774
Getting the last version of a deleted folder in subversion
15
2012-01-19 08:04:33
<p>I need to get the content of folder deleted from our repository long time ago</p> <ul> <li>I still know the name of the folder</li> <li>I don't know the revision in which it was deleted</li> <li>I don't know the date when it was deleted</li> <li>In the history of the parent directory there is no information (i.e., ...
5,288
387,981
2012-01-19 08:20:02
8,922,938
13
2012-01-19 08:20:02
12,711
2012-01-19 08:20:02
https://stackoverflow.com/q/8922774
https://stackoverflow.com/a/8922938
<p>You can find the revision that the directory was deleted in by going to the parent directory of the deleted directory and using the following command:</p> <pre><code> svn log -v . &gt; somefile </code></pre> <p>then search somefile in an editor for the revision record contain the delete for the directory name.</p>...
<p>You can find the revision that the directory was deleted in by going to the parent directory of the deleted directory and using the following command:</p> <pre><code> svn log -v . &gt; somefile </code></pre> <p>then search somefile in an editor for the revision record contain the delete for the directory name.</p>...
63, 11782
data-recovery, svn
<h1>Getting the last version of a deleted folder in subversion</h1> <p>I need to get the content of folder deleted from our repository long time ago</p> <ul> <li>I still know the name of the folder</li> <li>I don't know the revision in which it was deleted</li> <li>I don't know the date when it was deleted</li> <li>In...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,799
svn
# Getting the last version of a deleted folder in subversion I need to get the content of folder deleted from our repository long time ago - I still know the name of the folder - I don't know the revision in which it was deleted - I don't know the date when it was deleted - In the history of the parent directory ther...
You can find the revision that the directory was deleted in by going to the parent directory of the deleted directory and using the following command: ``` svn log -v . > somefile ``` then search somefile in an editor for the revision record contain the delete for the directory name.
3518841
Checking in an Eclipse project into SVN
15
2010-08-19 04:59:30
<p>I want to checkin a Dynamic Web Project I created in eclipse into svn. Can someone tell me which files I have to check in and which one I should not? The idea is to be able to check out the project using the New Project Wizard so that I can create the Dynamic Web Project again. More specifically here are the files/d...
17,370
220,201
2016-02-01 15:42:42
3,519,770
13
2010-08-19 07:56:07
181,336
2014-04-02 07:14:55
https://stackoverflow.com/q/3518841
https://stackoverflow.com/a/3519770
<p>If you check in <code>.classpath/.project/.settings</code> you make your project Eclipse-specific. What about developers who work with <code>Netbeans</code> or <code>IntelliJ</code>? IMO it is cleaner to keep your project IDE-independent and easy to set up.</p> <p>I usually go for a Maven build. The <code>pom.xml</...
<p>If you check in <code>.classpath/.project/.settings</code> you make your project Eclipse-specific. What about developers who work with <code>Netbeans</code> or <code>IntelliJ</code>? IMO it is cleaner to keep your project IDE-independent and easy to set up.</p> <p>I usually go for a Maven build. The <code>pom.xml</...
17, 53, 63
eclipse, java, svn
<h1>Checking in an Eclipse project into SVN</h1> <p>I want to checkin a Dynamic Web Project I created in eclipse into svn. Can someone tell me which files I have to check in and which one I should not? The idea is to be able to check out the project using the New Project Wizard so that I can create the Dynamic Web Proj...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,800
svn
# Checking in an Eclipse project into SVN I want to checkin a Dynamic Web Project I created in eclipse into svn. Can someone tell me which files I have to check in and which one I should not? The idea is to be able to check out the project using the New Project Wizard so that I can create the Dynamic Web Project again...
If you check in `.classpath/.project/.settings` you make your project Eclipse-specific. What about developers who work with `Netbeans` or `IntelliJ`? IMO it is cleaner to keep your project IDE-independent and easy to set up. I usually go for a Maven build. The `pom.xml` specifies all the required dependencies and `mvn...
1532476
Update to latest version from command line
15
2009-10-07 15:46:52
<p>Is there an SVN command-line utility that allows you to update a given directory / repository to the latest version?</p> <p>I would like to be able to remotely update our development server without having to go into remote desktop etc., as there are often times where all the RD terminals are in use, if it was comma...
39,707
70,847
2012-10-18 16:30:06
1,532,496
13
2009-10-07 15:50:25
168,382
2009-10-07 15:50:25
https://stackoverflow.com/q/1532476
https://stackoverflow.com/a/1532496
<p>There is a <a href="http://subversion.tigris.org/" rel="noreferrer">command-line client</a> for Subversion. You can see the usage options it offers if you type <code>svn help</code>. The one for updating would be simply <code>svn up</code>.</p>
<p>There is a <a href="http://subversion.tigris.org/" rel="noreferrer">command-line client</a> for Subversion. You can see the usage options it offers if you type <code>svn help</code>. The one for updating would be simply <code>svn up</code>.</p>
63, 656
svn, tortoisesvn
<h1>Update to latest version from command line</h1> <p>Is there an SVN command-line utility that allows you to update a given directory / repository to the latest version?</p> <p>I would like to be able to remotely update our development server without having to go into remote desktop etc., as there are often times wh...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,801
svn
# Update to latest version from command line Is there an SVN command-line utility that allows you to update a given directory / repository to the latest version? I would like to be able to remotely update our development server without having to go into remote desktop etc., as there are often times where all the RD t...
There is a [command-line client](http://subversion.tigris.org/) for Subversion. You can see the usage options it offers if you type `svn help`. The one for updating would be simply `svn up`.
1013034
SVN -Change directory structure on an existing repository
15
2009-06-18 14:40:19
<p>Is is possable to change the directory structure of an existing SVN repository?</p> <p>I have the following structure:</p> <pre><code>\trunk \branches \releases </code></pre> <p>I would like to change the \releases folder to \tags </p> <p>Cheers Sean</p>
25,789
47,212
2012-12-03 13:23:29
1,013,076
13
2009-06-18 14:47:08
13,618
2009-06-18 14:47:08
https://stackoverflow.com/q/1013034
https://stackoverflow.com/a/1013076
<p>No problem, use svn move. You can do the move locally and then do a checkin (it requires you to checkout the whole svn repository in this case).</p> <p>You can also do the move remotely:</p> <pre><code>svn move svn+ssh:user@host//myrepo/releases svn+ssh:user@host//myrepo/tags </code></pre> <p>If you are using Tor...
<p>No problem, use svn move. You can do the move locally and then do a checkin (it requires you to checkout the whole svn repository in this case).</p> <p>You can also do the move remotely:</p> <pre><code>svn move svn+ssh:user@host//myrepo/releases svn+ssh:user@host//myrepo/tags </code></pre> <p>If you are using Tor...
63
svn
<h1>SVN -Change directory structure on an existing repository</h1> <p>Is is possable to change the directory structure of an existing SVN repository?</p> <p>I have the following structure:</p> <pre><code>\trunk \branches \releases </code></pre> <p>I would like to change the \releases folder to \tags </p> <p>Cheer...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,802
svn
# SVN -Change directory structure on an existing repository Is is possable to change the directory structure of an existing SVN repository? I have the following structure: ``` \trunk \branches \releases ``` I would like to change the \releases folder to \tags Cheers Sean
No problem, use svn move. You can do the move locally and then do a checkin (it requires you to checkout the whole svn repository in this case). You can also do the move remotely: ``` svn move svn+ssh:user@host//myrepo/releases svn+ssh:user@host//myrepo/tags ``` If you are using TortoiseSVN, you can do this action w...
1497346
Drupal DATABASE deployment strategies?
14
2009-09-30 10:45:17
<p>From this item: <a href="https://stackoverflow.com/questions/730138/whats-best-drupal-deployment-strategy">What&#39;s best Drupal deployment strategy?</a> .... I quote:</p> <blockquote> <p>Databases are trickier; cleaning up the dev/staging DB and pushing it to live is easiest for the initial rollout but there ar...
4,887
146,366
2012-09-11 19:05:58
1,503,003
13
2009-10-01 09:57:15
56,672
2009-10-01 10:18:57
https://stackoverflow.com/q/1497346
https://stackoverflow.com/a/1503003
<blockquote> <p>Is there any other way to keep my db and server DB in synch? especially considering that users will be posting new data all the time?</p> </blockquote> <p>We have a large distributed team and editorial staff everywhere so deploying the database is not feasible. </p> <p>To get around this we make ext...
<blockquote> <p>Is there any other way to keep my db and server DB in synch? especially considering that users will be posting new data all the time?</p> </blockquote> <p>We have a large distributed team and editorial staff everywhere so deploying the database is not feasible. </p> <p>To get around this we make ext...
63, 3262
drupal, svn
<h1>Drupal DATABASE deployment strategies?</h1> <p>From this item: <a href="https://stackoverflow.com/questions/730138/whats-best-drupal-deployment-strategy">What&#39;s best Drupal deployment strategy?</a> .... I quote:</p> <blockquote> <p>Databases are trickier; cleaning up the dev/staging DB and pushing it to live...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,803
svn
# Drupal DATABASE deployment strategies? From this item: [What's best Drupal deployment strategy?](https://stackoverflow.com/questions/730138/whats-best-drupal-deployment-strategy) .... I quote: > Databases are trickier; cleaning up the dev/staging DB and pushing it to live is easiest for the initial rollout but ther...
> Is there any other way to keep my db and server DB in synch? especially considering that users will be posting new data all the time? We have a large distributed team and editorial staff everywhere so deploying the database is not feasible. To get around this we make extensive use of update functions. We have a mod...
850304
Subversion Merge: How do I Cleanly Re-integrate a 'Definitive' Branch?
14
2009-05-11 22:00:46
<p>We have been experimenting with a new technique to manage our release branches. </p> <p>Generally, we maintain our current release on the trunk, and create release branches for each release. The release branch is where active development usually occurs, and the trunk is used for bug fixes on the current release.<...
16,398
67,009
2011-02-09 20:34:11
850,532
13
2009-05-11 23:36:01
52,626
2009-05-11 23:36:01
https://stackoverflow.com/q/850304
https://stackoverflow.com/a/850532
<p>From the output of <code>svn help merge</code>:</p> <blockquote> <p><strong>--accept</strong> <em>ARG</em></p> <p>specify automatic conflict resolution action ('postpone', 'base', 'mine-conflict', 'theirs-conflict', 'mine-full', 'theirs-full', 'edit', 'launch')</p> </blockquote> <p>To accept the branch ...
<p>From the output of <code>svn help merge</code>:</p> <blockquote> <p><strong>--accept</strong> <em>ARG</em></p> <p>specify automatic conflict resolution action ('postpone', 'base', 'mine-conflict', 'theirs-conflict', 'mine-full', 'theirs-full', 'edit', 'launch')</p> </blockquote> <p>To accept the branch ...
63
svn
<h1>Subversion Merge: How do I Cleanly Re-integrate a 'Definitive' Branch?</h1> <p>We have been experimenting with a new technique to manage our release branches. </p> <p>Generally, we maintain our current release on the trunk, and create release branches for each release. The release branch is where active developm...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,804
svn
# Subversion Merge: How do I Cleanly Re-integrate a 'Definitive' Branch? We have been experimenting with a new technique to manage our release branches. Generally, we maintain our current release on the trunk, and create release branches for each release. The release branch is where active development usually occurs,...
From the output of `svn help merge`: > **--accept** *ARG* > > specify automatic conflict resolution action > ('postpone', 'base', 'mine-conflict', 'theirs-conflict', 'mine-full', > 'theirs-full', 'edit', 'launch') To accept the branch changes when merging to the trunk, you need the "`--accept theirs-full`" option. I...
788940
How to synchronize SVN revision and version ressources of EXE/DLL files?
13
2009-04-25 13:37:16
<p>Say I have some C++ project which builds an exe or dll file. The project is checked into a SVN repository. I want to automatically synchronize the revision from SVN with the version resource embedded in my exe/dll file, i.e. the version should be something like <strong>$major.$minor.$svn_revision</strong>.<br> Any i...
5,148
62,459
2010-12-03 16:58:53
788,946
13
2009-04-25 13:40:18
267
2009-04-25 13:40:18
https://stackoverflow.com/q/788940
https://stackoverflow.com/a/788946
<p>If you have TortoiseSVN installed, then there is a program installed with it, <code>SubWCRev</code>.</p> <p>If, in your file, you have this value:</p> <pre><code>$WCREV$ </code></pre> <p>Then it'll be replaced with the highest committed revision number if you execute something like this:</p> <pre><code>SubWCRev ...
<p>If you have TortoiseSVN installed, then there is a program installed with it, <code>SubWCRev</code>.</p> <p>If, in your file, you have this value:</p> <pre><code>$WCREV$ </code></pre> <p>Then it'll be replaced with the highest committed revision number if you execute something like this:</p> <pre><code>SubWCRev ...
10, 63, 487, 852
build-automation, c++, resources, svn
<h1>How to synchronize SVN revision and version ressources of EXE/DLL files?</h1> <p>Say I have some C++ project which builds an exe or dll file. The project is checked into a SVN repository. I want to automatically synchronize the revision from SVN with the version resource embedded in my exe/dll file, i.e. the versio...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,807
svn
# How to synchronize SVN revision and version ressources of EXE/DLL files? Say I have some C++ project which builds an exe or dll file. The project is checked into a SVN repository. I want to automatically synchronize the revision from SVN with the version resource embedded in my exe/dll file, i.e. the version should ...
If you have TortoiseSVN installed, then there is a program installed with it, `SubWCRev`. If, in your file, you have this value: ``` $WCREV$ ``` Then it'll be replaced with the highest committed revision number if you execute something like this: ``` SubWCRev .\ yourfile.txt.template yourfile.txt ``` This will cop...
12906238
What is intermediate directories in SVN?
12
2012-10-16 01:13:30
<p>I just started to learn SVN. Please give me your advice to understand the basic theory below.</p> <p>The <code>svn copy</code> and <code>svn move</code> command have an option called <code>--parents</code>. It says without <code>--parents</code> option, it would not create <code>intermediate directories</code>. </...
9,895
1,183,784
2017-11-20 09:32:15
12,906,577
13
2012-10-16 02:09:25
368,630
2016-02-26 20:47:21
https://stackoverflow.com/q/12906238
https://stackoverflow.com/a/12906577
<p>Let’s say you just created a new Java project in Subversion. You now have an empty directory, and you want to create a directory for your source files. I like to follow Maven directory structure even if I’m not using Maven. Maven says my source files should be under the <code>src/main/java</code> directory. Since my...
<p>Let’s say you just created a new Java project in Subversion. You now have an empty directory, and you want to create a directory for your source files. I like to follow Maven directory structure even if I’m not using Maven. Maven says my source files should be under the <code>src/main/java</code> directory. Since my...
63
svn
<h1>What is intermediate directories in SVN?</h1> <p>I just started to learn SVN. Please give me your advice to understand the basic theory below.</p> <p>The <code>svn copy</code> and <code>svn move</code> command have an option called <code>--parents</code>. It says without <code>--parents</code> option, it would no...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,808
svn
# What is intermediate directories in SVN? I just started to learn SVN. Please give me your advice to understand the basic theory below. The `svn copy` and `svn move` command have an option called `--parents`. It says without `--parents` option, it would not create `intermediate directories`. Could anyone tell me wh...
Let’s say you just created a new Java project in Subversion. You now have an empty directory, and you want to create a directory for your source files. I like to follow Maven directory structure even if I’m not using Maven. Maven says my source files should be under the `src/main/java` directory. Since my company is Ve...
3879938
SVN - delete a revision, or make an older revision the head
12
2010-10-07 08:36:40
<p>I'm fairly new to SVN and I've never had to revert back to a previous revision, although I can get a copy of a revision from the repository okay. I'm using TortoiseSVN and the Visual Studio SVN plugin.</p> <p>I'd like to restore the trunk back to a previous revision.</p> <p>How can I restore the trunk - e.g. roll...
25,789
null
2010-10-07 14:50:25
3,880,100
13
2010-10-07 08:56:16
400,056
2010-10-07 08:59:46
https://stackoverflow.com/q/3879938
https://stackoverflow.com/a/3880100
<p>What you need is a so-called reverse merge:</p> <pre><code>svn merge -r HEAD:&lt;rev_you_want_to_revert_to&gt; </code></pre> <p>See the <a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-merge.html" rel="nofollow noreferrer">Tortoise SVN merge documentation</a> for details on how to do that with ...
<p>What you need is a so-called reverse merge:</p> <pre><code>svn merge -r HEAD:&lt;rev_you_want_to_revert_to&gt; </code></pre> <p>See the <a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-merge.html" rel="nofollow noreferrer">Tortoise SVN merge documentation</a> for details on how to do that with ...
63, 656
svn, tortoisesvn
<h1>SVN - delete a revision, or make an older revision the head</h1> <p>I'm fairly new to SVN and I've never had to revert back to a previous revision, although I can get a copy of a revision from the repository okay. I'm using TortoiseSVN and the Visual Studio SVN plugin.</p> <p>I'd like to restore the trunk back to...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,810
svn
# SVN - delete a revision, or make an older revision the head I'm fairly new to SVN and I've never had to revert back to a previous revision, although I can get a copy of a revision from the repository okay. I'm using TortoiseSVN and the Visual Studio SVN plugin. I'd like to restore the trunk back to a previous revis...
What you need is a so-called reverse merge: ``` svn merge -r HEAD:<rev_you_want_to_revert_to> ``` See the [Tortoise SVN merge documentation](http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-merge.html) for details on how to do that with Tortoise SVN. Also see [the SVN book](http://svnbook.red-bean.com/en/1...
941646
What do you use the svn tags directory for anyways?
12
2009-06-02 20:13:13
<p>Ok so we all know the standard SVN set-up of</p> <pre><code>trunk\ branches\ tags\ </code></pre> <p>And I realize that the recommendation is that tags should have "special" commits in it. I've never really used the tags directory however and I don't see why I ever would.</p> <p>My understanding is that tags\ wou...
7,385
5,056
2013-01-07 08:45:33
941,682
13
2009-06-02 20:20:13
46,387
2009-06-02 20:47:27
https://stackoverflow.com/q/941646
https://stackoverflow.com/a/941682
<blockquote> <p>Just make a note revision 712 was our version 1 release.</p> </blockquote> <p>This works well enough for developers on the team, perhaps (assuming you have a document store to make such notes in), but asking anyone not intimately familiar with the repository to "just remember" gets pretty unreasonabl...
<blockquote> <p>Just make a note revision 712 was our version 1 release.</p> </blockquote> <p>This works well enough for developers on the team, perhaps (assuming you have a document store to make such notes in), but asking anyone not intimately familiar with the repository to "just remember" gets pretty unreasonabl...
63, 456, 9608
organization, svn, version-control
<h1>What do you use the svn tags directory for anyways?</h1> <p>Ok so we all know the standard SVN set-up of</p> <pre><code>trunk\ branches\ tags\ </code></pre> <p>And I realize that the recommendation is that tags should have "special" commits in it. I've never really used the tags directory however and I don't see...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,811
svn
# What do you use the svn tags directory for anyways? Ok so we all know the standard SVN set-up of ``` trunk\ branches\ tags\ ``` And I realize that the recommendation is that tags should have "special" commits in it. I've never really used the tags directory however and I don't see why I ever would. My understandi...
> Just make a note revision 712 was our version 1 release. This works well enough for developers on the team, perhaps (assuming you have a document store to make such notes in), but asking anyone not intimately familiar with the repository to "just remember" gets pretty unreasonable pretty quickly. For example, say y...
17790484
SVN (server - pre-commit hook): Know the list of files that are being committed
11
2013-07-22 14:43:37
<p>I would like to know how to get the list of files that are being committed on the pre-commit hook.</p> <p>If that list doesn't contain a specific file in a specific path, then I want to reject the commit.</p>
17,406
512,025
2016-07-06 15:01:35
17,791,562
13
2013-07-22 15:29:04
2,583,918
2013-07-22 15:29:04
https://stackoverflow.com/q/17790484
https://stackoverflow.com/a/17791562
<p>Use <code>svnlook</code> in a pre-commit. <code>svnlook changed</code> gives the changed paths of the commit. Compare this against your list. And reject it if path is found/not found. One simple example for pre-commit could be.</p> <pre><code>#!/bin/sh REPOS="$1" TXN="$2" SPATH="specific/path" FOUND=$(svnlook cha...
<p>Use <code>svnlook</code> in a pre-commit. <code>svnlook changed</code> gives the changed paths of the commit. Compare this against your list. And reject it if path is found/not found. One simple example for pre-commit could be.</p> <pre><code>#!/bin/sh REPOS="$1" TXN="$2" SPATH="specific/path" FOUND=$(svnlook cha...
63
svn
<h1>SVN (server - pre-commit hook): Know the list of files that are being committed</h1> <p>I would like to know how to get the list of files that are being committed on the pre-commit hook.</p> <p>If that list doesn't contain a specific file in a specific path, then I want to reject the commit.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,813
svn
# SVN (server - pre-commit hook): Know the list of files that are being committed I would like to know how to get the list of files that are being committed on the pre-commit hook. If that list doesn't contain a specific file in a specific path, then I want to reject the commit.
Use `svnlook` in a pre-commit. `svnlook changed` gives the changed paths of the commit. Compare this against your list. And reject it if path is found/not found. One simple example for pre-commit could be. ``` #!/bin/sh REPOS="$1" TXN="$2" SPATH="specific/path" FOUND=$(svnlook changed -t "$TXN" "$REPOS" | tr -d '\n' ...
11557637
svnant does not support svn version 1.7. what to do?
11
2012-07-19 09:17:36
<p>I'm using tortoise svn, and recently I updated to version 1.7. Still, in our build system (ant script) we use svnant lib (to get current revision number, we use it as version number). So can no longer build the project as svnant does not support 1.7 version of svn. How can I solve this problem?</p> <p>Thank you in ...
14,999
574,686
2013-03-28 10:34:46
11,558,376
13
2012-07-19 10:01:22
644,450
2012-07-19 10:01:22
https://stackoverflow.com/q/11557637
https://stackoverflow.com/a/11558376
<p>You can use the command line version of svn.</p> <ol> <li><a href="https://subversion.apache.org/packages.html">Download</a> and Install it on your machine</li> <li>Include it in your Path (so that you can execute svn from the command line) </li> <li><p>Change the svnsettings to</p> <pre><code>&lt;svnSetting s...
<p>You can use the command line version of svn.</p> <ol> <li><a href="https://subversion.apache.org/packages.html">Download</a> and Install it on your machine</li> <li>Include it in your Path (so that you can execute svn from the command line) </li> <li><p>Change the svnsettings to</p> <pre><code>&lt;svnSetting s...
63, 142, 14366
ant, svn, svnant
<h1>svnant does not support svn version 1.7. what to do?</h1> <p>I'm using tortoise svn, and recently I updated to version 1.7. Still, in our build system (ant script) we use svnant lib (to get current revision number, we use it as version number). So can no longer build the project as svnant does not support 1.7 versi...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,814
svn
# svnant does not support svn version 1.7. what to do? I'm using tortoise svn, and recently I updated to version 1.7. Still, in our build system (ant script) we use svnant lib (to get current revision number, we use it as version number). So can no longer build the project as svnant does not support 1.7 version of svn...
You can use the command line version of svn. 1. [Download](https://subversion.apache.org/packages.html) and Install it on your machine 2. Include it in your Path (so that you can execute svn from the command line) 3. Change the svnsettings to ``` <svnSetting svnkit="false" javahl="false" id...
7264122
SVN Checkout a single directory
11
2011-08-31 22:13:37
<p>Here is my dilemma:</p> <p>I want to checkout a single directory (let's call it A) from SVN, but be able to do and svn up A from the parent directory on the computer is checked out on.</p> <p>i.g. I am on in ~/coolstuff I want do do a checkout of A and put it in ~/coolstuff and when I am in ~/coolstuff I want to...
10,978
260,394
2017-11-10 20:26:04
7,264,206
13
2011-08-31 22:25:06
120,731
2011-08-31 22:25:06
https://stackoverflow.com/q/7264122
https://stackoverflow.com/a/7264206
<p>I think this is what you want to do:</p> <pre><code>svn co --depth empty file://path/to/A-B/parent coolstuff cd coolstuff svn up A </code></pre> <p>Now you can do an <code>svn up</code> from within <em>coolstuff</em> to update <em>A</em> without pulling in <em>B</em> automatically.</p>
<p>I think this is what you want to do:</p> <pre><code>svn co --depth empty file://path/to/A-B/parent coolstuff cd coolstuff svn up A </code></pre> <p>Now you can do an <code>svn up</code> from within <em>coolstuff</em> to update <em>A</em> without pulling in <em>B</em> automatically.</p>
63, 218, 65722
directory, svn, svn-checkout
<h1>SVN Checkout a single directory</h1> <p>Here is my dilemma:</p> <p>I want to checkout a single directory (let's call it A) from SVN, but be able to do and svn up A from the parent directory on the computer is checked out on.</p> <p>i.g. I am on in ~/coolstuff I want do do a checkout of A and put it in ~/coolstu...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,815
svn
# SVN Checkout a single directory Here is my dilemma: I want to checkout a single directory (let's call it A) from SVN, but be able to do and svn up A from the parent directory on the computer is checked out on. i.g. I am on in ~/coolstuff I want do do a checkout of A and put it in ~/coolstuff and when I am in ~/coo...
I think this is what you want to do: ``` svn co --depth empty file://path/to/A-B/parent coolstuff cd coolstuff svn up A ``` Now you can do an `svn up` from within *coolstuff* to update *A* without pulling in *B* automatically.
5832287
What goes into Source Control?
11
2011-04-29 12:52:12
<p>Given: <a href="http://developer.android.com/resources/faq/commontasks.html#filelist" rel="noreferrer">http://developer.android.com/resources/faq/commontasks.html#filelist</a></p> <ol> <li>What are the best practices for getting your projects into source control? I ask because if you simply right click on your pro...
6,968
617,044
2011-05-03 12:44:33
5,834,212
13
2011-04-29 15:45:13
617,044
2011-05-03 12:44:33
https://stackoverflow.com/q/5832287
https://stackoverflow.com/a/5834212
<p>I summarized all my findings in a blog post that can be found here: <a href="http://www.aydabtudev.com/2011/05/what-goes-into-source-control-android.html">http://www.aydabtudev.com/2011/05/what-goes-into-source-control-android.html</a></p> <p>I executed the following commands from within my project folder to get th...
<p>I summarized all my findings in a blog post that can be found here: <a href="http://www.aydabtudev.com/2011/05/what-goes-into-source-control-android.html">http://www.aydabtudev.com/2011/05/what-goes-into-source-control-android.html</a></p> <p>I executed the following commands from within my project folder to get th...
55, 63, 456, 1386
android, subclipse, svn, version-control
<h1>What goes into Source Control?</h1> <p>Given: <a href="http://developer.android.com/resources/faq/commontasks.html#filelist" rel="noreferrer">http://developer.android.com/resources/faq/commontasks.html#filelist</a></p> <ol> <li>What are the best practices for getting your projects into source control? I ask becau...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,816
svn
# What goes into Source Control? Given: <http://developer.android.com/resources/faq/commontasks.html#filelist> 1. What are the best practices for getting your projects into source control? I ask because if you simply right click on your project, choose team, etc. you end up with the /bin & /gen folders, .classpath as...
I summarized all my findings in a blog post that can be found here: <http://www.aydabtudev.com/2011/05/what-goes-into-source-control-android.html> I executed the following commands from within my project folder to get them out of source control: ``` svn rm --keep-local .classpath svn rm --keep-local .project svn rm -...
3545526
svnsync not working : Revprop change blocked by pre-revprop-change hook
11
2010-08-23 07:33:39
<p>I'm trying to copy a used repository by using svnsync (I'm doing it this way in order to ensure optimal usage of my repository as long as its machine is working) but it does not seems to work.</p> <p>I have two machines (I've changed the names, but not the other infos)</p> <ul> <li>INITIAL : custom Linux with Subv...
22,573
15,619
2020-03-30 05:25:36
3,546,286
13
2010-08-23 09:32:08
15,619
2010-08-23 09:32:08
https://stackoverflow.com/q/3545526
https://stackoverflow.com/a/3546286
<p>Turns out I was dumber than dumb.</p> <p>In such an error case, the easiest way to ensure all is working correctly is invoking various hooks by hand.</p> <p>It revealed my <code>pre-revprop-change</code> hook was incorrectly written with</p> <pre><code>"#!/bin/sh" exit 0 </code></pre> <p>Obviously, removing the ...
<p>Turns out I was dumber than dumb.</p> <p>In such an error case, the easiest way to ensure all is working correctly is invoking various hooks by hand.</p> <p>It revealed my <code>pre-revprop-change</code> hook was incorrectly written with</p> <pre><code>"#!/bin/sh" exit 0 </code></pre> <p>Obviously, removing the ...
63, 13553
svn, svnsync
<h1>svnsync not working : Revprop change blocked by pre-revprop-change hook</h1> <p>I'm trying to copy a used repository by using svnsync (I'm doing it this way in order to ensure optimal usage of my repository as long as its machine is working) but it does not seems to work.</p> <p>I have two machines (I've changed t...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,818
svn
# svnsync not working : Revprop change blocked by pre-revprop-change hook I'm trying to copy a used repository by using svnsync (I'm doing it this way in order to ensure optimal usage of my repository as long as its machine is working) but it does not seems to work. I have two machines (I've changed the names, but no...
Turns out I was dumber than dumb. In such an error case, the easiest way to ensure all is working correctly is invoking various hooks by hand. It revealed my `pre-revprop-change` hook was incorrectly written with ``` "#!/bin/sh" exit 0 ``` Obviously, removing the `"` solved the issue.
15243799
How do you configure TortoiseSVN to use Visual Studio 2012 for diffing?
10
2013-03-06 09:45:00
<p>I want to use the new Visual Studio diffing tool for diffing changes via TortoiseSVN. What do I type in the external tool command line box?</p>
5,740
107,783
2017-03-09 04:51:12
25,071,314
13
2014-08-01 00:56:56
238,753
2017-03-09 04:51:12
https://stackoverflow.com/q/15243799
https://stackoverflow.com/a/25071314
<p>You can use <code>vsDiffMerge.exe</code> to do this.</p> <h1>Visual Studio 2012</h1> <p>Diff:</p> <pre><code>"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\vsDiffMerge.exe" /t %base %mine %bname %yname </code></pre> <p>Merge:</p> <pre><code>"C:\Program Files (x86)\Microsoft Visual Studio 12.0\...
<p>You can use <code>vsDiffMerge.exe</code> to do this.</p> <h1>Visual Studio 2012</h1> <p>Diff:</p> <pre><code>"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\vsDiffMerge.exe" /t %base %mine %bname %yname </code></pre> <p>Merge:</p> <pre><code>"C:\Program Files (x86)\Microsoft Visual Studio 12.0\...
63, 606, 656, 80825
diff, svn, tortoisesvn, visual-studio-2012
<h1>How do you configure TortoiseSVN to use Visual Studio 2012 for diffing?</h1> <p>I want to use the new Visual Studio diffing tool for diffing changes via TortoiseSVN. What do I type in the external tool command line box?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,819
svn
# How do you configure TortoiseSVN to use Visual Studio 2012 for diffing? I want to use the new Visual Studio diffing tool for diffing changes via TortoiseSVN. What do I type in the external tool command line box?
You can use `vsDiffMerge.exe` to do this. # Visual Studio 2012 Diff: ``` "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\vsDiffMerge.exe" /t %base %mine %bname %yname ``` Merge: ``` "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\vsDiffMerge.exe" /m %theirs %mine %base %merged ```...
10402991
VisualSVN Server Repository Backup/Restore
9
2012-05-01 19:19:16
<p>I have a Windows Server 2008 with VisualSVN Server hosting a repository. On the client computers I have TortoiseSVN client. </p> <p><strong>How can I create a backup of my repository that is hosted on the server and then restore it?</strong></p>
20,414
1,220,013
2022-12-20 21:37:27
10,404,323
13
2012-05-01 21:03:15
1,178,189
2012-05-01 21:30:23
https://stackoverflow.com/q/10402991
https://stackoverflow.com/a/10404323
<p>From <a href="http://www.visualsvn.com/support/topic/00012/">http://www.visualsvn.com/support/topic/00012/</a> :</p> <hr> <p><em>You can backup your repositories using <code>svnadmin hotcopy</code> Subversion command. For further details please refer to the <a href="http://www.visualsvn.com/support/svnbook/reposad...
<p>From <a href="http://www.visualsvn.com/support/topic/00012/">http://www.visualsvn.com/support/topic/00012/</a> :</p> <hr> <p><em>You can backup your repositories using <code>svnadmin hotcopy</code> Subversion command. For further details please refer to the <a href="http://www.visualsvn.com/support/svnbook/reposad...
63, 64, 456, 656, 11603
svn, tortoisesvn, version-control, visualsvn-server, windows
<h1>VisualSVN Server Repository Backup/Restore</h1> <p>I have a Windows Server 2008 with VisualSVN Server hosting a repository. On the client computers I have TortoiseSVN client. </p> <p><strong>How can I create a backup of my repository that is hosted on the server and then restore it?</strong></p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,822
svn
# VisualSVN Server Repository Backup/Restore I have a Windows Server 2008 with VisualSVN Server hosting a repository. On the client computers I have TortoiseSVN client. **How can I create a backup of my repository that is hosted on the server and then restore it?**
From <http://www.visualsvn.com/support/topic/00012/> : --- *You can backup your repositories using `svnadmin hotcopy` Subversion command. For further details please refer to the [Subversion documentation](http://www.visualsvn.com/support/svnbook/reposadmin/maint/#svn.reposadmin.maint.backup).* *Please note that all ...
539791
Tips for collaboratively editing a LaTeX document
9
2009-02-12 02:43:15
<p>My default setup is to put the tex source in a subversion repository and insert notes to each other as comments in the source when making changes to other people's content. It all feels pretty sub-optimal, especially when there are subversion conflicts where all it tells you is "these two versions of this huge para...
5,345
4,234
2019-01-11 08:29:52
539,848
13
2009-02-12 03:13:23
41,661
2009-02-12 03:13:23
https://stackoverflow.com/q/539791
https://stackoverflow.com/a/539848
<p><em>Always</em> end each sentence with a newline. <em>Never</em> reformat paragraphs. These rules not only minimize spurious conflicts but also make your collaboratively edited paper easier to revise.</p> <p>For author commentary I use marginal comments:</p> <pre><code>\long\def\authornote#1{% \leavevmode...
<p><em>Always</em> end each sentence with a newline. <em>Never</em> reformat paragraphs. These rules not only minimize spurious conflicts but also make your collaboratively edited paper easier to revise.</p> <p>For author commentary I use marginal comments:</p> <pre><code>\long\def\authornote#1{% \leavevmode...
63, 131, 1704
collaboration, latex, svn
<h1>Tips for collaboratively editing a LaTeX document</h1> <p>My default setup is to put the tex source in a subversion repository and insert notes to each other as comments in the source when making changes to other people's content. It all feels pretty sub-optimal, especially when there are subversion conflicts wher...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,823
svn
# Tips for collaboratively editing a LaTeX document My default setup is to put the tex source in a subversion repository and insert notes to each other as comments in the source when making changes to other people's content. It all feels pretty sub-optimal, especially when there are subversion conflicts where all it t...
*Always* end each sentence with a newline. *Never* reformat paragraphs. These rules not only minimize spurious conflicts but also make your collaboratively edited paper easier to revise. For author commentary I use marginal comments: ``` \long\def\authornote#1{% \leavevmode\unskip\raisebox{-3.5pt}{\rlap{$\scr...
458182
Does SVN Compress the binary content?
9
2009-01-19 16:23:07
<p>I was wondering whether SVN actually compresses the binary content on the server during Commits? I know that the binary store the diffgrams for comparison and versioning but wondered whether a new file commited would occupy the same volume on the server as it does on the client pc?</p>
6,151
null
2010-11-22 20:08:55
458,205
13
2009-01-19 16:29:07
56,349
2010-11-22 20:08:55
https://stackoverflow.com/q/458182
https://stackoverflow.com/a/458205
<p>I believe so. </p> <p>From here: <a href="http://svn.apache.org/repos/asf/subversion/trunk/INSTALL" rel="noreferrer">http://svn.apache.org/repos/asf/subversion/trunk/INSTALL</a></p> <blockquote> <pre><code> * libz (REQUIRED for client and server) </code></pre> </blockquote> <pre><code> Subversion uses zlib ...
<p>I believe so. </p> <p>From here: <a href="http://svn.apache.org/repos/asf/subversion/trunk/INSTALL" rel="noreferrer">http://svn.apache.org/repos/asf/subversion/trunk/INSTALL</a></p> <blockquote> <pre><code> * libz (REQUIRED for client and server) </code></pre> </blockquote> <pre><code> Subversion uses zlib ...
63, 76
compression, svn
<h1>Does SVN Compress the binary content?</h1> <p>I was wondering whether SVN actually compresses the binary content on the server during Commits? I know that the binary store the diffgrams for comparison and versioning but wondered whether a new file commited would occupy the same volume on the server as it does on th...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,824
svn
# Does SVN Compress the binary content? I was wondering whether SVN actually compresses the binary content on the server during Commits? I know that the binary store the diffgrams for comparison and versioning but wondered whether a new file commited would occupy the same volume on the server as it does on the client ...
I believe so. From here: <http://svn.apache.org/repos/asf/subversion/trunk/INSTALL> > ``` > * libz (REQUIRED for client and server) > ``` ``` Subversion uses zlib for compressing binary differences. These diff streams are used everywhere -- over the network, in the repository, and in the client's w...
37520780
Find a specific SVN commit by comment and/or author
8
2016-05-30 08:15:57
<p>We're 5 people on our project and sometimes we would want to find a specific commit on SVN, like a bug resolution. </p> <p>Of course we don't know the revision number of the researched commit. </p> <p>Does someone have an idea to find a commit by comment ? </p> <p>I think it's possible by parsing svn logs and usi...
5,826
3,374,342
2018-10-23 19:10:19
37,549,575
13
2016-05-31 15:16:49
3,578,861
2018-10-23 19:10:19
https://stackoverflow.com/q/37520780
https://stackoverflow.com/a/37549575
<p>If you prefer the cli, use <code>log --search</code> (see <a href="http://svnbook.red-bean.com/en/1.8/svn.ref.svn.html#svn.ref.svn.sw.search" rel="noreferrer">doc</a>)</p> <pre><code>svn log --search your_comment_fragment </code></pre>
<p>If you prefer the cli, use <code>log --search</code> (see <a href="http://svnbook.red-bean.com/en/1.8/svn.ref.svn.html#svn.ref.svn.sw.search" rel="noreferrer">doc</a>)</p> <pre><code>svn log --search your_comment_fragment </code></pre>
63
svn
<h1>Find a specific SVN commit by comment and/or author</h1> <p>We're 5 people on our project and sometimes we would want to find a specific commit on SVN, like a bug resolution. </p> <p>Of course we don't know the revision number of the researched commit. </p> <p>Does someone have an idea to find a commit by comment...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,825
svn
# Find a specific SVN commit by comment and/or author We're 5 people on our project and sometimes we would want to find a specific commit on SVN, like a bug resolution. Of course we don't know the revision number of the researched commit. Does someone have an idea to find a commit by comment ? I think it's possible...
If you prefer the cli, use `log --search` (see [doc](http://svnbook.red-bean.com/en/1.8/svn.ref.svn.html#svn.ref.svn.sw.search)) ``` svn log --search your_comment_fragment ```
9095619
TortoiseSVN: Is there a conventional way to add link from commit message to other commit?
8
2012-02-01 12:14:25
<p>I'm trying to make a commit with a message referencing to other commit I've made before. For example, the message should be like:</p> <pre> It's a bugfix for a problem brought by commit #865 </pre> <p>I'm looking for a way to do get "865" displayed as a link to previous commit that I can click and view (like the w...
3,261
355,438
2012-02-01 12:44:44
9,095,831
13
2012-02-01 12:29:49
920,371
2012-02-01 12:29:49
https://stackoverflow.com/q/9095619
https://stackoverflow.com/a/9095831
<p>Yes you can do this by simply typing the revision number you want to refer to like this:</p> <pre><code>r865 </code></pre> <p>This feature was introduced in TortoiseSVN 1.7, so make sure you've got the right version.</p> <p>Check the <a href="http://tortoisesvn.net/tsvn_1.7_releasenotes.html#logdlg" rel="noreferr...
<p>Yes you can do this by simply typing the revision number you want to refer to like this:</p> <pre><code>r865 </code></pre> <p>This feature was introduced in TortoiseSVN 1.7, so make sure you've got the right version.</p> <p>Check the <a href="http://tortoisesvn.net/tsvn_1.7_releasenotes.html#logdlg" rel="noreferr...
63, 656
svn, tortoisesvn
<h1>TortoiseSVN: Is there a conventional way to add link from commit message to other commit?</h1> <p>I'm trying to make a commit with a message referencing to other commit I've made before. For example, the message should be like:</p> <pre> It's a bugfix for a problem brought by commit #865 </pre> <p>I'm looking for...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,826
svn
# TortoiseSVN: Is there a conventional way to add link from commit message to other commit? I'm trying to make a commit with a message referencing to other commit I've made before. For example, the message should be like: ``` It's a bugfix for a problem brought by commit #865 ``` I'm looking for a way to do get "865...
Yes you can do this by simply typing the revision number you want to refer to like this: ``` r865 ``` This feature was introduced in TortoiseSVN 1.7, so make sure you've got the right version. Check the [1.7 release notes page](http://tortoisesvn.net/tsvn_1.7_releasenotes.html#logdlg) for more information.
6942801
Sonar integration with SVN
8
2011-08-04 14:02:09
<p>I am using SVN as a version management tool for my project, and am planning to use sonar for project analysis. </p> <p>How do I make sonar project analysis run every time code is checked into SVN?</p>
7,103
842,384
2011-08-18 20:46:14
7,113,939
13
2011-08-18 20:46:14
368,630
2011-08-18 20:46:14
https://stackoverflow.com/q/6942801
https://stackoverflow.com/a/7113939
<p>Do not do complex stuff as a pre-commit hook! When a user does a commit, control does not return to the user until after the pre-commit hook has completed. Since Sonar has to compile your code, your users will have to wait on every commit for the following:</p> <ul> <li>Checking out the code</li> <li>Compiling the ...
<p>Do not do complex stuff as a pre-commit hook! When a user does a commit, control does not return to the user until after the pre-commit hook has completed. Since Sonar has to compile your code, your users will have to wait on every commit for the following:</p> <ul> <li>Checking out the code</li> <li>Compiling the ...
63, 657, 41127, 98290
integration, maven, sonarqube, svn
<h1>Sonar integration with SVN</h1> <p>I am using SVN as a version management tool for my project, and am planning to use sonar for project analysis. </p> <p>How do I make sonar project analysis run every time code is checked into SVN?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,827
svn
# Sonar integration with SVN I am using SVN as a version management tool for my project, and am planning to use sonar for project analysis. How do I make sonar project analysis run every time code is checked into SVN?
Do not do complex stuff as a pre-commit hook! When a user does a commit, control does not return to the user until after the pre-commit hook has completed. Since Sonar has to compile your code, your users will have to wait on every commit for the following: - Checking out the code - Compiling the code - Running all of...
2882898
Subversion 'unadd'?
8
2010-05-21 14:23:45
<p>I have a number of files I wish to add to subversion. Instead of taking my time and adding each individual one, I decided to be a smart-arse and do a:</p> <pre><code>svn add * </code></pre> <p>.. which was a mistake. Is there a way I can 'unadd' everything? There's about 7 files I wanted to add... it's now highlig...
5,596
154,280
2011-11-09 20:03:29
2,882,941
13
2010-05-21 14:28:58
333,698
2010-05-24 07:36:10
https://stackoverflow.com/q/2882898
https://stackoverflow.com/a/2882941
<p>Do you have any changes other than the files added? (<code>svn status</code> will tell you - modified files will show as <code>M</code>, added files as <code>A</code> - and <code>svn diff</code> will show you the details of any changes). If not, then you can just do:</p> <pre><code>svn revert * </code></pre> <p>Bu...
<p>Do you have any changes other than the files added? (<code>svn status</code> will tell you - modified files will show as <code>M</code>, added files as <code>A</code> - and <code>svn diff</code> will show you the details of any changes). If not, then you can just do:</p> <pre><code>svn revert * </code></pre> <p>Bu...
63
svn
<h1>Subversion 'unadd'?</h1> <p>I have a number of files I wish to add to subversion. Instead of taking my time and adding each individual one, I decided to be a smart-arse and do a:</p> <pre><code>svn add * </code></pre> <p>.. which was a mistake. Is there a way I can 'unadd' everything? There's about 7 files I want...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,828
svn
# Subversion 'unadd'? I have a number of files I wish to add to subversion. Instead of taking my time and adding each individual one, I decided to be a smart-arse and do a: ``` svn add * ``` .. which was a mistake. Is there a way I can 'unadd' everything? There's about 7 files I wanted to add... it's now highlighted...
Do you have any changes other than the files added? (`svn status` will tell you - modified files will show as `M`, added files as `A` - and `svn diff` will show you the details of any changes). If not, then you can just do: ``` svn revert * ``` But if you **do** have changes other than adds, **that will remove them!*...
22690049
remove path and subpaths in matlab
7
2014-03-27 14:05:35
<p>I have been looking for a simple way to remove a bunch of paths from matlab. I am working with a fairly large program and it includes many paths in its directory. I also work with svn version handling and I use many branches, which in general contains some functions that are the same, some that are modified and some...
9,233
2,903,371
2017-07-24 18:05:38
22,694,493
13
2014-03-27 17:07:48
3,465,517
2014-03-27 17:07:48
https://stackoverflow.com/q/22690049
https://stackoverflow.com/a/22694493
<p>Try using genpath. Given the base directory as input, genpath returns that base directory plus all subdirectories, recursive.</p> <pre><code>rmpath(genpath(base_directory)); </code></pre>
<p>Try using genpath. Given the base directory as input, genpath returns that base directory plus all subdirectories, recursive.</p> <pre><code>rmpath(genpath(base_directory)); </code></pre>
63, 64, 854, 6268
matlab, path, svn, windows
<h1>remove path and subpaths in matlab</h1> <p>I have been looking for a simple way to remove a bunch of paths from matlab. I am working with a fairly large program and it includes many paths in its directory. I also work with svn version handling and I use many branches, which in general contains some functions that a...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,829
svn
# remove path and subpaths in matlab I have been looking for a simple way to remove a bunch of paths from matlab. I am working with a fairly large program and it includes many paths in its directory. I also work with svn version handling and I use many branches, which in general contains some functions that are the sa...
Try using genpath. Given the base directory as input, genpath returns that base directory plus all subdirectories, recursive. ``` rmpath(genpath(base_directory)); ```
17211545
SharpSVN - Server certificate verification failed
7
2013-06-20 10:41:16
<p>I use SharpSVN and I add a folder to the subversion. Then I try to commit it and I get this exception:</p> <p><code>SharpSvn.SvnRepositoryIOException: OPTIONS of 'https://sth.com/svn/blah/Documents': Server certificate verification failed: certificate has expired, certificate issued for a different hostname, issuer...
2,788
2,173,353
2013-06-20 12:05:26
17,213,221
13
2013-06-20 12:05:26
2,173,353
2013-06-20 12:05:26
https://stackoverflow.com/q/17211545
https://stackoverflow.com/a/17213221
<p>OK. I solved this problem and now I get an other error. What you need to do is this:</p> <pre><code> client.Authentication.SslServerTrustHandlers += new EventHandler&lt;SharpSvn.Security.SvnSslServerTrustEventArgs&gt;(Authentication_SslServerTrustHandlers); void Authentication_SslServerTrustHandlers(object s...
<p>OK. I solved this problem and now I get an other error. What you need to do is this:</p> <pre><code> client.Authentication.SslServerTrustHandlers += new EventHandler&lt;SharpSvn.Security.SvnSslServerTrustEventArgs&gt;(Authentication_SslServerTrustHandlers); void Authentication_SslServerTrustHandlers(object s...
9, 5597, 5954, 16557
c#, certificate, commit, sharpsvn
<h1>SharpSVN - Server certificate verification failed</h1> <p>I use SharpSVN and I add a folder to the subversion. Then I try to commit it and I get this exception:</p> <p><code>SharpSvn.SvnRepositoryIOException: OPTIONS of 'https://sth.com/svn/blah/Documents': Server certificate verification failed: certificate has e...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,830
svn
# SharpSVN - Server certificate verification failed I use SharpSVN and I add a folder to the subversion. Then I try to commit it and I get this exception: `SharpSvn.SvnRepositoryIOException: OPTIONS of 'https://sth.com/svn/blah/Documents': Server certificate verification failed: certificate has expired, certificate i...
OK. I solved this problem and now I get an other error. What you need to do is this: ``` client.Authentication.SslServerTrustHandlers += new EventHandler<SharpSvn.Security.SvnSslServerTrustEventArgs>(Authentication_SslServerTrustHandlers); void Authentication_SslServerTrustHandlers(object sender, SharpSvn.Secu...
12698959
How to set a revision number for svn external?
7
2012-10-02 21:55:49
<p>So I have this file Mobile.framework and if I do a <code>svn propedit</code> i get</p> <pre><code>svn propedit svn:externals </code></pre> <p>It brings up </p> <pre><code>Mobile.embeddedframework svn+ssh://../Mobile.embeddedframework </code></pre> <p>This is pointed to the head. </p> <p>I want to edit this and...
16,790
631,473
2013-07-28 14:40:46
12,699,018
13
2012-10-02 22:01:36
530,502
2013-07-28 14:40:46
https://stackoverflow.com/q/12698959
https://stackoverflow.com/a/12699018
<p>Have a look at the <a href="http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html">SVN manual</a>:</p> <p><code>Mobile.framework svn+ssh://../Mobile.embeddedframework@100</code> - note the <code>@100</code>.</p> <p>(or)</p> <pre><code>svn propedit svn:externals . </code></pre> <p>can help you edit it.<...
<p>Have a look at the <a href="http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html">SVN manual</a>:</p> <p><code>Mobile.framework svn+ssh://../Mobile.embeddedframework@100</code> - note the <code>@100</code>.</p> <p>(or)</p> <pre><code>svn propedit svn:externals . </code></pre> <p>can help you edit it.<...
63, 31462
svn, svn-externals
<h1>How to set a revision number for svn external?</h1> <p>So I have this file Mobile.framework and if I do a <code>svn propedit</code> i get</p> <pre><code>svn propedit svn:externals </code></pre> <p>It brings up </p> <pre><code>Mobile.embeddedframework svn+ssh://../Mobile.embeddedframework </code></pre> <p>This ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,831
svn
# How to set a revision number for svn external? So I have this file Mobile.framework and if I do a `svn propedit` i get ``` svn propedit svn:externals ``` It brings up ``` Mobile.embeddedframework svn+ssh://../Mobile.embeddedframework ``` This is pointed to the head. I want to edit this and set it to -r1209. Wh...
Have a look at the [SVN manual](http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html): `Mobile.framework svn+ssh://../Mobile.embeddedframework@100` - note the `@100`. (or) ``` svn propedit svn:externals . ``` can help you edit it.
1499811
How to programmatically get SVN revision number?
7
2009-09-30 18:17:47
<p><a href="https://stackoverflow.com/questions/681770/how-to-programmatically-get-svn-revision-description-and-author-in-c">Like this question</a>, but without the need to actually query the SVN server. This is a web-based project, so I figure I'll just use the repository as the public view (unless someone can advise ...
12,579
65,387
2016-05-12 09:15:01
1,501,219
13
2009-09-30 23:37:06
52,626
2016-05-12 09:15:01
https://stackoverflow.com/q/1499811
https://stackoverflow.com/a/1501219
<p>Subversion includes the <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svnversion.re.html" rel="nofollow noreferrer">svnversion</a> tool for exactly this purpose. A working copy may actually have local modifications, or may consist of a mix of revisions. <code>svnversion</code> knows how to handle that; see the...
<p>Subversion includes the <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svnversion.re.html" rel="nofollow noreferrer">svnversion</a> tool for exactly this purpose. A working copy may actually have local modifications, or may consist of a mix of revisions. <code>svnversion</code> knows how to handle that; see the...
5, 16, 63
php, python, svn
<h1>How to programmatically get SVN revision number?</h1> <p><a href="https://stackoverflow.com/questions/681770/how-to-programmatically-get-svn-revision-description-and-author-in-c">Like this question</a>, but without the need to actually query the SVN server. This is a web-based project, so I figure I'll just use the...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,832
svn
# How to programmatically get SVN revision number? [Like this question](https://stackoverflow.com/questions/681770/how-to-programmatically-get-svn-revision-description-and-author-in-c), but without the need to actually query the SVN server. This is a web-based project, so I figure I'll just use the repository as the p...
Subversion includes the [svnversion](http://svnbook.red-bean.com/en/1.7/svn.ref.svnversion.re.html) tool for exactly this purpose. A working copy may actually have local modifications, or may consist of a mix of revisions. `svnversion` knows how to handle that; see the examples in the linked documentation. You can inv...
1254628
Undoing a commit in Tortoisesvn
7
2009-08-10 12:38:33
<p>I did a search it said to view the log, right click the revision I want to go back to and select revert to this revision but I always get this error:</p> <blockquote> <p>Cannot reverse-merge a range from a path's own future history; try updating first</p> </blockquote>
7,448
51,310
2012-12-20 11:21:01
1,254,632
13
2009-08-10 12:39:27
41,012
2009-08-10 12:39:27
https://stackoverflow.com/q/1254628
https://stackoverflow.com/a/1254632
<p>You need to <code>Update</code> your working copy first. You will then be able to revert the revision.</p>
<p>You need to <code>Update</code> your working copy first. You will then be able to revert the revision.</p>
656
tortoisesvn
<h1>Undoing a commit in Tortoisesvn</h1> <p>I did a search it said to view the log, right click the revision I want to go back to and select revert to this revision but I always get this error:</p> <blockquote> <p>Cannot reverse-merge a range from a path's own future history; try updating first</p> </blockquote>...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,833
svn
# Undoing a commit in Tortoisesvn I did a search it said to view the log, right click the revision I want to go back to and select revert to this revision but I always get this error: > Cannot reverse-merge a range from a > path's own future history; try > updating first
You need to `Update` your working copy first. You will then be able to revert the revision.
38665019
tortoise svn filter logs by revisions
6
2016-07-29 18:07:00
<p>I have been trying to figure out if I can filter the log by a range of revisions.</p> <p>For example, say I have a repository that has more than 1,004 revisions. <strong>I would like to show every revision in a range like the following:</strong></p> <pre><code>969,972,975,989,996,1000-1004 </code></pre> <p>Rather...
2,709
3,851,647
2016-11-24 08:38:49
40,781,459
13
2016-11-24 08:38:49
2,399,321
2016-11-24 08:38:49
https://stackoverflow.com/q/38665019
https://stackoverflow.com/a/40781459
<p>In your case you probably would like to use regular expression (check "Use regular expression" in drop down menu):</p> <pre><code>969|972|975|989|996|100[0-4] </code></pre> <p>Also make sure that the client downloaded "enough" history (click "Next 100" or "Show All").</p>
<p>In your case you probably would like to use regular expression (check "Use regular expression" in drop down menu):</p> <pre><code>969|972|975|989|996|100[0-4] </code></pre> <p>Also make sure that the client downloaded "enough" history (click "Next 100" or "Show All").</p>
63, 656
svn, tortoisesvn
<h1>tortoise svn filter logs by revisions</h1> <p>I have been trying to figure out if I can filter the log by a range of revisions.</p> <p>For example, say I have a repository that has more than 1,004 revisions. <strong>I would like to show every revision in a range like the following:</strong></p> <pre><code>969,972...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,834
svn
# tortoise svn filter logs by revisions I have been trying to figure out if I can filter the log by a range of revisions. For example, say I have a repository that has more than 1,004 revisions. **I would like to show every revision in a range like the following:** ``` 969,972,975,989,996,1000-1004 ``` Rather than ...
In your case you probably would like to use regular expression (check "Use regular expression" in drop down menu): ``` 969|972|975|989|996|100[0-4] ``` Also make sure that the client downloaded "enough" history (click "Next 100" or "Show All").
15609131
commit only directory and not the files in it
6
2013-03-25 06:44:23
<p>I am committing the files to SVN using the API available in SVNKit, using the below code</p> <pre><code>ourClientManager.getWCClient().doAdd(subFile, false, false, true, false); ourClientManager.getCommitClient().doCommit(path, false, comment, false, false); </code></pre> <p>When i commit a new directory, the file...
7,825
1,081,017
2020-09-11 17:59:21
15,650,835
13
2013-03-27 02:13:12
1,868,015
2013-03-27 02:13:12
https://stackoverflow.com/q/15609131
https://stackoverflow.com/a/15650835
<p>In svn commands, you'd do <code>svn add --depth=empty mydirectory</code></p> <p>With SVNKit, pass in the EMPTY value for the <a href="http://svnkit.com/javadoc/org/tmatesoft/svn/core/SVNDepth.html">SVNDepth</a> parameter, e.g.:</p> <pre><code>doAdd(mydirectory, false, false, false, SVNDepth.EMPTY) </code></pre>
<p>In svn commands, you'd do <code>svn add --depth=empty mydirectory</code></p> <p>With SVNKit, pass in the EMPTY value for the <a href="http://svnkit.com/javadoc/org/tmatesoft/svn/core/SVNDepth.html">SVNDepth</a> parameter, e.g.:</p> <pre><code>doAdd(mydirectory, false, false, false, SVNDepth.EMPTY) </code></pre>
63
svn
<h1>commit only directory and not the files in it</h1> <p>I am committing the files to SVN using the API available in SVNKit, using the below code</p> <pre><code>ourClientManager.getWCClient().doAdd(subFile, false, false, true, false); ourClientManager.getCommitClient().doCommit(path, false, comment, false, false); </...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,835
svn
# commit only directory and not the files in it I am committing the files to SVN using the API available in SVNKit, using the below code ``` ourClientManager.getWCClient().doAdd(subFile, false, false, true, false); ourClientManager.getCommitClient().doCommit(path, false, comment, false, false); ``` When i commit a n...
In svn commands, you'd do `svn add --depth=empty mydirectory` With SVNKit, pass in the EMPTY value for the [SVNDepth](http://svnkit.com/javadoc/org/tmatesoft/svn/core/SVNDepth.html) parameter, e.g.: ``` doAdd(mydirectory, false, false, false, SVNDepth.EMPTY) ```
9931836
make svn maintain the file permission
6
2012-03-29 19:08:04
<p>I have some scripts that are supposed to be executable. But after it is checked into svn and checked out in another location, they lose their executable permission. One has to chmod it again. Even if one changes its permission already, next time when svn updates it, it loses its permission again. Is there a way to g...
2,753
509,205
2012-03-29 19:12:13
9,931,897
13
2012-03-29 19:12:13
1,182,783
2012-03-29 19:12:13
https://stackoverflow.com/q/9931836
https://stackoverflow.com/a/9931897
<p>You need to inform SVN that the file should be executable:</p> <pre><code>svn propset svn:executable ON filename </code></pre> <p>and then commit this change.</p>
<p>You need to inform SVN that the file should be executable:</p> <pre><code>svn propset svn:executable ON filename </code></pre> <p>and then commit this change.</p>
58, 63, 359, 2120
file-permissions, linux, permissions, svn
<h1>make svn maintain the file permission</h1> <p>I have some scripts that are supposed to be executable. But after it is checked into svn and checked out in another location, they lose their executable permission. One has to chmod it again. Even if one changes its permission already, next time when svn updates it, it ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,836
svn
# make svn maintain the file permission I have some scripts that are supposed to be executable. But after it is checked into svn and checked out in another location, they lose their executable permission. One has to chmod it again. Even if one changes its permission already, next time when svn updates it, it loses its...
You need to inform SVN that the file should be executable: ``` svn propset svn:executable ON filename ``` and then commit this change.
5234291
SVN commit problem
6
2011-03-08 15:11:06
<p>I'm using netbeans and recently when i tried to commit my changes i got this error message:</p> <pre><code>org.tigris.subversion.javahl.ClientException: Permission denied Commit failed (details follow): Can't move '/home/********/svn/db/txn-protorevs/1000-sk.rev' to '/home/**********/svn/db/revs/1/1001': Permission...
25,073
617,845
2017-11-21 07:37:46
5,234,380
13
2011-03-08 15:17:40
331,528
2011-06-28 15:36:28
https://stackoverflow.com/q/5234291
https://stackoverflow.com/a/5234380
<p>check the permission to the file or better to the dir. Use</p> <pre><code>ls -l </code></pre> <p>for seeing the owner</p> <pre><code>chown -R owner.group /path </code></pre> <p>Chown is for changing the owenr/group. Change with your values. Instaed you can set all the permision to 777. In linux this always work...
<p>check the permission to the file or better to the dir. Use</p> <pre><code>ls -l </code></pre> <p>for seeing the owner</p> <pre><code>chown -R owner.group /path </code></pre> <p>Chown is for changing the owenr/group. Change with your values. Instaed you can set all the permision to 777. In linux this always work...
63
svn
<h1>SVN commit problem</h1> <p>I'm using netbeans and recently when i tried to commit my changes i got this error message:</p> <pre><code>org.tigris.subversion.javahl.ClientException: Permission denied Commit failed (details follow): Can't move '/home/********/svn/db/txn-protorevs/1000-sk.rev' to '/home/**********/svn...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,838
svn
# SVN commit problem I'm using netbeans and recently when i tried to commit my changes i got this error message: ``` org.tigris.subversion.javahl.ClientException: Permission denied Commit failed (details follow): Can't move '/home/********/svn/db/txn-protorevs/1000-sk.rev' to '/home/**********/svn/db/revs/1/1001': Pe...
check the permission to the file or better to the dir. Use ``` ls -l ``` for seeing the owner ``` chown -R owner.group /path ``` Chown is for changing the owenr/group. Change with your values. Instaed you can set all the permision to 777. In linux this always works but it's not very stylish:) ``` chmod 777 -R /pat...
4323761
How to do SVN Update on my project using the command line
44
2010-12-01 11:17:28
<p>How do I SVN Update my project using the command line?</p> <p>Then I will manage to call these command lines from C#.</p> <p>I'm a .NET developer, and I'm using <a href="http://en.wikipedia.org/wiki/TortoiseSVN" rel="noreferrer">TortoiseSVN</a>.</p>
131,583
233,085
2017-02-20 12:43:53
4,323,812
12
2010-12-01 11:24:34
233,085
2015-11-12 16:58:30
https://stackoverflow.com/q/4323761
https://stackoverflow.com/a/4323812
<p>I think I got it. It's:</p> <pre><code>"SVN Client Path" /command:update / path:"My folder path" </code></pre>
<p>I think I got it. It's:</p> <pre><code>"SVN Client Path" /command:update / path:"My folder path" </code></pre>
63, 1231
command-line, svn
<h1>How to do SVN Update on my project using the command line</h1> <p>How do I SVN Update my project using the command line?</p> <p>Then I will manage to call these command lines from C#.</p> <p>I'm a .NET developer, and I'm using <a href="http://en.wikipedia.org/wiki/TortoiseSVN" rel="noreferrer">TortoiseSVN</a>.</p...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,840
svn
# How to do SVN Update on my project using the command line How do I SVN Update my project using the command line? Then I will manage to call these command lines from C#. I'm a .NET developer, and I'm using [TortoiseSVN](http://en.wikipedia.org/wiki/TortoiseSVN).
I think I got it. It's: ``` "SVN Client Path" /command:update / path:"My folder path" ```
7114981
What to do with a svn-commit.tmp
38
2011-08-18 22:36:52
<p>Every time I do a status on svn using terminal I get this file. ? svn-commit.8.tmp</p> <p>I know its a failed commit comment file but how do I get rid of it. I don't know if I should rm it or how to deal with it.</p>
23,339
603,840
2016-09-09 22:19:27
7,114,995
12
2011-08-18 22:39:35
197,788
2011-08-18 22:39:35
https://stackoverflow.com/q/7114981
https://stackoverflow.com/a/7114995
<p>Just <code>rm</code> it.</p> <p>The reason it's left behind when a commit fails is so that you don't lose the (potentially long) commit message that you just wrote -- you can open the file in a text editor and paste the text as the commit message of your next commit when you fix the problem that prevented your firs...
<p>Just <code>rm</code> it.</p> <p>The reason it's left behind when a commit fails is so that you don't lose the (potentially long) commit message that you just wrote -- you can open the file in a text editor and paste the text as the commit message of your next commit when you fix the problem that prevented your firs...
63
svn
<h1>What to do with a svn-commit.tmp</h1> <p>Every time I do a status on svn using terminal I get this file. ? svn-commit.8.tmp</p> <p>I know its a failed commit comment file but how do I get rid of it. I don't know if I should rm it or how to deal with it.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,841
svn
# What to do with a svn-commit.tmp Every time I do a status on svn using terminal I get this file. ? svn-commit.8.tmp I know its a failed commit comment file but how do I get rid of it. I don't know if I should rm it or how to deal with it.
Just `rm` it. The reason it's left behind when a commit fails is so that you don't lose the (potentially long) commit message that you just wrote -- you can open the file in a text editor and paste the text as the commit message of your next commit when you fix the problem that prevented your first commit.
282858
Drupal Source Control Strategy?
33
2008-11-12 02:52:14
<p>In standard php or source code based projects we easily keep all of the code in SVN and each developer can checkout their own copy and collaborate on the same code. </p> <p>When developing a Drupal site however, much of the work is in "setup". Besides the theme and modules you don't really have any "source code"....
5,396
36,780
2011-05-05 11:04:26
414,442
12
2009-01-05 20:43:50
47,424
2009-01-05 20:43:50
https://stackoverflow.com/q/282858
https://stackoverflow.com/a/414442
<p>I think a good strategy here is to use the install profile API. With install profile API you can do most things that using the Drupal admin tools do. Most core forms simply set variables in the variables table. To be able to sensibly version your non content database contents i.e. configuration it is wise to use upd...
<p>I think a good strategy here is to use the install profile API. With install profile API you can do most things that using the Drupal admin tools do. Most core forms simply set variables in the variables table. To be able to sensibly version your non content database contents i.e. configuration it is wise to use upd...
63, 456, 3262
drupal, svn, version-control
<h1>Drupal Source Control Strategy?</h1> <p>In standard php or source code based projects we easily keep all of the code in SVN and each developer can checkout their own copy and collaborate on the same code. </p> <p>When developing a Drupal site however, much of the work is in "setup". Besides the theme and modules...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,842
svn
# Drupal Source Control Strategy? In standard php or source code based projects we easily keep all of the code in SVN and each developer can checkout their own copy and collaborate on the same code. When developing a Drupal site however, much of the work is in "setup". Besides the theme and modules you don't really h...
I think a good strategy here is to use the install profile API. With install profile API you can do most things that using the Drupal admin tools do. Most core forms simply set variables in the variables table. To be able to sensibly version your non content database contents i.e. configuration it is wise to use update...
4244327
Is there a difference between an svn copy and an svn branch?
18
2010-11-22 10:15:00
<p>I asked one of my developers to give each dev a different copy of the trunk to work on in /branches (under their own name).</p> <p>That developer is not experienced in subversion (and neither am I), so I'm trying to determine if he did the right thing by copying the trunk into each branch folder and committing it, ...
6,802
222,151
2016-05-06 21:34:52
4,244,348
12
2010-11-22 10:17:55
61,974
2010-11-22 10:23:19
https://stackoverflow.com/q/4244327
https://stackoverflow.com/a/4244348
<p>Your friend was correct - to create a branch in Subversion you use the <code>svn copy</code> command.</p> <p><a href="http://svnbook.red-bean.com/en/1.1/ch04s02.html#svn-ch-4-sect-2.1" rel="noreferrer">(Source)</a></p>
<p>Your friend was correct - to create a branch in Subversion you use the <code>svn copy</code> command.</p> <p><a href="http://svnbook.red-bean.com/en/1.1/ch04s02.html#svn-ch-4-sect-2.1" rel="noreferrer">(Source)</a></p>
63
svn
<h1>Is there a difference between an svn copy and an svn branch?</h1> <p>I asked one of my developers to give each dev a different copy of the trunk to work on in /branches (under their own name).</p> <p>That developer is not experienced in subversion (and neither am I), so I'm trying to determine if he did the right ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,845
svn
# Is there a difference between an svn copy and an svn branch? I asked one of my developers to give each dev a different copy of the trunk to work on in /branches (under their own name). That developer is not experienced in subversion (and neither am I), so I'm trying to determine if he did the right thing by copying...
Your friend was correct - to create a branch in Subversion you use the `svn copy` command. [(Source)](http://svnbook.red-bean.com/en/1.1/ch04s02.html#svn-ch-4-sect-2.1)
9494865
How to checkout remote svn branch locally?
17
2012-02-29 07:02:07
<p>I have installed svn on my local ubuntu. I'm connected to my Solaris box via VPN so I can access it via a local network IP. How can I checkout a branch from the svn on solaris to get it into my local svn?</p> <p>I tried:</p> <pre><code>svn checkout file:///192.168.99.3/home/myproj/apps/repo/sjl </code></pre> <p>b...
62,480
209,383
2017-08-28 14:07:57
9,494,992
12
2012-02-29 07:15:07
19,512
2017-07-16 06:56:05
https://stackoverflow.com/q/9494865
https://stackoverflow.com/a/9494992
<p>Try replacing <code>file:///</code> with <code>svn://</code>.</p> <p><code>file</code> should only work if your repository is one the same machine as you. <code>svn:</code> is the "real" over-the-network protocol.</p> <p><code>svn:</code> is appropriate if your Solaris box is an svn server. But the path to the r...
<p>Try replacing <code>file:///</code> with <code>svn://</code>.</p> <p><code>file</code> should only work if your repository is one the same machine as you. <code>svn:</code> is the "real" over-the-network protocol.</p> <p><code>svn:</code> is appropriate if your Solaris box is an svn server. But the path to the r...
63
svn
<h1>How to checkout remote svn branch locally?</h1> <p>I have installed svn on my local ubuntu. I'm connected to my Solaris box via VPN so I can access it via a local network IP. How can I checkout a branch from the svn on solaris to get it into my local svn?</p> <p>I tried:</p> <pre><code>svn checkout file:///192.16...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,846
svn
# How to checkout remote svn branch locally? I have installed svn on my local ubuntu. I'm connected to my Solaris box via VPN so I can access it via a local network IP. How can I checkout a branch from the svn on solaris to get it into my local svn? I tried: ``` svn checkout file:///192.168.99.3/home/myproj/apps/rep...
Try replacing `file:///` with `svn://`. `file` should only work if your repository is one the same machine as you. `svn:` is the "real" over-the-network protocol. `svn:` is appropriate if your Solaris box is an svn server. But the path to the repository should be determined by the server. Something a lot closer to `s...
249085
Shared components throughout all projects, is there a better alternative than svn:externals?
14
2008-10-30 02:07:33
<p>My situation: I have several components, which sometimes have changes to them, and are shared across a lot of different projects. Each project puts these in a subfolder called /depends. The depends holds a bunch of svn externals for all of our common components.</p> <p>svn:externals is causing me a lot of time a...
3,049
3,153
2012-10-11 09:39:30
249,146
12
2008-10-30 02:48:39
8,709
2008-10-30 02:48:39
https://stackoverflow.com/q/249085
https://stackoverflow.com/a/249146
<p>I believe part of the problem is that the release cycles for the shared components don't necessarily match the release cycles for the projects.</p> <p>Shared components as described here <em>have their own release cycle</em>. In other words each one could be managed as a separate project (or perhaps the collection...
<p>I believe part of the problem is that the release cycles for the shared components don't necessarily match the release cycles for the projects.</p> <p>Shared components as described here <em>have their own release cycle</em>. In other words each one could be managed as a separate project (or perhaps the collection...
63, 31462
svn, svn-externals
<h1>Shared components throughout all projects, is there a better alternative than svn:externals?</h1> <p>My situation: I have several components, which sometimes have changes to them, and are shared across a lot of different projects. Each project puts these in a subfolder called /depends. The depends holds a bunch ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,848
svn
# Shared components throughout all projects, is there a better alternative than svn:externals? My situation: I have several components, which sometimes have changes to them, and are shared across a lot of different projects. Each project puts these in a subfolder called /depends. The depends holds a bunch of svn exter...
I believe part of the problem is that the release cycles for the shared components don't necessarily match the release cycles for the projects. Shared components as described here *have their own release cycle*. In other words each one could be managed as a separate project (or perhaps the collection of them managed a...
2485772
TortoiseSVN commit shortcut
13
2010-03-21 03:17:16
<p>I find it tedious when everytime I need to commit a file.The process goto windows explorer window, right click directory, then click 'Commit'... and then the tortoisesvn commit window.</p> <p>Anyone know of any shortcut to do this? Maybe press a keyboard shortcut to commit instead of having to right click directory...
7,392
298,269
2015-02-04 07:36:49
2,493,379
12
2010-03-22 15:18:33
48,003
2010-03-22 15:18:33
https://stackoverflow.com/q/2485772
https://stackoverflow.com/a/2493379
<p>See the chapter "<a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation.html#tsvn-automation-basics" rel="noreferrer">automating TortoiseSVN</a>" in the docs.</p> <p>You could create a shortcut to TortoiseProc.exe and add the command line params there, e.g.:</p> <pre><code>TortoiseProc.exe /co...
<p>See the chapter "<a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation.html#tsvn-automation-basics" rel="noreferrer">automating TortoiseSVN</a>" in the docs.</p> <p>You could create a shortcut to TortoiseProc.exe and add the command line params there, e.g.:</p> <pre><code>TortoiseProc.exe /co...
63, 656
svn, tortoisesvn
<h1>TortoiseSVN commit shortcut</h1> <p>I find it tedious when everytime I need to commit a file.The process goto windows explorer window, right click directory, then click 'Commit'... and then the tortoisesvn commit window.</p> <p>Anyone know of any shortcut to do this? Maybe press a keyboard shortcut to commit inste...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,849
svn
# TortoiseSVN commit shortcut I find it tedious when everytime I need to commit a file.The process goto windows explorer window, right click directory, then click 'Commit'... and then the tortoisesvn commit window. Anyone know of any shortcut to do this? Maybe press a keyboard shortcut to commit instead of having to ...
See the chapter "[automating TortoiseSVN](http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation.html#tsvn-automation-basics)" in the docs. You could create a shortcut to TortoiseProc.exe and add the command line params there, e.g.: ``` TortoiseProc.exe /command:commit /path:"path\to\your\workingcopy" ```
258590
How do I import svn branches rooted in different directories into git using git-svn?
13
2008-11-03 13:13:55
<p>I have an SVN repository structure like below. We are using multiple levels under branches for various release maintenance branches, plus a directory for feature branches.</p> <p>git-svn init seems to work with a single --branches argument, i.e. it seems to expect all of the branches to be in a single location.</p>...
4,599
15,203
2010-10-25 21:03:57
630,684
12
2009-03-10 15:04:57
42,882
2010-10-25 21:03:57
https://stackoverflow.com/q/258590
https://stackoverflow.com/a/630684
<p>In your config file, set the svn-remotes section to something like:</p> <pre><code>[svn-remote "svn"] url = svn://svnserver/repo fetch = trunk:refs/remotes/trunk branches = branches/*/*:refs/remotes/* tags = tags/*:refs/remotes/tags/* </code></pre> <p>This should let you grab the nested branches.</...
<p>In your config file, set the svn-remotes section to something like:</p> <pre><code>[svn-remote "svn"] url = svn://svnserver/repo fetch = trunk:refs/remotes/trunk branches = branches/*/*:refs/remotes/* tags = tags/*:refs/remotes/tags/* </code></pre> <p>This should let you grab the nested branches.</...
63, 119, 6452
git, git-svn, svn
<h1>How do I import svn branches rooted in different directories into git using git-svn?</h1> <p>I have an SVN repository structure like below. We are using multiple levels under branches for various release maintenance branches, plus a directory for feature branches.</p> <p>git-svn init seems to work with a single --...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,850
svn
# How do I import svn branches rooted in different directories into git using git-svn? I have an SVN repository structure like below. We are using multiple levels under branches for various release maintenance branches, plus a directory for feature branches. git-svn init seems to work with a single --branches argumen...
In your config file, set the svn-remotes section to something like: ``` [svn-remote "svn"] url = svn://svnserver/repo fetch = trunk:refs/remotes/trunk branches = branches/*/*:refs/remotes/* tags = tags/*:refs/remotes/tags/* ``` This should let you grab the nested branches.
3015984
How to skip a revision in svn repository
12
2010-06-10 15:43:32
<p>So say I have the three latest revisions of an aspx file: 55, 56 and 57. Revision 56 added a feature that I want to remove, but I also want to have the new features deployed in version 57. Is there any way I can merge version 55 with 57, leaving revision 56 out of the picture?</p> <p>If it matters, I'm using Torto...
7,243
193,830
2014-03-04 10:45:48
3,026,114
12
2010-06-11 20:44:54
116,166
2010-06-11 20:44:54
https://stackoverflow.com/q/3015984
https://stackoverflow.com/a/3026114
<p>If I'm following your question, it sounds like you want r57 minus r56. (i.e. including changes from r55 to r0)</p> <p><strong>command-line:</strong> </p> <pre><code>svn merge &lt;path_to_repo&gt; . -c -56 </code></pre> <p><strong>Tortoise</strong>:<br> Show Log / Right-click revision 56 and select "Revert chang...
<p>If I'm following your question, it sounds like you want r57 minus r56. (i.e. including changes from r55 to r0)</p> <p><strong>command-line:</strong> </p> <pre><code>svn merge &lt;path_to_repo&gt; . -c -56 </code></pre> <p><strong>Tortoise</strong>:<br> Show Log / Right-click revision 56 and select "Revert chang...
63, 456, 656
svn, tortoisesvn, version-control
<h1>How to skip a revision in svn repository</h1> <p>So say I have the three latest revisions of an aspx file: 55, 56 and 57. Revision 56 added a feature that I want to remove, but I also want to have the new features deployed in version 57. Is there any way I can merge version 55 with 57, leaving revision 56 out of t...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,852
svn
# How to skip a revision in svn repository So say I have the three latest revisions of an aspx file: 55, 56 and 57. Revision 56 added a feature that I want to remove, but I also want to have the new features deployed in version 57. Is there any way I can merge version 55 with 57, leaving revision 56 out of the picture...
If I'm following your question, it sounds like you want r57 minus r56. (i.e. including changes from r55 to r0) **command-line:** ``` svn merge <path_to_repo> . -c -56 ``` **Tortoise**: Show Log / Right-click revision 56 and select "Revert changes from this revision"
579790
Why is $Id$ sometimes not expanded in SVN?
12
2009-02-23 23:06:20
<p>I'm working on a project in which we're actively using the <code>$Id$</code> string generated by subversion to write the version number in the documentation. For example, we parse this string</p> <pre><code>$Id: filename 999 2009-02-23 22:51:29Z author $ </code></pre> <p>and print "999" in the documentation titlep...
10,512
4,161
2009-09-10 03:46:26
579,796
12
2009-02-23 23:08:14
null
2009-02-23 23:08:14
https://stackoverflow.com/q/579790
https://stackoverflow.com/a/579796
<p>The svn:keywords property may not be properly set on that file. You need to set it to (at least) 'Id':</p> <pre><code>svn ps svn:keywords 'Id' filename.txt </code></pre>
<p>The svn:keywords property may not be properly set on that file. You need to set it to (at least) 'Id':</p> <pre><code>svn ps svn:keywords 'Id' filename.txt </code></pre>
63
svn
<h1>Why is $Id$ sometimes not expanded in SVN?</h1> <p>I'm working on a project in which we're actively using the <code>$Id$</code> string generated by subversion to write the version number in the documentation. For example, we parse this string</p> <pre><code>$Id: filename 999 2009-02-23 22:51:29Z author $ </code></...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,853
svn
# Why is $Id$ sometimes not expanded in SVN? I'm working on a project in which we're actively using the `$Id$` string generated by subversion to write the version number in the documentation. For example, we parse this string ``` $Id: filename 999 2009-02-23 22:51:29Z author $ ``` and print "999" in the documentatio...
The svn:keywords property may not be properly set on that file. You need to set it to (at least) 'Id': ``` svn ps svn:keywords 'Id' filename.txt ```
45062459
How to get svn log from remote repository without checking files out
11
2017-07-12 15:52:05
<p>I have over 100 repos and want to retrieve their full log without checking these repos into my computer.</p> <p>I know svn log is producing the log file but how can I pass url, username, pass as args?</p>
5,023
104,085
2020-04-10 10:31:08
45,062,594
12
2017-07-12 15:58:36
761,095
2017-07-12 16:03:39
https://stackoverflow.com/q/45062459
https://stackoverflow.com/a/45062594
<p>You don't need to checkout a working copy to view the revision log.</p> <p>The command that you look for is <a href="http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.log.html" rel="noreferrer"><code>svn log</code></a>. Here is an example:</p> <p><code>svn log https://svn.example.com/repos/MyRepository/MyProjec...
<p>You don't need to checkout a working copy to view the revision log.</p> <p>The command that you look for is <a href="http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.log.html" rel="noreferrer"><code>svn log</code></a>. Here is an example:</p> <p><code>svn log https://svn.example.com/repos/MyRepository/MyProjec...
63
svn
<h1>How to get svn log from remote repository without checking files out</h1> <p>I have over 100 repos and want to retrieve their full log without checking these repos into my computer.</p> <p>I know svn log is producing the log file but how can I pass url, username, pass as args?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,854
svn
# How to get svn log from remote repository without checking files out I have over 100 repos and want to retrieve their full log without checking these repos into my computer. I know svn log is producing the log file but how can I pass url, username, pass as args?
You don't need to checkout a working copy to view the revision log. The command that you look for is [`svn log`](http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.log.html). Here is an example: `svn log https://svn.example.com/repos/MyRepository/MyProject/trunk` Read the documentation: [SVNBook | Examining Histor...
21708509
TortoiseSVN and subversion's global-ignores
11
2014-02-11 17:14:22
<p>I'm having problems convincing TortoiseSVN to respect my subversion repository's <code>svn:global-ignores</code> property. No matter what I've tried, it still lists all the supposed-to-be-ignored files as unversioned and available to commit.</p> <p>My <code>svn:global-ignores</code> string, set on the root of the ...
4,005
298,754
2019-10-03 04:21:59
21,710,071
12
2014-02-11 18:27:32
960,558
2014-02-11 18:27:32
https://stackoverflow.com/q/21708509
https://stackoverflow.com/a/21710071
<p><a href="http://blogs.collab.net/subversion/repository-dictated-configuration-day-3-global-ignores#note-12119-1">Note in CollabNet blog-post</a>:</p> <blockquote> <p>It was intended that the ignore patterns in the <code>svn:global-ignores</code> property could be delimited with any whitespace (similar to the ...
<p><a href="http://blogs.collab.net/subversion/repository-dictated-configuration-day-3-global-ignores#note-12119-1">Note in CollabNet blog-post</a>:</p> <blockquote> <p>It was intended that the ignore patterns in the <code>svn:global-ignores</code> property could be delimited with any whitespace (similar to the ...
63, 656
svn, tortoisesvn
<h1>TortoiseSVN and subversion's global-ignores</h1> <p>I'm having problems convincing TortoiseSVN to respect my subversion repository's <code>svn:global-ignores</code> property. No matter what I've tried, it still lists all the supposed-to-be-ignored files as unversioned and available to commit.</p> <p>My <code>svn:...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,855
svn
# TortoiseSVN and subversion's global-ignores I'm having problems convincing TortoiseSVN to respect my subversion repository's `svn:global-ignores` property. No matter what I've tried, it still lists all the supposed-to-be-ignored files as unversioned and available to commit. My `svn:global-ignores` string, set on th...
[Note in CollabNet blog-post](http://blogs.collab.net/subversion/repository-dictated-configuration-day-3-global-ignores#note-12119-1): > It was intended that the ignore patterns in the `svn:global-ignores` > property could be delimited with any whitespace (similar to the > global-ignores runtime configuration option),...
6819627
Get email address of author in SVN
11
2011-07-25 16:53:08
<p>Is there like a command from which we can get the author's(committer) email in SVN (using h commandline SVN)? or like Can we set up each username to a email and get the email from author in hook up scripts?</p>
3,736
564,377
2014-12-22 11:50:27
6,822,931
12
2011-07-25 22:07:06
526,535
2011-07-25 22:07:06
https://stackoverflow.com/q/6819627
https://stackoverflow.com/a/6822931
<p>SVN ( unlike Git ) doesn't care about the email id of the Author. There is just author name, which is usually a username. In most organizations, you must be able to get the email by appending <code>@domain.com</code> to the username.</p>
<p>SVN ( unlike Git ) doesn't care about the email id of the Author. There is just author name, which is usually a username. In most organizations, you must be able to get the email by appending <code>@domain.com</code> to the username.</p>
63
svn
<h1>Get email address of author in SVN</h1> <p>Is there like a command from which we can get the author's(committer) email in SVN (using h commandline SVN)? or like Can we set up each username to a email and get the email from author in hook up scripts?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,856
svn
# Get email address of author in SVN Is there like a command from which we can get the author's(committer) email in SVN (using h commandline SVN)? or like Can we set up each username to a email and get the email from author in hook up scripts?
SVN ( unlike Git ) doesn't care about the email id of the Author. There is just author name, which is usually a username. In most organizations, you must be able to get the email by appending `@domain.com` to the username.
6350848
Where does Subversion log errors?
11
2011-06-14 22:22:02
<p>I'm having an issue with a Subversion server and can't seem to find Subversion's log files. Specifically, I'm looking for any logfiles that Subversion creates to handle its own internal issues, as opposed to the log messages that a user would create when checking in code. I've tried the official SVN documentation, a...
36,547
1,127,433
2017-11-14 20:37:29
6,351,150
12
2011-06-14 22:56:28
505,191
2016-02-26 14:25:56
https://stackoverflow.com/q/6350848
https://stackoverflow.com/a/6351150
<p>If you are running SVN over <a href="http://en.wikipedia.org/wiki/Apache_HTTP_Server" rel="nofollow">Apache</a> (HTTP or HTTPS), you will want to look at Apache's log. By default going to be in <code>/var/log/httpd</code>.</p> <p>The logging including the location is configurable in your <code>subversion.conf</code...
<p>If you are running SVN over <a href="http://en.wikipedia.org/wiki/Apache_HTTP_Server" rel="nofollow">Apache</a> (HTTP or HTTPS), you will want to look at Apache's log. By default going to be in <code>/var/log/httpd</code>.</p> <p>The logging including the location is configurable in your <code>subversion.conf</code...
63
svn
<h1>Where does Subversion log errors?</h1> <p>I'm having an issue with a Subversion server and can't seem to find Subversion's log files. Specifically, I'm looking for any logfiles that Subversion creates to handle its own internal issues, as opposed to the log messages that a user would create when checking in code. I...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,857
svn
# Where does Subversion log errors? I'm having an issue with a Subversion server and can't seem to find Subversion's log files. Specifically, I'm looking for any logfiles that Subversion creates to handle its own internal issues, as opposed to the log messages that a user would create when checking in code. I've tried...
If you are running SVN over [Apache](http://en.wikipedia.org/wiki/Apache_HTTP_Server) (HTTP or HTTPS), you will want to look at Apache's log. By default going to be in `/var/log/httpd`. The logging including the location is configurable in your `subversion.conf` file. Once you find the logs you're likely going to want...
1646003
SVN: Moving repository trunk to another's branch (with history)
11
2009-10-29 19:27:13
<p>I'm working with an SVN setup with a lot of repositories. I'm trying to consolidate some by moving the trunk of one into the branch of another (the old ones are themed versions of the new one, minus some code fixes I'll be applying later, so it makes sense to me). Short version, I want to go from RepositoryA/trunk t...
2,316
155,177
2009-10-29 19:35:27
1,646,050
12
2009-10-29 19:35:27
170,974
2009-10-29 19:35:27
https://stackoverflow.com/q/1646003
https://stackoverflow.com/a/1646050
<p>After <code>svnadmin dump</code> you can specify the parent directory of your import with <code>svnadmin load --parent-dir &lt;dir&gt;</code>, see the <a href="http://svnbook.red-bean.com/en/1.0/re36.html" rel="noreferrer">svn manual</a>.</p>
<p>After <code>svnadmin dump</code> you can specify the parent directory of your import with <code>svnadmin load --parent-dir &lt;dir&gt;</code>, see the <a href="http://svnbook.red-bean.com/en/1.0/re36.html" rel="noreferrer">svn manual</a>.</p>
63, 656, 1879, 7330
branch, repository, svn, tortoisesvn
<h1>SVN: Moving repository trunk to another's branch (with history)</h1> <p>I'm working with an SVN setup with a lot of repositories. I'm trying to consolidate some by moving the trunk of one into the branch of another (the old ones are themed versions of the new one, minus some code fixes I'll be applying later, so it...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,858
svn
# SVN: Moving repository trunk to another's branch (with history) I'm working with an SVN setup with a lot of repositories. I'm trying to consolidate some by moving the trunk of one into the branch of another (the old ones are themed versions of the new one, minus some code fixes I'll be applying later, so it makes se...
After `svnadmin dump` you can specify the parent directory of your import with `svnadmin load --parent-dir <dir>`, see the [svn manual](http://svnbook.red-bean.com/en/1.0/re36.html).
2051267
Why would svn merge of a branch with no changes causes untouched files to modify svn:mergeinfo property
10
2010-01-12 18:15:10
<p>I have created a branch called "feature3" from my trunk. I make zero modifications to files on the "feature3" branch. There are also no modifications to files on trunk. Using TortoiseCVS (TortoiseSVN 1.6.6, Build 17493 - 32 Bit) against a SVN (version 1.6.3 (r38063)) repo, I initiate a "Merge" with the "Reintegra...
5,327
881
2012-04-10 15:50:33
2,056,068
12
2010-01-13 10:56:52
52,626
2011-11-21 11:49:54
https://stackoverflow.com/q/2051267
https://stackoverflow.com/a/2056068
<blockquote> <p>But why only these 80 files?</p> </blockquote> <p>These files have a <code>svn:mergeinfo</code> property; the others don't. When individual files and project subfolders have this, it is called "subtree mergeinfo". Once a file or folder has a "svn:mergeinfo" property, the mergeinfo will be updated on ...
<blockquote> <p>But why only these 80 files?</p> </blockquote> <p>These files have a <code>svn:mergeinfo</code> property; the others don't. When individual files and project subfolders have this, it is called "subtree mergeinfo". Once a file or folder has a "svn:mergeinfo" property, the mergeinfo will be updated on ...
63, 717, 1879
branch, merge, svn
<h1>Why would svn merge of a branch with no changes causes untouched files to modify svn:mergeinfo property</h1> <p>I have created a branch called "feature3" from my trunk. I make zero modifications to files on the "feature3" branch. There are also no modifications to files on trunk. Using TortoiseCVS (TortoiseSVN 1...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,860
svn
# Why would svn merge of a branch with no changes causes untouched files to modify svn:mergeinfo property I have created a branch called "feature3" from my trunk. I make zero modifications to files on the "feature3" branch. There are also no modifications to files on trunk. Using TortoiseCVS (TortoiseSVN 1.6.6, Build ...
> But why only these 80 files? These files have a `svn:mergeinfo` property; the others don't. When individual files and project subfolders have this, it is called "subtree mergeinfo". Once a file or folder has a "svn:mergeinfo" property, the mergeinfo will be updated on each merge operation. If you merge only on the ...
10143469
Including SVN revision of a project in C source code
9
2012-04-13 15:10:49
<p>How to include SVN revision of my project (not file revision) in C source code or in Makefile?</p>
4,350
781,252
2013-05-31 09:21:29
10,146,121
12
2012-04-13 18:13:56
79,566
2012-04-13 18:13:56
https://stackoverflow.com/q/10143469
https://stackoverflow.com/a/10146121
<p>We use a line like this in our makefile:</p> <pre><code>REPO_REV := $(shell svnversion -n) </code></pre> <p>That stores the revision number of the working copy into a make variable. To use it in C code, you can have your makefile use that value to define a macro on the compiler command line (something like <code>...
<p>We use a line like this in our makefile:</p> <pre><code>REPO_REV := $(shell svnversion -n) </code></pre> <p>That stores the revision number of the working copy into a make variable. To use it in C code, you can have your makefile use that value to define a macro on the compiler command line (something like <code>...
8, 63, 1555, 6922
c, project, revision, svn
<h1>Including SVN revision of a project in C source code</h1> <p>How to include SVN revision of my project (not file revision) in C source code or in Makefile?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,864
svn
# Including SVN revision of a project in C source code How to include SVN revision of my project (not file revision) in C source code or in Makefile?
We use a line like this in our makefile: ``` REPO_REV := $(shell svnversion -n) ``` That stores the revision number of the working copy into a make variable. To use it in C code, you can have your makefile use that value to define a macro on the compiler command line (something like `-DREPO_REV=$(REPO_REV)` for gcc).
7335614
How to export changed files between two SVN revisions
9
2011-09-07 14:29:57
<p>How can I export changed files in SVN that have changed between two revisions. I need a solution either via command line or by using any scripts (with proper folder structure). In addition, I need windows based solution. </p> <p>e.g. sth like:</p> <pre><code>export {svn diff --summarize -r 50:HEAD} </code></pre> ...
14,348
107,748
2019-07-30 19:11:08
7,400,560
12
2011-09-13 10:44:15
896,012
2016-08-01 09:24:08
https://stackoverflow.com/q/7335614
https://stackoverflow.com/a/7400560
<p>As far as I know, svn does not provide such a feature. But you may write a simple c# program using <a href="http://sharpsvn.open.collab.net/" rel="nofollow">SharpSVN</a> to do it. Here is a sample that you can use. In this sample, I am getting the whole changed file from revision 100 to 200.</p> <pre><code>using Sh...
<p>As far as I know, svn does not provide such a feature. But you may write a simple c# program using <a href="http://sharpsvn.open.collab.net/" rel="nofollow">SharpSVN</a> to do it. Here is a sample that you can use. In this sample, I am getting the whole changed file from revision 100 to 200.</p> <pre><code>using Sh...
63
svn
<h1>How to export changed files between two SVN revisions</h1> <p>How can I export changed files in SVN that have changed between two revisions. I need a solution either via command line or by using any scripts (with proper folder structure). In addition, I need windows based solution. </p> <p>e.g. sth like:</p> <pre...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,865
svn
# How to export changed files between two SVN revisions How can I export changed files in SVN that have changed between two revisions. I need a solution either via command line or by using any scripts (with proper folder structure). In addition, I need windows based solution. e.g. sth like: ``` export {svn diff --su...
As far as I know, svn does not provide such a feature. But you may write a simple c# program using [SharpSVN](http://sharpsvn.open.collab.net/) to do it. Here is a sample that you can use. In this sample, I am getting the whole changed file from revision 100 to 200. ``` using SharpSvn; using System.IO; using System.Co...
15869549
Download a file from an SVN repository
8
2013-04-08 00:35:22
<p>I need to download the files at <a href="https://biosignalgroup.repositoryhosting.com/svn/biosignalgroup_wclust/" rel="noreferrer">https://biosignalgroup.repositoryhosting.com/svn/biosignalgroup_wclust/</a> onto my Windows system. </p> <p>I installed svn for Windows, and tried the command: </p> <pre><code>svn chec...
48,178
264,171
2019-01-04 09:24:23
15,907,320
12
2013-04-09 16:23:13
505,191
2013-04-09 16:23:13
https://stackoverflow.com/q/15869549
https://stackoverflow.com/a/15907320
<p>As @bahrep mentioned, if you don't need to work with svn in the future you want an <code>svn export</code> which will not create a working copy and it's associated files</p> <p>Before you do the export, check to see if the URL is correct... in a standard svn repository there would be three folders under <code>https...
<p>As @bahrep mentioned, if you don't need to work with svn in the future you want an <code>svn export</code> which will not create a working copy and it's associated files</p> <p>Before you do the export, check to see if the URL is correct... in a standard svn repository there would be three folders under <code>https...
63, 8109
download, svn
<h1>Download a file from an SVN repository</h1> <p>I need to download the files at <a href="https://biosignalgroup.repositoryhosting.com/svn/biosignalgroup_wclust/" rel="noreferrer">https://biosignalgroup.repositoryhosting.com/svn/biosignalgroup_wclust/</a> onto my Windows system. </p> <p>I installed svn for Windows, ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,868
svn
# Download a file from an SVN repository I need to download the files at <https://biosignalgroup.repositoryhosting.com/svn/biosignalgroup_wclust/> onto my Windows system. I installed svn for Windows, and tried the command: ``` svn checkout https://biosignalgroup.repositoryhosting.com/svn/biosignalgroup_wclust/ ``` ...
As @bahrep mentioned, if you don't need to work with svn in the future you want an `svn export` which will not create a working copy and it's associated files Before you do the export, check to see if the URL is correct... in a standard svn repository there would be three folders under `https://biosignalgroup.reposito...
14734632
making an independent copy of svn repository
8
2013-02-06 17:00:50
<p>I am trying to make a clone of a repository but it should be independent copy of each other. Is there any magic behind this or just use a svn client and make a clone of it?</p> <p>Thanks</p>
17,205
618,658
2022-12-16 20:31:47
14,734,705
12
2013-02-06 17:04:33
752,916
2022-12-16 20:31:47
https://stackoverflow.com/q/14734632
https://stackoverflow.com/a/14734705
<p>Try <a href="http://svnbook.red-bean.com/en/1.8/svn.ref.svnadmin.c.hotcopy.html" rel="nofollow noreferrer"><code>svnadmin hotcopy</code></a>. You can look it up in the <a href="http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.tk" rel="nofollow noreferrer">repo maintenance section</a...
<p>Try <a href="http://svnbook.red-bean.com/en/1.8/svn.ref.svnadmin.c.hotcopy.html" rel="nofollow noreferrer"><code>svnadmin hotcopy</code></a>. You can look it up in the <a href="http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.tk" rel="nofollow noreferrer">repo maintenance section</a...
63
svn
<h1>making an independent copy of svn repository</h1> <p>I am trying to make a clone of a repository but it should be independent copy of each other. Is there any magic behind this or just use a svn client and make a clone of it?</p> <p>Thanks</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,869
svn
# making an independent copy of svn repository I am trying to make a clone of a repository but it should be independent copy of each other. Is there any magic behind this or just use a svn client and make a clone of it? Thanks
Try [`svnadmin hotcopy`](http://svnbook.red-bean.com/en/1.8/svn.ref.svnadmin.c.hotcopy.html). You can look it up in the [repo maintenance section](http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.tk) of the svn book *(Version Control with Subversion*), specifically in the section ["repo...
14248470
How to revert local code to previous revision svn
8
2013-01-09 23:40:34
<p>I would like to revert only the local code to previous versions. </p> <p>For extra points, what i would like to do is to revert a folder to a previous version (only locally) and generate a file of differences from the version after it. </p> <p>e.g. say I have version 100. I want version 99 and a diff between that ...
9,138
1,294,207
2018-03-20 09:51:19
14,248,541
12
2013-01-09 23:48:01
1,945,981
2013-01-09 23:48:01
https://stackoverflow.com/q/14248470
https://stackoverflow.com/a/14248541
<pre><code>svn update -r 99 svn diff -r 100 </code></pre>
<pre><code>svn update -r 99 svn diff -r 100 </code></pre>
63, 456
svn, version-control
<h1>How to revert local code to previous revision svn</h1> <p>I would like to revert only the local code to previous versions. </p> <p>For extra points, what i would like to do is to revert a folder to a previous version (only locally) and generate a file of differences from the version after it. </p> <p>e.g. say I h...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,870
svn
# How to revert local code to previous revision svn I would like to revert only the local code to previous versions. For extra points, what i would like to do is to revert a folder to a previous version (only locally) and generate a file of differences from the version after it. e.g. say I have version 100. I want v...
``` svn update -r 99 svn diff -r 100 ```
13260980
Subversion: Working copy is old development version
8
2012-11-06 23:18:17
<p>I'm developing on OSX, and one of my Subversion working copies just started returning the following error for all commands, however my other checkouts work fine. I get the same message with both my Brew installed SVN binaries as well as my Cornerstone client, but other working directories are fine.</p> <pre><code>&...
22,897
1,427,161
2014-09-03 15:50:31
13,261,880
12
2012-11-07 01:10:15
1,427,161
2013-01-04 19:33:17
https://stackoverflow.com/q/13260980
https://stackoverflow.com/a/13261880
<p>Although I was not able to figure out why my working directory was corrupted, I was able to work around it using <code>rsync</code> - there is an option, <code>C</code>, that will ignore CVS/SVN files and directories when making a backup. I made a backup using this option, checked out the project again, and then cop...
<p>Although I was not able to figure out why my working directory was corrupted, I was able to work around it using <code>rsync</code> - there is an option, <code>C</code>, that will ignore CVS/SVN files and directories when making a backup. I made a backup using this option, checked out the project again, and then cop...
63, 369, 52000
cornerstone, macos, svn
<h1>Subversion: Working copy is old development version</h1> <p>I'm developing on OSX, and one of my Subversion working copies just started returning the following error for all commands, however my other checkouts work fine. I get the same message with both my Brew installed SVN binaries as well as my Cornerstone clie...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,871
svn
# Subversion: Working copy is old development version I'm developing on OSX, and one of my Subversion working copies just started returning the following error for all commands, however my other checkouts work fine. I get the same message with both my Brew installed SVN binaries as well as my Cornerstone client, but o...
Although I was not able to figure out why my working directory was corrupted, I was able to work around it using `rsync` - there is an option, `C`, that will ignore CVS/SVN files and directories when making a backup. I made a backup using this option, checked out the project again, and then copied the backup back over ...
10017282
Control VisualSVN Server from C#
8
2012-04-04 18:37:52
<p>I installed VisualSVN Server 2.5.4. I can create user and repository. My question is how can I create/delete user/repository from C#. Is there any library?</p>
5,007
943,832
2022-12-20 21:35:41
10,030,008
12
2012-04-05 13:57:21
761,095
2016-12-06 10:17:38
https://stackoverflow.com/q/10017282
https://stackoverflow.com/a/10030008
<h2>Update 03/09/2015</h2> <p>There is no need to write custom WMI scripts anymore; PowerShell cmdlets available beginning with VisualSVN Server 3.4 cover the most Subversion server administration and repositories management use cases. Read about the new feature at <a href="https://www.visualsvn.com/server/features/po...
<h2>Update 03/09/2015</h2> <p>There is no need to write custom WMI scripts anymore; PowerShell cmdlets available beginning with VisualSVN Server 3.4 cover the most Subversion server administration and repositories management use cases. Read about the new feature at <a href="https://www.visualsvn.com/server/features/po...
9, 63, 64, 11603
c#, svn, visualsvn-server, windows
<h1>Control VisualSVN Server from C#</h1> <p>I installed VisualSVN Server 2.5.4. I can create user and repository. My question is how can I create/delete user/repository from C#. Is there any library?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,872
svn
# Control VisualSVN Server from C# I installed VisualSVN Server 2.5.4. I can create user and repository. My question is how can I create/delete user/repository from C#. Is there any library?
## Update 03/09/2015 There is no need to write custom WMI scripts anymore; PowerShell cmdlets available beginning with VisualSVN Server 3.4 cover the most Subversion server administration and repositories management use cases. Read about the new feature at <https://www.visualsvn.com/server/features/powershell/> Visua...
5838389
Does moving a file in SVN delete its revision history?
8
2011-04-29 23:34:10
<p>I realize this might be an easy question that I may have overlooked in the documentation, but I didn't find any other questions like this.</p> <p>When I move a file, or in my case a whole ton of files (I moving everything into trunk from repo root) do I lose revision history? My thought is it looks a lot like it's ...
2,401
5,261
2011-05-02 16:24:16
5,838,401
12
2011-04-29 23:35:41
129,570
2011-04-29 23:35:41
https://stackoverflow.com/q/5838389
https://stackoverflow.com/a/5838401
<p>No.</p> <p><code>svn move</code> is equivalent to <code>svn copy</code>, and then <code>svn delete</code>. Copied files share their history with the originals.</p>
<p>No.</p> <p><code>svn move</code> is equivalent to <code>svn copy</code>, and then <code>svn delete</code>. Copied files share their history with the originals.</p>
63, 1555
revision, svn
<h1>Does moving a file in SVN delete its revision history?</h1> <p>I realize this might be an easy question that I may have overlooked in the documentation, but I didn't find any other questions like this.</p> <p>When I move a file, or in my case a whole ton of files (I moving everything into trunk from repo root) do ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,873
svn
# Does moving a file in SVN delete its revision history? I realize this might be an easy question that I may have overlooked in the documentation, but I didn't find any other questions like this. When I move a file, or in my case a whole ton of files (I moving everything into trunk from repo root) do I lose revision ...
No. `svn move` is equivalent to `svn copy`, and then `svn delete`. Copied files share their history with the originals.
4681665
How can I use gvim for svn commit messages under Windows?
8
2011-01-13 15:20:37
<p>Under *nix I can set <code>SVN_EDITOR</code> to <code>gvim --nofork</code> to do the trick, but that doesn't seem to work under Windows. Is there any solution for that?</p>
2,189
182,529
2011-01-13 17:20:50
4,681,878
12
2011-01-13 15:39:06
463,740
2011-01-13 15:39:06
https://stackoverflow.com/q/4681665
https://stackoverflow.com/a/4681878
<p>If you have installed the batch files (c:\windows\gvim.bat), just set <code>EDITOR</code> to <code>gvim -f</code>, the batch file processes the -f argument and sets the no-fork option.</p> <p>The trick in the batch file is running <code>START /WAIT path\to\gvim.exe %*</code> (see the <strong>/WAIT</strong> argument...
<p>If you have installed the batch files (c:\windows\gvim.bat), just set <code>EDITOR</code> to <code>gvim -f</code>, the batch file processes the -f argument and sets the no-fork option.</p> <p>The trick in the batch file is running <code>START /WAIT path\to\gvim.exe %*</code> (see the <strong>/WAIT</strong> argument...
63, 64, 370
svn, vim, windows
<h1>How can I use gvim for svn commit messages under Windows?</h1> <p>Under *nix I can set <code>SVN_EDITOR</code> to <code>gvim --nofork</code> to do the trick, but that doesn't seem to work under Windows. Is there any solution for that?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,874
svn
# How can I use gvim for svn commit messages under Windows? Under *nix I can set `SVN_EDITOR` to `gvim --nofork` to do the trick, but that doesn't seem to work under Windows. Is there any solution for that?
If you have installed the batch files (c:\windows\gvim.bat), just set `EDITOR` to `gvim -f`, the batch file processes the -f argument and sets the no-fork option. The trick in the batch file is running `START /WAIT path\to\gvim.exe %*` (see the **/WAIT** argument). If you don't have the batch files, just create a new...
2125303
svn propget svn:ignore . returns nothing, but svn is obviously ignoring my files
8
2010-01-24 00:06:46
<p>I'm trying to add an existing iPhone project to a subversion account on unfuddle.com.</p> <p>Everything seems smooth except for some .a files which are ignored. I know they are ignored because I don't see them in svn status unless I use the --no-ignore flag.</p> <p>When I run</p> <pre><code> svn propget svn:igno...
5,688
106,560
2010-01-24 23:09:40
2,127,852
12
2010-01-24 16:47:08
106,560
2010-01-24 23:09:40
https://stackoverflow.com/q/2125303
https://stackoverflow.com/a/2127852
<p>New day. Clear head.</p> <p>Thanks for the help, it certainly lead me in the right direction.</p> <p>The answer is there is a default global-ignore list that is built into subversion itself, not the config files, which was where the *.a ignore was coming from.</p> <p>The global ignores in my config file looked li...
<p>New day. Clear head.</p> <p>Thanks for the help, it certainly lead me in the right direction.</p> <p>The answer is there is a default global-ignore list that is built into subversion itself, not the config files, which was where the *.a ignore was coming from.</p> <p>The global ignores in my config file looked li...
63, 19160
svn, svnignore
<h1>svn propget svn:ignore . returns nothing, but svn is obviously ignoring my files</h1> <p>I'm trying to add an existing iPhone project to a subversion account on unfuddle.com.</p> <p>Everything seems smooth except for some .a files which are ignored. I know they are ignored because I don't see them in svn status un...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,876
svn
# svn propget svn:ignore . returns nothing, but svn is obviously ignoring my files I'm trying to add an existing iPhone project to a subversion account on unfuddle.com. Everything seems smooth except for some .a files which are ignored. I know they are ignored because I don't see them in svn status unless I use the -...
New day. Clear head. Thanks for the help, it certainly lead me in the right direction. The answer is there is a default global-ignore list that is built into subversion itself, not the config files, which was where the *.a ignore was coming from. The global ignores in my config file looked like this: ``` #global-i...
1580291
Using diffstat with subversion?
8
2009-10-16 20:43:12
<p>Could anyone give me examples, how I could use diffstat with subversion?</p> <p>I mean, using <a href="http://freshmeat.net/projects/diffstat/" rel="noreferrer"><strong>diffstat</strong></a> to analyze and produce statistics about one or multiple commits.</p> <p><em>NOTE: Linux commandline examples are OK ;)</em><...
5,448
185,919
2011-03-29 22:45:55
1,580,860
12
2009-10-16 23:14:52
60,335
2009-10-16 23:14:52
https://stackoverflow.com/q/1580291
https://stackoverflow.com/a/1580860
<p>You can simply pipe any diff to diffstat. For example, if you want a stat of the changes made in a specific revision, just retrieve that change from svn and pipe it to diffstat. </p> <pre><code>$ svn diff -r1234:1235 | diffstat </code></pre> <p>You can obviously pipe anything in that svn can create diffs of, which...
<p>You can simply pipe any diff to diffstat. For example, if you want a stat of the changes made in a specific revision, just retrieve that change from svn and pipe it to diffstat. </p> <pre><code>$ svn diff -r1234:1235 | diffstat </code></pre> <p>You can obviously pipe anything in that svn can create diffs of, which...
63, 1231, 67462
command-line, diffstat, svn
<h1>Using diffstat with subversion?</h1> <p>Could anyone give me examples, how I could use diffstat with subversion?</p> <p>I mean, using <a href="http://freshmeat.net/projects/diffstat/" rel="noreferrer"><strong>diffstat</strong></a> to analyze and produce statistics about one or multiple commits.</p> <p><em>NOTE: L...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,877
svn
# Using diffstat with subversion? Could anyone give me examples, how I could use diffstat with subversion? I mean, using [**diffstat**](http://freshmeat.net/projects/diffstat/) to analyze and produce statistics about one or multiple commits. *NOTE: Linux commandline examples are OK ;)*
You can simply pipe any diff to diffstat. For example, if you want a stat of the changes made in a specific revision, just retrieve that change from svn and pipe it to diffstat. ``` $ svn diff -r1234:1235 | diffstat ``` You can obviously pipe anything in that svn can create diffs of, which includes diffs between bran...
188306
Is it safe to just copy a SVN repository to an external HDD?
8
2008-10-09 17:28:13
<p>Right now, my SVN repository is on my laptop's HDD (although I use a code hosting service for more "critical" personal projects) and I just copy the directory over on a weekly basis (which will eventually be scripted or perhaps I'll make an app for the hell of it). Am I at risk for corrupting my SVN repository? So f...
2,016
572
2016-10-01 20:21:13
188,319
12
2008-10-09 17:32:20
1,068,060
2016-10-01 20:21:13
https://stackoverflow.com/q/188306
https://stackoverflow.com/a/188319
<p>Consider using <a href="http://svnbook.red-bean.com/en/1.2/svn.ref.svnadmin.c.hotcopy.html" rel="nofollow noreferrer">hot copy</a>:</p> <blockquote> <p>svnadmin hotcopy — Make a hot copy of a repository...</p> <p>This subcommand makes a full “hot” backup of your repository, including all hooks, configuration...
<p>Consider using <a href="http://svnbook.red-bean.com/en/1.2/svn.ref.svnadmin.c.hotcopy.html" rel="nofollow noreferrer">hot copy</a>:</p> <blockquote> <p>svnadmin hotcopy — Make a hot copy of a repository...</p> <p>This subcommand makes a full “hot” backup of your repository, including all hooks, configuration...
63, 456, 493
backup, svn, version-control
<h1>Is it safe to just copy a SVN repository to an external HDD?</h1> <p>Right now, my SVN repository is on my laptop's HDD (although I use a code hosting service for more "critical" personal projects) and I just copy the directory over on a weekly basis (which will eventually be scripted or perhaps I'll make an app fo...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,878
svn
# Is it safe to just copy a SVN repository to an external HDD? Right now, my SVN repository is on my laptop's HDD (although I use a code hosting service for more "critical" personal projects) and I just copy the directory over on a weekly basis (which will eventually be scripted or perhaps I'll make an app for the hel...
Consider using [hot copy](http://svnbook.red-bean.com/en/1.2/svn.ref.svnadmin.c.hotcopy.html): > svnadmin hotcopy — Make a hot copy of a repository... > > This subcommand makes a full “hot” backup of your repository, including all hooks, configuration files, and, of course, database files. If you pass the `--clean-log...
4929344
What is your method of working with a single CSS file in a large team and version control
7
2011-02-08 03:45:41
<p>We work on the Magento platform and our front-end developers all work on the same CSS stylesheet. There are a lot of existing styles that come with this stylesheet. Most of the time I tell them to put any additional styles at the bottom to make it easier for merging and everything. This doesn't always work when you...
1,149
178,854
2011-02-08 22:41:47
4,929,362
12
2011-02-08 03:50:37
405,017
2011-02-08 14:36:20
https://stackoverflow.com/q/4929344
https://stackoverflow.com/a/4929362
<ol> <li><p>Don't have a single CSS file. Have a bunch of small CSS files that are merged and minified into a single file <em>for deployment</em> but that logically separate styles during development.</p> <p><em>As @JosephMastey suggests below, I personally separate one file per differently-styled page of the site. Wit...
<ol> <li><p>Don't have a single CSS file. Have a bunch of small CSS files that are merged and minified into a single file <em>for deployment</em> but that logically separate styles during development.</p> <p><em>As @JosephMastey suggests below, I personally separate one file per differently-styled page of the site. Wit...
2, 4, 63, 456, 14642
css, html, magento, svn, version-control
<h1>What is your method of working with a single CSS file in a large team and version control</h1> <p>We work on the Magento platform and our front-end developers all work on the same CSS stylesheet. There are a lot of existing styles that come with this stylesheet. Most of the time I tell them to put any additional s...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,879
svn
# What is your method of working with a single CSS file in a large team and version control We work on the Magento platform and our front-end developers all work on the same CSS stylesheet. There are a lot of existing styles that come with this stylesheet. Most of the time I tell them to put any additional styles at t...
1. Don't have a single CSS file. Have a bunch of small CSS files that are merged and minified into a single file *for deployment* but that logically separate styles during development. *As @JosephMastey suggests below, I personally separate one file per differently-styled page of the site. Within stylesheets I tend...
3582556
SVN: Revert changes of a random revision, but preserve changes of all following ones
7
2010-08-27 08:43:45
<p><code>Situation:</code> I've got a SVN repository with lets say 100 revisions, rev. 100 being the most recent one. I've done some changes in rev. 90 which need to be reverted now. The changes in rev. 90 are self-contained, so that they don't affect following revisions.</p> <p><code>Problem:</code> I'd like to rever...
2,170
44,522
2010-08-27 08:53:48
3,582,609
12
2010-08-27 08:50:28
400,056
2010-08-27 08:50:28
https://stackoverflow.com/q/3582556
https://stackoverflow.com/a/3582609
<p>You need to do a reverse-merge, that is a merge with the range <code>rev:rev-1</code>. For example on the command line, if you are in the working directory:</p> <pre><code>`svn merge -r 90:89 .` </code></pre> <p>In TortoiseSVN, it seems you need to enter <code>90</code> for <em>Revision range to merge</em> and che...
<p>You need to do a reverse-merge, that is a merge with the range <code>rev:rev-1</code>. For example on the command line, if you are in the working directory:</p> <pre><code>`svn merge -r 90:89 .` </code></pre> <p>In TortoiseSVN, it seems you need to enter <code>90</code> for <em>Revision range to merge</em> and che...
63, 656, 7330
repository, svn, tortoisesvn
<h1>SVN: Revert changes of a random revision, but preserve changes of all following ones</h1> <p><code>Situation:</code> I've got a SVN repository with lets say 100 revisions, rev. 100 being the most recent one. I've done some changes in rev. 90 which need to be reverted now. The changes in rev. 90 are self-contained, ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,881
svn
# SVN: Revert changes of a random revision, but preserve changes of all following ones `Situation:` I've got a SVN repository with lets say 100 revisions, rev. 100 being the most recent one. I've done some changes in rev. 90 which need to be reverted now. The changes in rev. 90 are self-contained, so that they don't a...
You need to do a reverse-merge, that is a merge with the range `rev:rev-1`. For example on the command line, if you are in the working directory: ``` `svn merge -r 90:89 .` ``` In TortoiseSVN, it seems you need to enter `90` for *Revision range to merge* and check the *Reverse merge* checkbox in the [Merge dialog](ht...
1836506
Are nested trunk/branches/tags acceptable?
7
2009-12-02 23:05:08
<p>In a recent embedded project, we have used the following svn structure:</p> <pre><code>project branches tags trunk electronics software branches tags trunk </code></pre> <p>As you can see, there is a nested branches/tags/trunk directory for the softwa...
1,736
null
2013-10-11 16:10:37
1,836,570
12
2009-12-02 23:15:08
29,805
2013-10-11 16:10:37
https://stackoverflow.com/q/1836506
https://stackoverflow.com/a/1836570
<p>Nested trunks indicate to me a collection of code with a different lifecycle than the parent code. I would consider these conceptually separate projects. Also, note that your repository can have multiple top-level projects, which should cut down on maintaining a separate repository for each project. I consider the ...
<p>Nested trunks indicate to me a collection of code with a different lifecycle than the parent code. I would consider these conceptually separate projects. Also, note that your repository can have multiple top-level projects, which should cut down on maintaining a separate repository for each project. I consider the ...
63
svn
<h1>Are nested trunk/branches/tags acceptable?</h1> <p>In a recent embedded project, we have used the following svn structure:</p> <pre><code>project branches tags trunk electronics software branches tags trunk </code></pre> <p>As you can see, there is a...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,883
svn
# Are nested trunk/branches/tags acceptable? In a recent embedded project, we have used the following svn structure: ``` project branches tags trunk electronics software branches tags trunk ``` As you can see, there is a nested branches/tags/trunk direc...
Nested trunks indicate to me a collection of code with a different lifecycle than the parent code. I would consider these conceptually separate projects. Also, note that your repository can have multiple top-level projects, which should cut down on maintaining a separate repository for each project. I consider the use ...
14795887
How to copy SVN repository as a folder to another repository with history
6
2013-02-10 08:07:49
<p>I have 2 repositories </p> <pre><code>http://mysnv/svn/proj1/trunk </code></pre> <ul> <li>proj1_folder1</li> <li>proj1_folder2</li> </ul> <p>and</p> <pre><code>http://mysnv/svn/proj2/trunk </code></pre> <ul> <li>proj2_folder1</li> <li>proj2_folder2</li> </ul> <p>How can I copy the <em>proj2</em> with history t...
25,051
850,737
2018-03-02 14:01:40
14,796,490
12
2013-02-10 09:54:14
960,558
2018-03-02 14:01:40
https://stackoverflow.com/q/14795887
https://stackoverflow.com/a/14796490
<p><strong>Physical aggregation</strong></p> <ul> <li>Create dumps of needed paths from proj2 repository (<code>svnadmin dump | svndumpfilter --include --include &gt; dump</code> or <code>svnrdump URL-proj2_folder1 &gt; dump1 &amp; svnrdump URL-proj2_folder1 &gt; dump2</code>)</li> <li>Load dump(s) into proj1 <strong>...
<p><strong>Physical aggregation</strong></p> <ul> <li>Create dumps of needed paths from proj2 repository (<code>svnadmin dump | svndumpfilter --include --include &gt; dump</code> or <code>svnrdump URL-proj2_folder1 &gt; dump1 &amp; svnrdump URL-proj2_folder1 &gt; dump2</code>)</li> <li>Load dump(s) into proj1 <strong>...
63, 6922, 7330
project, repository, svn
<h1>How to copy SVN repository as a folder to another repository with history</h1> <p>I have 2 repositories </p> <pre><code>http://mysnv/svn/proj1/trunk </code></pre> <ul> <li>proj1_folder1</li> <li>proj1_folder2</li> </ul> <p>and</p> <pre><code>http://mysnv/svn/proj2/trunk </code></pre> <ul> <li>proj2_folder1</li...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,884
svn
# How to copy SVN repository as a folder to another repository with history I have 2 repositories ``` http://mysnv/svn/proj1/trunk ``` - proj1_folder1 - proj1_folder2 and ``` http://mysnv/svn/proj2/trunk ``` - proj2_folder1 - proj2_folder2 How can I copy the *proj2* with history to be a **folder** in the trunk o...
**Physical aggregation** - Create dumps of needed paths from proj2 repository (`svnadmin dump | svndumpfilter --include --include > dump` or `svnrdump URL-proj2_folder1 > dump1 & svnrdump URL-proj2_folder1 > dump2`) - Load dump(s) into proj1 **with changed parent folder** (`svnadmin load --parent-dir trunk < dump`) - ...
9110668
Where Jenkins stores SVN credentials
6
2012-02-02 10:24:20
<p>Started to play around with Jenkins. Created new job and entered SVN repository URL. Pressed build and jenkins successfully checked-out my repository. My repository has not got anonymous access. No clue, how Jenkins managed to checked-out repository.</p> <p>Running on Windows XP + Tomcat6 + Jenkins war file.</p> <...
19,728
359,376
2016-03-17 12:29:50
9,114,031
12
2012-02-02 14:29:16
368,630
2012-02-02 14:29:16
https://stackoverflow.com/q/9110668
https://stackoverflow.com/a/9114031
<blockquote> <p>Indeed, it takes it from Subversion cache. At least, right now I know, that it's not good idea, to save passwords</p> </blockquote> <p>Subversion will look in the <code>$HOME/.subversion</code> file for credentials, but it also stores the password under each job in a file called <code>subversion.cred...
<blockquote> <p>Indeed, it takes it from Subversion cache. At least, right now I know, that it's not good idea, to save passwords</p> </blockquote> <p>Subversion will look in the <code>$HOME/.subversion</code> file for credentials, but it also stores the password under each job in a file called <code>subversion.cred...
63, 656, 64999
jenkins, svn, tortoisesvn
<h1>Where Jenkins stores SVN credentials</h1> <p>Started to play around with Jenkins. Created new job and entered SVN repository URL. Pressed build and jenkins successfully checked-out my repository. My repository has not got anonymous access. No clue, how Jenkins managed to checked-out repository.</p> <p>Running on W...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,885
svn
# Where Jenkins stores SVN credentials Started to play around with Jenkins. Created new job and entered SVN repository URL. Pressed build and jenkins successfully checked-out my repository. My repository has not got anonymous access. No clue, how Jenkins managed to checked-out repository. Running on Windows XP + Tomc...
> Indeed, it takes it from Subversion cache. At least, right now I know, that it's not good idea, to save passwords Subversion will look in the `$HOME/.subversion` file for credentials, but it also stores the password under each job in a file called `subversion.credentials`. Usually, your Jenkins machine isn't access...
7413638
How to undo a delete tags folder action from svn repo browser
6
2011-09-14 08:50:56
<p>Unfortunately I deleted my entire tags folder from svn repo browser. Can I undo that? If there is any solution to retrieve data please help me.</p>
3,133
873,945
2015-08-12 08:27:32
7,414,145
12
2011-09-14 09:32:49
342,859
2011-09-14 09:32:49
https://stackoverflow.com/q/7413638
https://stackoverflow.com/a/7414145
<p>Using TortoiseSVN only you cannot undo the delete operation, but you can copy the <code>tags</code> folder from older revision to your <code>HEAD</code> revision. Here is how you do it:</p> <ol> <li>Open your repo-browser.</li> <li>Click on the button labeled <code>HEAD</code> (right top corner).</li> <li>Enter the...
<p>Using TortoiseSVN only you cannot undo the delete operation, but you can copy the <code>tags</code> folder from older revision to your <code>HEAD</code> revision. Here is how you do it:</p> <ol> <li>Open your repo-browser.</li> <li>Click on the button labeled <code>HEAD</code> (right top corner).</li> <li>Enter the...
63, 115, 656, 5766
svn, tags, tortoisesvn, undo
<h1>How to undo a delete tags folder action from svn repo browser</h1> <p>Unfortunately I deleted my entire tags folder from svn repo browser. Can I undo that? If there is any solution to retrieve data please help me.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,886
svn
# How to undo a delete tags folder action from svn repo browser Unfortunately I deleted my entire tags folder from svn repo browser. Can I undo that? If there is any solution to retrieve data please help me.
Using TortoiseSVN only you cannot undo the delete operation, but you can copy the `tags` folder from older revision to your `HEAD` revision. Here is how you do it: 1. Open your repo-browser. 2. Click on the button labeled `HEAD` (right top corner). 3. Enter there the revision number just before deletion of `tags`. 4. ...
6118391
Adding Icon@2x.png to SVN
6
2011-05-25 00:42:24
<p>I was trying add the retina icon to SVN but seem to have trouble checking it in.</p> <p>I tried svn add Icon@2x.png svn add Icon\@2x.png but neither of them works.</p> <p>Any help will be appreciated.</p> <p>Thanks RS</p>
1,760
718,246
2016-02-24 15:02:28
6,118,400
12
2011-05-25 00:44:18
723,113
2011-05-25 00:44:18
https://stackoverflow.com/q/6118391
https://stackoverflow.com/a/6118400
<p>You need to do this ...</p> <pre><code>svn add Icon@2x.png@ </code></pre>
<p>You need to do this ...</p> <pre><code>svn add Icon@2x.png@ </code></pre>
63, 58299
ios4, svn
<h1>Adding Icon@2x.png to SVN</h1> <p>I was trying add the retina icon to SVN but seem to have trouble checking it in.</p> <p>I tried svn add Icon@2x.png svn add Icon\@2x.png but neither of them works.</p> <p>Any help will be appreciated.</p> <p>Thanks RS</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,887
svn
# Adding Icon@2x.png to SVN I was trying add the retina icon to SVN but seem to have trouble checking it in. I tried svn add Icon@2x.png svn add Icon\@2x.png but neither of them works. Any help will be appreciated. Thanks RS
You need to do this ... ``` svn add Icon@2x.png@ ```
1468651
SVN Branch level commit permissions
6
2009-09-23 21:37:45
<p>We have multiple development branches and want to restrict commits to a particular branch to only a specific group of developers.</p> <p>Is it possible to restrict access at a branch level in SVN?</p>
8,661
173,859
2020-07-17 09:31:42
1,468,664
12
2009-09-23 21:40:47
146,356
2020-07-17 09:31:42
https://stackoverflow.com/q/1468651
https://stackoverflow.com/a/1468664
<p>Yes it is. You must configure in the svn config file called <code>authz</code>, located in the repository folder or directory. You can specify specific permissions by doing the following:</p> <pre><code>[/branches/branch-name] harry = rw sally = r </code></pre> <p>Hope it helps.</p>
<p>Yes it is. You must configure in the svn config file called <code>authz</code>, located in the repository folder or directory. You can specify specific permissions by doing the following:</p> <pre><code>[/branches/branch-name] harry = rw sally = r </code></pre> <p>Hope it helps.</p>
63
svn
<h1>SVN Branch level commit permissions</h1> <p>We have multiple development branches and want to restrict commits to a particular branch to only a specific group of developers.</p> <p>Is it possible to restrict access at a branch level in SVN?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,888
svn
# SVN Branch level commit permissions We have multiple development branches and want to restrict commits to a particular branch to only a specific group of developers. Is it possible to restrict access at a branch level in SVN?
Yes it is. You must configure in the svn config file called `authz`, located in the repository folder or directory. You can specify specific permissions by doing the following: ``` [/branches/branch-name] harry = rw sally = r ``` Hope it helps.
7027253
Equivalent of "git reset --hard" with SVN
25
2011-08-11 14:02:18
<p>I would like to revert my SVN <strong>central</strong> repository, not a working copy, from revision M to revision N ( M > N ), like a git reset --hard</p> <p>How can I do that ?</p>
18,970
529,745
2018-03-01 11:28:00
7,027,309
11
2011-08-11 14:06:25
520,162
2018-03-01 11:28:00
https://stackoverflow.com/q/7027253
https://stackoverflow.com/a/7027309
<p><strong>EDIT</strong></p> <p>the other answer (<a href="https://stackoverflow.com/a/24500425/520162">https://stackoverflow.com/a/24500425/520162</a>) seems to be a better solution than the one proposed by me. Check that one!</p> <hr> <p>On the client, it's simple: </p> <pre><code>svn checkout -r &lt;revision&gt...
<p><strong>EDIT</strong></p> <p>the other answer (<a href="https://stackoverflow.com/a/24500425/520162">https://stackoverflow.com/a/24500425/520162</a>) seems to be a better solution than the one proposed by me. Check that one!</p> <hr> <p>On the client, it's simple: </p> <pre><code>svn checkout -r &lt;revision&gt...
63
svn
<h1>Equivalent of "git reset --hard" with SVN</h1> <p>I would like to revert my SVN <strong>central</strong> repository, not a working copy, from revision M to revision N ( M > N ), like a git reset --hard</p> <p>How can I do that ?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,890
svn
# Equivalent of "git reset --hard" with SVN I would like to revert my SVN **central** repository, not a working copy, from revision M to revision N ( M > N ), like a git reset --hard How can I do that ?
**EDIT** the other answer (<https://stackoverflow.com/a/24500425/520162>) seems to be a better solution than the one proposed by me. Check that one! --- On the client, it's simple: ``` svn checkout -r <revision> url://path/to/repo ``` should do it. If you're on the server (like your edited question says), it depe...
3307631
Error: Retrieval of mergeinfo unsupported by 'svn://IP.Address'?
17
2010-07-22 09:58:11
<p>I am trying to merge a Branch to Trunk using the TSVN 'Reintegrate a branch' feature. However I get the following error.</p> <blockquote> <p>Error: Retrieval of mergeinfo unsupported by 'svn://IP.Address'?</p> </blockquote> <p>What is the reason for this error? Also is there some other way to merge the Branch ...
13,115
248,827
2024-03-06 01:58:32
3,308,543
11
2010-07-22 11:58:08
129,782
2010-07-22 11:58:08
https://stackoverflow.com/q/3307631
https://stackoverflow.com/a/3308543
<p>Maybe the SVN server you're referring to is of a version prior to 1.5? Or the repository hasn't been updated after updating the server itself?</p> <p>svn:mergeinfo is used by the merge tracking feature to keep track of which revisions have been merged WRT a file or a directory.</p> <p>The error message you get see...
<p>Maybe the SVN server you're referring to is of a version prior to 1.5? Or the repository hasn't been updated after updating the server itself?</p> <p>svn:mergeinfo is used by the merge tracking feature to keep track of which revisions have been merged WRT a file or a directory.</p> <p>The error message you get see...
63, 456, 656, 717, 1879
branch, merge, svn, tortoisesvn, version-control
<h1>Error: Retrieval of mergeinfo unsupported by 'svn://IP.Address'?</h1> <p>I am trying to merge a Branch to Trunk using the TSVN 'Reintegrate a branch' feature. However I get the following error.</p> <blockquote> <p>Error: Retrieval of mergeinfo unsupported by 'svn://IP.Address'?</p> </blockquote> <p>What is th...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,892
svn
# Error: Retrieval of mergeinfo unsupported by 'svn://IP.Address'? I am trying to merge a Branch to Trunk using the TSVN 'Reintegrate a branch' feature. However I get the following error. > Error: Retrieval of mergeinfo > unsupported by 'svn://IP.Address'? What is the reason for this error? Also is there some other ...
Maybe the SVN server you're referring to is of a version prior to 1.5? Or the repository hasn't been updated after updating the server itself? svn:mergeinfo is used by the merge tracking feature to keep track of which revisions have been merged WRT a file or a directory. The error message you get seems to indicate a ...
2817203
Execute build.xml with Maven
17
2010-05-12 08:48:11
<p>Is it possible to execute <code>build.xml</code> script with Maven?</p> <p>This script checksout all my projects and subprojects and I've just got used to using maven, didn't really use much of an ant before and I know ant can be used with Maven. So my question is: how?</p>
25,082
190,623
2017-12-07 11:58:19
2,817,687
11
2010-05-12 09:58:12
70,604
2010-05-12 11:15:20
https://stackoverflow.com/q/2817203
https://stackoverflow.com/a/2817687
<p>I'm really not a big fan of this approach (either use Ant, or Maven, but not a bastard mix) but you can use an external <code>build.xml</code> with the <a href="http://maven.apache.org/plugins/maven-antrun-plugin/" rel="noreferrer">Maven AntRun Plugin</a>:</p> <pre><code>&lt;project&gt; ... &lt;build&gt; &l...
<p>I'm really not a big fan of this approach (either use Ant, or Maven, but not a bastard mix) but you can use an external <code>build.xml</code> with the <a href="http://maven.apache.org/plugins/maven-antrun-plugin/" rel="noreferrer">Maven AntRun Plugin</a>:</p> <pre><code>&lt;project&gt; ... &lt;build&gt; &l...
63, 1912, 65722
maven-2, svn, svn-checkout
<h1>Execute build.xml with Maven</h1> <p>Is it possible to execute <code>build.xml</code> script with Maven?</p> <p>This script checksout all my projects and subprojects and I've just got used to using maven, didn't really use much of an ant before and I know ant can be used with Maven. So my question is: how?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,893
svn
# Execute build.xml with Maven Is it possible to execute `build.xml` script with Maven? This script checksout all my projects and subprojects and I've just got used to using maven, didn't really use much of an ant before and I know ant can be used with Maven. So my question is: how?
I'm really not a big fan of this approach (either use Ant, or Maven, but not a bastard mix) but you can use an external `build.xml` with the [Maven AntRun Plugin](http://maven.apache.org/plugins/maven-antrun-plugin/): ``` <project> ... <build> <plugins> ... <plugin> <groupId>org.apache.mave...
1887284
Does 'svn switch' ever delete locally-added files?
15
2009-12-11 10:51:13
<p>I need some clarification about the behaviour of "svn switch". I'm using SVN version 1.6.5.</p> <p>From reading the manual, my understanding of the behaviour is that local changes will be preserved. So I would expect a locally-added file to still exist in my working directory after <code>svn switch</code>.</p> <p>...
10,143
172,157
2017-12-12 19:49:44
1,887,302
11
2009-12-11 10:54:22
6,430
2009-12-11 11:06:58
https://stackoverflow.com/q/1887284
https://stackoverflow.com/a/1887302
<p>I think it's a bad idea to switch, when you have uncommitted changes. First, commit your local changes to a branch with <code>svn cp . &lt;branch URL&gt;</code>, and then switch. There may be <em>very</em> tricky situations you can get into otherwise.</p> <p>Imagine, that in a version you're switching to, the files...
<p>I think it's a bad idea to switch, when you have uncommitted changes. First, commit your local changes to a branch with <code>svn cp . &lt;branch URL&gt;</code>, and then switch. There may be <em>very</em> tricky situations you can get into otherwise.</p> <p>Imagine, that in a version you're switching to, the files...
63, 31301
svn, svn-switch
<h1>Does 'svn switch' ever delete locally-added files?</h1> <p>I need some clarification about the behaviour of "svn switch". I'm using SVN version 1.6.5.</p> <p>From reading the manual, my understanding of the behaviour is that local changes will be preserved. So I would expect a locally-added file to still exist in ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,896
svn
# Does 'svn switch' ever delete locally-added files? I need some clarification about the behaviour of "svn switch". I'm using SVN version 1.6.5. From reading the manual, my understanding of the behaviour is that local changes will be preserved. So I would expect a locally-added file to still exist in my working direc...
I think it's a bad idea to switch, when you have uncommitted changes. First, commit your local changes to a branch with `svn cp . <branch URL>`, and then switch. There may be *very* tricky situations you can get into otherwise. Imagine, that in a version you're switching to, the files you added locally already exist, ...
7270885
Format of SVN "Included Regions" in Jenkins
14
2011-09-01 13:16:49
<p>When setting up "included Regions" on a Jenkins project, the help text mentions this:</p> <blockquote> <p>If set, and Jenkins is set to poll for changes, Jenkins will ignore any files and/or folders that are not in this list when determining if a build needs to be triggered. Each inclusion uses regular expressi...
10,510
38,491
2016-10-03 09:29:06
7,285,064
11
2011-09-02 14:37:06
289,812
2011-09-02 14:37:06
https://stackoverflow.com/q/7270885
https://stackoverflow.com/a/7285064
<p>If your repository is</p> <pre><code>https://svn.mydomain.com/repos/projects/myfancyproject/trunk </code></pre> <p>and you only want to build if something changes in <code>documents/cat-pictures</code>, you add the following to your inclusions list:</p> <pre><code>/trunk/documents/cat-pictures/* </code></pre> <p...
<p>If your repository is</p> <pre><code>https://svn.mydomain.com/repos/projects/myfancyproject/trunk </code></pre> <p>and you only want to build if something changes in <code>documents/cat-pictures</code>, you add the following to your inclusions list:</p> <pre><code>/trunk/documents/cat-pictures/* </code></pre> <p...
63, 1066, 64999
continuous-integration, jenkins, svn
<h1>Format of SVN "Included Regions" in Jenkins</h1> <p>When setting up "included Regions" on a Jenkins project, the help text mentions this:</p> <blockquote> <p>If set, and Jenkins is set to poll for changes, Jenkins will ignore any files and/or folders that are not in this list when determining if a build needs to...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,897
svn
# Format of SVN "Included Regions" in Jenkins When setting up "included Regions" on a Jenkins project, the help text mentions this: > If set, and Jenkins is set to poll for changes, Jenkins will ignore any files and/or folders that are not in this list when determining if a build needs to be triggered. > Each inclusi...
If your repository is ``` https://svn.mydomain.com/repos/projects/myfancyproject/trunk ``` and you only want to build if something changes in `documents/cat-pictures`, you add the following to your inclusions list: ``` /trunk/documents/cat-pictures/* ``` which is 1 on your list. In subversion, "trunk", "tags" and ...
3145282
When do I check out TRUNK vs the FULL PROJECT in an SVN repo?
14
2010-06-29 22:36:07
<p>Got a (hopefully small) question regarding SVN and checking out repos. Basically I see conflicting tutorials and suggestions regarding what to check out and when. Some will say:</p> <p>svn co <a href="http://my.repos.com/project" rel="noreferrer">http://my.repos.com/project</a> my_project</p> <p>…while others ...
6,205
119,013
2010-07-02 23:01:47
3,145,774
11
2010-06-30 00:42:03
372,679
2010-06-30 01:37:37
https://stackoverflow.com/q/3145282
https://stackoverflow.com/a/3145774
<p>There are a couple of other points to note about this.</p> <ol> <li>The <code>tags</code> tree (and it will usually be a tree) contains hypothetically immutable snapshots of your code at a specific point in time; this is not something you want to change, as most deployments are going to be based on tags</li> <li>Mo...
<p>There are a couple of other points to note about this.</p> <ol> <li>The <code>tags</code> tree (and it will usually be a tree) contains hypothetically immutable snapshots of your code at a specific point in time; this is not something you want to change, as most deployments are going to be based on tags</li> <li>Mo...
63, 456, 1880, 6922
project, svn, trunk, version-control
<h1>When do I check out TRUNK vs the FULL PROJECT in an SVN repo?</h1> <p>Got a (hopefully small) question regarding SVN and checking out repos. Basically I see conflicting tutorials and suggestions regarding what to check out and when. Some will say:</p> <p>svn co <a href="http://my.repos.com/project" rel="noreferr...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,900
svn
# When do I check out TRUNK vs the FULL PROJECT in an SVN repo? Got a (hopefully small) question regarding SVN and checking out repos. Basically I see conflicting tutorials and suggestions regarding what to check out and when. Some will say: svn co <http://my.repos.com/project> my_project …while others say: svn co ...
There are a couple of other points to note about this. 1. The `tags` tree (and it will usually be a tree) contains hypothetically immutable snapshots of your code at a specific point in time; this is not something you want to change, as most deployments are going to be based on tags 2. Most Subversion clients complain...
10736505
SVN hook pre-revprop-change not working
13
2012-05-24 11:22:36
<p>I know that this has been asked many times before, but I believe my situation is different.</p> <p>I am trying to add a pre-revprop-change hook to our SVN repository to enable changes to be made to log messages.</p> <p>Before I added the <code>pre-revprop-change</code> file I was getting this error:</p> <pre><cod...
13,817
341,459
2013-07-17 14:24:53
10,738,521
11
2012-05-24 13:32:36
341,459
2012-05-24 13:32:36
https://stackoverflow.com/q/10736505
https://stackoverflow.com/a/10738521
<p>After several hours of trying, I've found the answer. And, as it doesn't seem to exist anywhere else on the internet, I'll post it here...</p> <p>The problem was caused by SELinux (no great surprise there). It seems that apache (<code>/usr/sbin/httpd</code>) did not have the necessary permissions to run the hook sc...
<p>After several hours of trying, I've found the answer. And, as it doesn't seem to exist anywhere else on the internet, I'll post it here...</p> <p>The problem was caused by SELinux (no great surprise there). It seems that apache (<code>/usr/sbin/httpd</code>) did not have the necessary permissions to run the hook sc...
58, 63, 456, 3922, 7081
linux, selinux, svn, version-control, webdav
<h1>SVN hook pre-revprop-change not working</h1> <p>I know that this has been asked many times before, but I believe my situation is different.</p> <p>I am trying to add a pre-revprop-change hook to our SVN repository to enable changes to be made to log messages.</p> <p>Before I added the <code>pre-revprop-change</co...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,902
svn
# SVN hook pre-revprop-change not working I know that this has been asked many times before, but I believe my situation is different. I am trying to add a pre-revprop-change hook to our SVN repository to enable changes to be made to log messages. Before I added the `pre-revprop-change` file I was getting this error:...
After several hours of trying, I've found the answer. And, as it doesn't seem to exist anywhere else on the internet, I'll post it here... The problem was caused by SELinux (no great surprise there). It seems that apache (`/usr/sbin/httpd`) did not have the necessary permissions to run the hook script with the afore-m...
8316146
Adding Directory Structure To SVN Repo
12
2011-11-29 18:54:34
<p>I've never administered an svn repository before, although I have used svn for version control. I set up an svn repository on a RHEL 5 server using the following tutorial: <a href="http://mark.koli.ch/2010/03/howto-setting-up-your-own-svn-server-using-apache-and-mod-dav-svn.html">http://mark.koli.ch/2010/03/howto-s...
33,171
892,593
2011-11-29 21:23:13
8,316,526
11
2011-11-29 19:25:54
718,618
2011-11-29 19:25:54
https://stackoverflow.com/q/8316146
https://stackoverflow.com/a/8316526
<p>One missing step in your story is the point when you <a href="http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.commit.html" rel="noreferrer">commit</a> your tags/trunk/branches directories, did you do the commit ? </p> <p>e.g.</p> <pre><code>svn co http://my_repo/ . mkdir tags mkdir trunk mkdir branches svn...
<p>One missing step in your story is the point when you <a href="http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.commit.html" rel="noreferrer">commit</a> your tags/trunk/branches directories, did you do the commit ? </p> <p>e.g.</p> <pre><code>svn co http://my_repo/ . mkdir tags mkdir trunk mkdir branches svn...
63
svn
<h1>Adding Directory Structure To SVN Repo</h1> <p>I've never administered an svn repository before, although I have used svn for version control. I set up an svn repository on a RHEL 5 server using the following tutorial: <a href="http://mark.koli.ch/2010/03/howto-setting-up-your-own-svn-server-using-apache-and-mod-d...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,904
svn
# Adding Directory Structure To SVN Repo I've never administered an svn repository before, although I have used svn for version control. I set up an svn repository on a RHEL 5 server using the following tutorial: <http://mark.koli.ch/2010/03/howto-setting-up-your-own-svn-server-using-apache-and-mod-dav-svn.html> Ever...
One missing step in your story is the point when you [commit](http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.commit.html) your tags/trunk/branches directories, did you do the commit ? e.g. ``` svn co http://my_repo/ . mkdir tags mkdir trunk mkdir branches svn add tags svn add trunk svn add branches svn ci . ...
6062428
How to Open an Existing SVN Project in Eclipse
12
2011-05-19 17:22:21
<p>I just started a new project which has previously been developed in Eclipse. I have not used Eclipse since 2006 and it was for a short non-SVN-controlled project at that time. I have extensive experience with NetBeans and Visual Studio. </p> <p>The code base is in an SVN repository. I have installed Eclipse (Helios...
85,898
593,010
2016-08-01 04:08:27
6,062,473
11
2011-05-19 17:25:57
471,782
2011-05-19 17:31:06
https://stackoverflow.com/q/6062428
https://stackoverflow.com/a/6062473
<ul> <li><p>You'll first need to install an SVN plugin for Eclipse - check out <a href="http://subclipse.tigris.org/" rel="nofollow noreferrer">Subclipse</a>.</p></li> <li><p><a href="https://stackoverflow.com/questions/408110/how-do-i-check-out-an-svn-project-into-eclipse-as-a-java-project">The answers to this questio...
<ul> <li><p>You'll first need to install an SVN plugin for Eclipse - check out <a href="http://subclipse.tigris.org/" rel="nofollow noreferrer">Subclipse</a>.</p></li> <li><p><a href="https://stackoverflow.com/questions/408110/how-do-i-check-out-an-svn-project-into-eclipse-as-a-java-project">The answers to this questio...
53, 63
eclipse, svn
<h1>How to Open an Existing SVN Project in Eclipse</h1> <p>I just started a new project which has previously been developed in Eclipse. I have not used Eclipse since 2006 and it was for a short non-SVN-controlled project at that time. I have extensive experience with NetBeans and Visual Studio. </p> <p>The code base i...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,905
svn
# How to Open an Existing SVN Project in Eclipse I just started a new project which has previously been developed in Eclipse. I have not used Eclipse since 2006 and it was for a short non-SVN-controlled project at that time. I have extensive experience with NetBeans and Visual Studio. The code base is in an SVN repos...
- You'll first need to install an SVN plugin for Eclipse - check out [Subclipse](http://subclipse.tigris.org/). - [The answers to this question](https://stackoverflow.com/questions/408110/how-do-i-check-out-an-svn-project-into-eclipse-as-a-java-project) document the steps for checking out from an SVN repository. Note ...
3034602
What files should be added to SVN in an eclipse Java project?
12
2010-06-14 01:31:03
<p>I have a Java project I'd like to commit to my SVN repository, created with eclipse.</p> <p>Now, what files (aside from the source code, obviously) are necessary? In the workspace root, there is a .settings folder with many files and subfolders, and inside the project folder there are two files - .classpath and .pr...
3,345
343,845
2013-10-08 09:46:19
3,034,623
11
2010-06-14 01:43:02
220,381
2013-10-08 09:46:19
https://stackoverflow.com/q/3034602
https://stackoverflow.com/a/3034623
<p>They're all useful if you want to have consistent settings across your team.</p> <p><code>.classpath</code> and <code>.project</code> mean everyone can get up and running with a project just by importing it. Any changes to the libraries and source files included in the project will be picked up by everyone when the...
<p>They're all useful if you want to have consistent settings across your team.</p> <p><code>.classpath</code> and <code>.project</code> mean everyone can get up and running with a project just by importing it. Any changes to the libraries and source files included in the project will be picked up by everyone when the...
17, 53, 63
eclipse, java, svn
<h1>What files should be added to SVN in an eclipse Java project?</h1> <p>I have a Java project I'd like to commit to my SVN repository, created with eclipse.</p> <p>Now, what files (aside from the source code, obviously) are necessary? In the workspace root, there is a .settings folder with many files and subfolders,...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,906
svn
# What files should be added to SVN in an eclipse Java project? I have a Java project I'd like to commit to my SVN repository, created with eclipse. Now, what files (aside from the source code, obviously) are necessary? In the workspace root, there is a .settings folder with many files and subfolders, and inside the ...
They're all useful if you want to have consistent settings across your team. `.classpath` and `.project` mean everyone can get up and running with a project just by importing it. Any changes to the libraries and source files included in the project will be picked up by everyone when they're checked in. The `.settings...
2112849
How to get SVN to ignore a directory inside an externals definition
12
2010-01-21 20:58:11
<p>I'm using subversion to host my own repository for a WordPress installation. I've got it set up so that all of the core WordPress files are in their own directory (called wordpress) and set up to use svn:externals to link to the WordPress repository. I then have my own copy of the wp-content directory (located outsi...
5,594
142,324
2012-10-11 09:33:01
2,114,390
11
2010-01-22 01:39:36
189,919
2010-01-22 01:39:36
https://stackoverflow.com/q/2112849
https://stackoverflow.com/a/2114390
<p>What you&#8217;re really asking is, &#8220;Can you specify <code>--depth</code> for <code>svn:externals</code>&#8221; and the answer is no. Externals currently are fully recursive on the specified directory.</p> <p><a href="http://subversion.tigris.org/issues/show_bug.cgi?id=3216" rel="noreferrer">Issue 3216</a> r...
<p>What you&#8217;re really asking is, &#8220;Can you specify <code>--depth</code> for <code>svn:externals</code>&#8221; and the answer is no. Externals currently are fully recursive on the specified directory.</p> <p><a href="http://subversion.tigris.org/issues/show_bug.cgi?id=3216" rel="noreferrer">Issue 3216</a> r...
63, 382, 31462
svn, svn-externals, wordpress
<h1>How to get SVN to ignore a directory inside an externals definition</h1> <p>I'm using subversion to host my own repository for a WordPress installation. I've got it set up so that all of the core WordPress files are in their own directory (called wordpress) and set up to use svn:externals to link to the WordPress r...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,907
svn
# How to get SVN to ignore a directory inside an externals definition I'm using subversion to host my own repository for a WordPress installation. I've got it set up so that all of the core WordPress files are in their own directory (called wordpress) and set up to use svn:externals to link to the WordPress repository...
What you’re really asking is, “Can you specify `--depth` for `svn:externals`” and the answer is no. Externals currently are fully recursive on the specified directory. [Issue 3216](http://subversion.tigris.org/issues/show_bug.cgi?id=3216) requests this functionality, but it doesn’t look like it’s coming any time soon.
1822469
Deploying a Website from Subversion
11
2009-11-30 21:20:32
<p>I am new to subversion and am wondering how do you move from develoment to staging then production? </p> <p>I think I grasp the concept of creating branches made for releases as <a href="https://stackoverflow.com/questions/1261825/subversion-should-anyone-be-developing-off-the-trunk">detailed here</a>. But how do I...
1,899
42,574
2014-03-14 10:32:32
1,822,486
11
2009-11-30 21:23:53
102,371
2009-11-30 21:23:53
https://stackoverflow.com/q/1822469
https://stackoverflow.com/a/1822486
<p><code>svn export</code></p> <p>Exports the files excluding all the subversion cruft</p>
<p><code>svn export</code></p> <p>Exports the files excluding all the subversion cruft</p>
63
svn
<h1>Deploying a Website from Subversion</h1> <p>I am new to subversion and am wondering how do you move from develoment to staging then production? </p> <p>I think I grasp the concept of creating branches made for releases as <a href="https://stackoverflow.com/questions/1261825/subversion-should-anyone-be-developing-o...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,911
svn
# Deploying a Website from Subversion I am new to subversion and am wondering how do you move from develoment to staging then production? I think I grasp the concept of creating branches made for releases as [detailed here](https://stackoverflow.com/questions/1261825/subversion-should-anyone-be-developing-off-the-tru...
`svn export` Exports the files excluding all the subversion cruft
12644827
Ubuntu + SVN: Could not open the requested SVN filesystem
10
2012-09-28 17:41:24
<p>I'm aware this question has been asked a lot of times. I believe I understand the answers, but I still had no luck.</p> <p>I tried both <code>one repo</code> and <code>multiple repos</code> configurations, having the same issue for both of them.</p> <p>So, with the config I'm interested in:</p> <pre><code>&lt;Loc...
40,931
831,061
2022-05-03 05:55:41
12,645,030
11
2012-09-28 17:56:59
592,139
2012-09-28 18:06:17
https://stackoverflow.com/q/12644827
https://stackoverflow.com/a/12645030
<pre><code>luso@bender:/media/ssd/svn$ ls -lart total 16 drwx------ 7 luso luso 4096 2012-09-15 16:20 .. </code></pre> <p>This is probably your problem - while the repository directories are accessible to the www-data user, their parent directory <code>/media/ssd</code> isn't. It and all its parent directories up ...
<pre><code>luso@bender:/media/ssd/svn$ ls -lart total 16 drwx------ 7 luso luso 4096 2012-09-15 16:20 .. </code></pre> <p>This is probably your problem - while the repository directories are accessible to the www-data user, their parent directory <code>/media/ssd</code> isn't. It and all its parent directories up ...
63, 80, 549, 3922
apache, svn, ubuntu, webdav
<h1>Ubuntu + SVN: Could not open the requested SVN filesystem</h1> <p>I'm aware this question has been asked a lot of times. I believe I understand the answers, but I still had no luck.</p> <p>I tried both <code>one repo</code> and <code>multiple repos</code> configurations, having the same issue for both of them.</p>...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,912
svn
# Ubuntu + SVN: Could not open the requested SVN filesystem I'm aware this question has been asked a lot of times. I believe I understand the answers, but I still had no luck. I tried both `one repo` and `multiple repos` configurations, having the same issue for both of them. So, with the config I'm interested in: ...
``` luso@bender:/media/ssd/svn$ ls -lart total 16 drwx------ 7 luso luso 4096 2012-09-15 16:20 .. ``` This is probably your problem - while the repository directories are accessible to the www-data user, their parent directory `/media/ssd` isn't. It and all its parent directories up the tree need at least world-ex...
4404875
svn help to get all history
10
2010-12-10 01:33:46
<p>Summary: I want to know that how can I get all the change log from svn.</p> <p>I know about SVN LOG URL, but it does not give me detail that what files were changed in that commit. It just gives me commit message.</p> <p>I want to know that what files were affected with each commit. </p> <p>Is there any way to g...
13,159
431,276
2013-01-23 14:48:40
4,404,907
11
2010-12-10 01:38:53
410,457
2010-12-10 01:44:34
https://stackoverflow.com/q/4404875
https://stackoverflow.com/a/4404907
<p>just use -v on log</p> <pre><code>svn log &lt;url&gt; -v </code></pre> <h3>oh yea, and...</h3> <p>to specify revision, use -r ... so:</p> <pre><code>svn log &lt;url&gt; -r &lt;rev#&gt; -v </code></pre> <p>for a revision range, use <code>&lt;firstRev#&gt;:&lt;lastRev#&gt;</code> like:</p> <pre><code>svn log &lt...
<p>just use -v on log</p> <pre><code>svn log &lt;url&gt; -v </code></pre> <h3>oh yea, and...</h3> <p>to specify revision, use -r ... so:</p> <pre><code>svn log &lt;url&gt; -r &lt;rev#&gt; -v </code></pre> <p>for a revision range, use <code>&lt;firstRev#&gt;:&lt;lastRev#&gt;</code> like:</p> <pre><code>svn log &lt...
63, 7349
changelog, svn
<h1>svn help to get all history</h1> <p>Summary: I want to know that how can I get all the change log from svn.</p> <p>I know about SVN LOG URL, but it does not give me detail that what files were changed in that commit. It just gives me commit message.</p> <p>I want to know that what files were affected with each c...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,915
svn
# svn help to get all history Summary: I want to know that how can I get all the change log from svn. I know about SVN LOG URL, but it does not give me detail that what files were changed in that commit. It just gives me commit message. I want to know that what files were affected with each commit. Is there any way...
just use -v on log ``` svn log <url> -v ``` ### oh yea, and... to specify revision, use -r ... so: ``` svn log <url> -r <rev#> -v ``` for a revision range, use `<firstRev#>:<lastRev#>` like: ``` svn log <url> -r 1:5 -v ```
24538591
Error "The server sent an improper HTTP response." on commit with Subversion 1.8+ client
9
2014-07-02 18:35:54
<p>Recently I have been plagued by an error on committing to a single SVN repo using TortoiseSVN (1.8.7.25475) or AnkhSVN (2.5.12471.17):</p> <blockquote> <p>Error running context: The server sent an improper HTTP response</p> </blockquote> <p>Here is a screenshot of the error in TortoiseSVN:</p> <p><img src="http...
11,173
1,810,429
2016-05-23 11:09:30
24,555,476
11
2014-07-03 13:47:22
761,095
2016-05-23 11:09:30
https://stackoverflow.com/q/24538591
https://stackoverflow.com/a/24555476
<p>Upgrade your Subversion client to the latest version.</p> <hr> <p><strong>Outdated answer:</strong></p> <p><strong>ON THE CLIENT MACHINE!</strong> Open <a href="http://svnbook.red-bean.com/en/1.8/svn.advanced.confarea.html#svn.advanced.confarea.opts.servers" rel="nofollow noreferrer"><code>%APPDATA%\Subversion\se...
<p>Upgrade your Subversion client to the latest version.</p> <hr> <p><strong>Outdated answer:</strong></p> <p><strong>ON THE CLIENT MACHINE!</strong> Open <a href="http://svnbook.red-bean.com/en/1.8/svn.advanced.confarea.html#svn.advanced.confarea.opts.servers" rel="nofollow noreferrer"><code>%APPDATA%\Subversion\se...
63, 80, 656, 2018, 5210
ankhsvn, apache, http, svn, tortoisesvn
<h1>Error "The server sent an improper HTTP response." on commit with Subversion 1.8+ client</h1> <p>Recently I have been plagued by an error on committing to a single SVN repo using TortoiseSVN (1.8.7.25475) or AnkhSVN (2.5.12471.17):</p> <blockquote> <p>Error running context: The server sent an improper HTTP respo...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,917
svn
# Error "The server sent an improper HTTP response." on commit with Subversion 1.8+ client Recently I have been plagued by an error on committing to a single SVN repo using TortoiseSVN (1.8.7.25475) or AnkhSVN (2.5.12471.17): > Error running context: The server sent an improper HTTP response Here is a screenshot of ...
Upgrade your Subversion client to the latest version. --- **Outdated answer:** **ON THE CLIENT MACHINE!** Open [`%APPDATA%\Subversion\servers`](http://svnbook.red-bean.com/en/1.8/svn.advanced.confarea.html#svn.advanced.confarea.opts.servers) in a text editor and add the line `http-bulk-updates = yes`, save the file ...
15790073
SVN tagging equivalent in TFS 2012
9
2013-04-03 14:24:33
<p>I recently migrated to the <strong>TFS 2012</strong> and I have worked with <strong>SVN</strong> for a long time.</p> <p>In SVN I used "<em>Tags</em>" to mark some important "<em>checkpoints</em>" of development, ie when I finished a software version (alpha, beta) I created a <em>Tag</em> for that version. If some ...
5,425
1,909,798
2015-10-20 01:55:07
15,790,947
11
2013-04-03 15:00:30
729,881
2013-04-03 15:00:30
https://stackoverflow.com/q/15790073
https://stackoverflow.com/a/15790947
<p>In Team Foundation Server, <a href="http://msdn.microsoft.com/en-us/library/gg475879%28v=vs.100%29.aspx" rel="noreferrer">labels</a> are similar to tags in other version control system; a label contains files at a specific version.</p> <p>When we release some product, we snapshot the entire team project as a label ...
<p>In Team Foundation Server, <a href="http://msdn.microsoft.com/en-us/library/gg475879%28v=vs.100%29.aspx" rel="noreferrer">labels</a> are similar to tags in other version control system; a label contains files at a specific version.</p> <p>When we release some product, we snapshot the entire team project as a label ...
63, 115, 27894
checkpoint, svn, tags
<h1>SVN tagging equivalent in TFS 2012</h1> <p>I recently migrated to the <strong>TFS 2012</strong> and I have worked with <strong>SVN</strong> for a long time.</p> <p>In SVN I used "<em>Tags</em>" to mark some important "<em>checkpoints</em>" of development, ie when I finished a software version (alpha, beta) I creat...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,918
svn
# SVN tagging equivalent in TFS 2012 I recently migrated to the **TFS 2012** and I have worked with **SVN** for a long time. In SVN I used "*Tags*" to mark some important "*checkpoints*" of development, ie when I finished a software version (alpha, beta) I created a *Tag* for that version. If some mistake happen, I a...
In Team Foundation Server, [labels](http://msdn.microsoft.com/en-us/library/gg475879%28v=vs.100%29.aspx) are similar to tags in other version control system; a label contains files at a specific version. When we release some product, we snapshot the entire team project as a label - that is to say that we create some l...
7733837
SVN: switching active user on checked out repository
9
2011-10-11 23:51:32
<p>I have a project checked out on my local machine from a remote repository, and I would like to switch the 'active' user, so that for subsequent commits the new user will come up in the logs. Is there a way to do this other than checking out the whole repository again under the new username?</p> <p>Many thanks,</p> ...
7,691
125,481
2011-10-11 23:56:12
7,733,871
11
2011-10-11 23:56:12
836,407
2011-10-11 23:56:12
https://stackoverflow.com/q/7733837
https://stackoverflow.com/a/7733871
<p>In your home directory there is a directory called <code>.subversion</code>. Inside there is several auth cache files. Find the one with your username in it and delete the file. On the next svn commit or any svn operation, you will be prompted for your username/pw. Enter the username that you want use.</p> <p>O...
<p>In your home directory there is a directory called <code>.subversion</code>. Inside there is several auth cache files. Find the one with your username in it and delete the file. On the next svn commit or any svn operation, you will be prompted for your username/pw. Enter the username that you want use.</p> <p>O...
63, 456
svn, version-control
<h1>SVN: switching active user on checked out repository</h1> <p>I have a project checked out on my local machine from a remote repository, and I would like to switch the 'active' user, so that for subsequent commits the new user will come up in the logs. Is there a way to do this other than checking out the whole repo...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,919
svn
# SVN: switching active user on checked out repository I have a project checked out on my local machine from a remote repository, and I would like to switch the 'active' user, so that for subsequent commits the new user will come up in the logs. Is there a way to do this other than checking out the whole repository ag...
In your home directory there is a directory called `.subversion`. Inside there is several auth cache files. Find the one with your username in it and delete the file. On the next svn commit or any svn operation, you will be prompted for your username/pw. Enter the username that you want use. On linux: ``` /home/me/.s...
5160944
Proper mime-type for patch files
9
2011-03-01 22:03:32
<p>Anybody know what the "proper" mime-type for patch files would be? I have been using application/octet-stream because I don't see anything better at <a href="http://www.iana.org/assignments/media-types/index.html" rel="nofollow noreferrer" title="iana.org">iana.org</a>. Is application/octet-stream correct, or is t...
3,490
82,873
2019-02-28 21:55:39
6,377,941
11
2011-06-16 20:07:20
10,612
2019-02-28 21:55:39
https://stackoverflow.com/q/5160944
https://stackoverflow.com/a/6377941
<p>I couldn't find an authoritative version either. Here's some other possibilities:</p> <ul> <li><code>text/x-diff</code></li> <li><code>text/x-patch</code></li> <li><code>application/x-patch</code></li> </ul> <p>For what it's worth, <a href="http://trac.edgewall.org/" rel="nofollow noreferrer">Trac</a> (a ticket t...
<p>I couldn't find an authoritative version either. Here's some other possibilities:</p> <ul> <li><code>text/x-diff</code></li> <li><code>text/x-patch</code></li> <li><code>application/x-patch</code></li> </ul> <p>For what it's worth, <a href="http://trac.edgewall.org/" rel="nofollow noreferrer">Trac</a> (a ticket t...
63, 2132, 59645
mime-types, patch, svn
<h1>Proper mime-type for patch files</h1> <p>Anybody know what the "proper" mime-type for patch files would be? I have been using application/octet-stream because I don't see anything better at <a href="http://www.iana.org/assignments/media-types/index.html" rel="nofollow noreferrer" title="iana.org">iana.org</a>. Is...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,920
svn
# Proper mime-type for patch files Anybody know what the "proper" mime-type for patch files would be? I have been using application/octet-stream because I don't see anything better at [iana.org](http://www.iana.org/assignments/media-types/index.html "iana.org"). Is application/octet-stream correct, or is there somethi...
I couldn't find an authoritative version either. Here's some other possibilities: - `text/x-diff` - `text/x-patch` - `application/x-patch` For what it's worth, [Trac](http://trac.edgewall.org/) (a ticket tracker with good svn support) uses `text/x-patch` for diffs. [git.kernel.org](http://git.kernel.org) and [GitHub]...
5144450
How to get SVN to ignore Mac "._" files?
9
2011-02-28 16:10:23
<p>My development server is accessed by several OSX users, and their OS tends to leave lots of unnecessary files around the place, all starting with dot underscore ("<code>._</code>"). I know OSX can be told not to create these on network drives, but they still sneak in. I'd like SVN to ignore anything starting with "<...
8,487
148,417
2014-10-13 10:50:36
5,185,719
11
2011-03-03 19:48:11
368,630
2014-10-13 10:50:36
https://stackoverflow.com/q/5144450
https://stackoverflow.com/a/5185719
<p>I have a <a href="https://github.com/qazwart/SVN-Precommit-Kitchen-Sink-Hook" rel="nofollow">pre-commit hook</a> that might fit the bill. This hook allows you to completely ban the use of certain file names based upon a regular expression. You can ban any file that starts with "._" and if someone tries to add one, t...
<p>I have a <a href="https://github.com/qazwart/SVN-Precommit-Kitchen-Sink-Hook" rel="nofollow">pre-commit hook</a> that might fit the bill. This hook allows you to completely ban the use of certain file names based upon a regular expression. You can ban any file that starts with "._" and if someone tries to add one, t...
63
svn
<h1>How to get SVN to ignore Mac "._" files?</h1> <p>My development server is accessed by several OSX users, and their OS tends to leave lots of unnecessary files around the place, all starting with dot underscore ("<code>._</code>"). I know OSX can be told not to create these on network drives, but they still sneak in...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,921
svn
# How to get SVN to ignore Mac "._" files? My development server is accessed by several OSX users, and their OS tends to leave lots of unnecessary files around the place, all starting with dot underscore ("`._`"). I know OSX can be told not to create these on network drives, but they still sneak in. I'd like SVN to ig...
I have a [pre-commit hook](https://github.com/qazwart/SVN-Precommit-Kitchen-Sink-Hook) that might fit the bill. This hook allows you to completely ban the use of certain file names based upon a regular expression. You can ban any file that starts with "._" and if someone tries to add one, they won't be able to commit i...
4139882
svn ignore a file but include it in checkout
9
2010-11-09 23:42:35
<p>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...
2,000
502,556
2012-02-07 09:08:25
4,139,910
11
2010-11-09 23:46:35
501,250
2010-11-10 08:28:50
https://stackoverflow.com/q/4139882
https://stackoverflow.com/a/4139910
<p>Usually the way you do this is by providing a template file that the user or a script will copy to where it belongs. That file will then be ignored.</p> <p>For example, say you have <code>app.config</code> as the config file. You would commit yours as <code>app.config.template</code> or something similar. Users ...
<p>Usually the way you do this is by providing a template file that the user or a script will copy to where it belongs. That file will then be ignored.</p> <p>For example, say you have <code>app.config</code> as the config file. You would commit yours as <code>app.config.template</code> or something similar. Users ...
63
svn
<h1>svn ignore a file but include it in checkout</h1> <p>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, b...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,922
svn
# svn ignore a file but include it in checkout 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 wil...
Usually the way you do this is by providing a template file that the user or a script will copy to where it belongs. That file will then be ignored. For example, say you have `app.config` as the config file. You would commit yours as `app.config.template` or something similar. Users would have to copy and rename the f...
2291265
Using Tortoise SVN for single user version control
9
2010-02-18 18:09:33
<p>Can I use <a href="http://tortoisesvn.tigris.org" rel="noreferrer">Tortoise SVN</a> to have better version control for source code on my personal computer?</p> <p>I do not have to share the source code with someone, its just that I am tired of creating a new copy of the file every time I have to make some changes t...
4,086
113,124
2011-05-28 02:25:21
2,291,267
11
2010-02-18 18:35:10
94,928
2010-02-18 18:49:36
https://stackoverflow.com/q/2291265
https://stackoverflow.com/a/2291267
<p>You can just create a "repo" on your filesystem without running a server. <a href="http://thinkinging.com/2007/04/12/creating-a-local-subversion-repository-with-tortoisesvn/" rel="noreferrer">This article</a> give detailed instructions. Basically you create a repo folder, use TortiseSVN to create a repository in t...
<p>You can just create a "repo" on your filesystem without running a server. <a href="http://thinkinging.com/2007/04/12/creating-a-local-subversion-repository-with-tortoisesvn/" rel="noreferrer">This article</a> give detailed instructions. Basically you create a repo folder, use TortiseSVN to create a repository in t...
63, 456, 656
svn, tortoisesvn, version-control
<h1>Using Tortoise SVN for single user version control</h1> <p>Can I use <a href="http://tortoisesvn.tigris.org" rel="noreferrer">Tortoise SVN</a> to have better version control for source code on my personal computer?</p> <p>I do not have to share the source code with someone, its just that I am tired of creating a n...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,923
svn
# Using Tortoise SVN for single user version control Can I use [Tortoise SVN](http://tortoisesvn.tigris.org) to have better version control for source code on my personal computer? I do not have to share the source code with someone, its just that I am tired of creating a new copy of the file every time I have to mak...
You can just create a "repo" on your filesystem without running a server. [This article](http://thinkinging.com/2007/04/12/creating-a-local-subversion-repository-with-tortoisesvn/) give detailed instructions. Basically you create a repo folder, use TortiseSVN to create a repository in that folder, and then check out yo...