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
1591756
Ignoring Eclipse project files in SVN project
54
2009-10-19 23:49:00
<p>I have a PHP project set up in Eclipse with SVN support. Now, Eclipse adds its project files .buildpath and .project to the project and Subclipse wants to add it to the repository.</p> <p>Now I could just use svn:ignore to let SVN ignore the files, but that's not an option for various reasons. So, is there a way to...
57,972
192,741
2016-05-10 21:37:11
1,591,828
102
2009-10-20 00:19:27
4,321
2016-05-10 21:37:11
https://stackoverflow.com/q/1591756
https://stackoverflow.com/a/1591828
<p><code>Preferences</code> > <code>Team</code> > <code>Ignored Resources</code></p>
<p><code>Preferences</code> > <code>Team</code> > <code>Ignored Resources</code></p>
55, 63, 4333, 6979
eclipse-pdt, ignore, subclipse, svn
<h1>Ignoring Eclipse project files in SVN project</h1> <p>I have a PHP project set up in Eclipse with SVN support. Now, Eclipse adds its project files .buildpath and .project to the project and Subclipse wants to add it to the repository.</p> <p>Now I could just use svn:ignore to let SVN ignore the files, but that's n...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,001
svn
# Ignoring Eclipse project files in SVN project I have a PHP project set up in Eclipse with SVN support. Now, Eclipse adds its project files .buildpath and .project to the project and Subclipse wants to add it to the repository. Now I could just use svn:ignore to let SVN ignore the files, but that's not an option for...
`Preferences` > `Team` > `Ignored Resources`
5275924
What SVN command can I use to see the branch I'm currently using?
56
2011-03-11 17:00:47
<p>I generally use Subclipse, but there's some wonkiness in my code right now and I want to do some sanity checks from the command line. Thanks to Subclipse, I can usually see the branches I'm using in Eclipse's Package Explorer window.</p> <p><img src="https://i.sstatic.net/AXfEd.png" alt="screenshot of branch inform...
59,099
122,607
2020-02-18 16:03:47
5,275,959
101
2011-03-11 17:03:27
235
2011-03-11 17:03:27
https://stackoverflow.com/q/5275924
https://stackoverflow.com/a/5275959
<p>Try the following:</p> <pre><code>svn info </code></pre> <p>This will give you the URL your workspace is a checkout of, relative to where you are in the workspace. You should be able to see the branch in the URL.</p>
<p>Try the following:</p> <pre><code>svn info </code></pre> <p>This will give you the URL your workspace is a checkout of, relative to where you are in the workspace. You should be able to see the branch in the URL.</p>
63
svn
<h1>What SVN command can I use to see the branch I'm currently using?</h1> <p>I generally use Subclipse, but there's some wonkiness in my code right now and I want to do some sanity checks from the command line. Thanks to Subclipse, I can usually see the branches I'm using in Eclipse's Package Explorer window.</p> <p>...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,003
svn
# What SVN command can I use to see the branch I'm currently using? I generally use Subclipse, but there's some wonkiness in my code right now and I want to do some sanity checks from the command line. Thanks to Subclipse, I can usually see the branches I'm using in Eclipse's Package Explorer window. ![screenshot of ...
Try the following: ``` svn info ``` This will give you the URL your workspace is a checkout of, relative to where you are in the workspace. You should be able to see the branch in the URL.
41766
How do I download code using SVN/Tortoise from Google Code?
88
2008-09-03 14:19:55
<p>I just saw a really cool WPF twitter client that I think is developed by the Herding Code podcast guys <a href="http://www.herdingcode.com/" rel="noreferrer">HerdingCode</a> called <a href="http://code.google.com/p/wittytwitter/" rel="noreferrer">Witty</a>. (or at least, I see a lot of those guys using this client)...
165,423
2,858
2014-07-14 11:27:51
41,776
100
2008-09-03 14:23:27
3,043
2014-07-14 11:26:25
https://stackoverflow.com/q/41766
https://stackoverflow.com/a/41776
<p>After you install Tortoise (separate SVN client not required), create a new empty folder for the project somewhere and right click it in Windows. There should be an option for <code>SVN Checkout</code>. Choosing that option will open a dialog box. Paste the URL you posted above in the first textbox of that dialog bo...
<p>After you install Tortoise (separate SVN client not required), create a new empty folder for the project somewhere and right click it in Windows. There should be an option for <code>SVN Checkout</code>. Choosing that option will open a dialog box. Paste the URL you posted above in the first textbox of that dialog bo...
63, 656, 3682
google-code, svn, tortoisesvn
<h1>How do I download code using SVN/Tortoise from Google Code?</h1> <p>I just saw a really cool WPF twitter client that I think is developed by the Herding Code podcast guys <a href="http://www.herdingcode.com/" rel="noreferrer">HerdingCode</a> called <a href="http://code.google.com/p/wittytwitter/" rel="noreferrer">W...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,004
svn
# How do I download code using SVN/Tortoise from Google Code? I just saw a really cool WPF twitter client that I think is developed by the Herding Code podcast guys [HerdingCode](http://www.herdingcode.com/) called [Witty](http://code.google.com/p/wittytwitter/). (or at least, I see a lot of those guys using this clie...
After you install Tortoise (separate SVN client not required), create a new empty folder for the project somewhere and right click it in Windows. There should be an option for `SVN Checkout`. Choosing that option will open a dialog box. Paste the URL you posted above in the first textbox of that dialog box and click "O...
19905716
How change default SVN username and password to commit changes?
58
2013-11-11 11:54:37
<p>I need to commit my changes to repository, but on this laptop (svn configurations) I'm not default user.</p> <p>How can I set my login and password as default in svn config?</p> <p>OS_X 10.9 svn, version 1.7.10 (r1485443)</p>
204,666
1,523,560
2021-06-07 09:47:16
19,907,551
99
2013-11-11 13:26:19
1,324,345
2013-11-11 13:40:56
https://stackoverflow.com/q/19905716
https://stackoverflow.com/a/19907551
<p>To use alternate credentials for a single operation, use the <code>--username</code> and <code>--password</code> switches for <code>svn</code>.</p> <p>To clear previously-saved credentials, delete <code>~/.subversion/auth</code>. You'll be prompted for credentials the next time they're needed.</p> <p>These setting...
<p>To use alternate credentials for a single operation, use the <code>--username</code> and <code>--password</code> switches for <code>svn</code>.</p> <p>To clear previously-saved credentials, delete <code>~/.subversion/auth</code>. You'll be prompted for credentials the next time they're needed.</p> <p>These setting...
63, 183, 3574
authentication, config, svn
<h1>How change default SVN username and password to commit changes?</h1> <p>I need to commit my changes to repository, but on this laptop (svn configurations) I'm not default user.</p> <p>How can I set my login and password as default in svn config?</p> <p>OS_X 10.9 svn, version 1.7.10 (r1485443)</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,005
svn
# How change default SVN username and password to commit changes? I need to commit my changes to repository, but on this laptop (svn configurations) I'm not default user. How can I set my login and password as default in svn config? OS_X 10.9 svn, version 1.7.10 (r1485443)
To use alternate credentials for a single operation, use the `--username` and `--password` switches for `svn`. To clear previously-saved credentials, delete `~/.subversion/auth`. You'll be prompted for credentials the next time they're needed. These settings are saved in the user's home directory, so if you're using ...
1741705
how to make svn diff show only non-whitespace line changes between two revisions
96
2009-11-16 11:49:07
<p>I can get diffs between two revisions using something like </p> <pre><code>svn diff -r 100:200 &gt; file.diff </code></pre> <p>But the problem is that there are many lines that show up due to change in whitespace. Is there a way to only write those lines that actually change in a significant way and not just in wh...
57,986
58,948
2019-05-21 13:17:27
1,741,756
98
2009-11-16 12:00:45
167,100
2019-05-21 13:17:27
https://stackoverflow.com/q/1741705
https://stackoverflow.com/a/1741756
<p>You can use</p> <pre><code>svn diff -r 100:200 -x -b &gt; file.diff </code></pre> <p>If you want to ignore all whitespaces:</p> <pre><code>svn diff -x -w | less </code></pre> <p><a href="https://stackoverflow.com/a/1741774/1763602">Source</a></p>
<p>You can use</p> <pre><code>svn diff -r 100:200 -x -b &gt; file.diff </code></pre> <p>If you want to ignore all whitespaces:</p> <pre><code>svn diff -x -w | less </code></pre> <p><a href="https://stackoverflow.com/a/1741774/1763602">Source</a></p>
63, 606, 1084
diff, svn, whitespace
<h1>how to make svn diff show only non-whitespace line changes between two revisions</h1> <p>I can get diffs between two revisions using something like </p> <pre><code>svn diff -r 100:200 &gt; file.diff </code></pre> <p>But the problem is that there are many lines that show up due to change in whitespace. Is there a ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,006
svn
# how to make svn diff show only non-whitespace line changes between two revisions I can get diffs between two revisions using something like ``` svn diff -r 100:200 > file.diff ``` But the problem is that there are many lines that show up due to change in whitespace. Is there a way to only write those lines that ac...
You can use ``` svn diff -r 100:200 -x -b > file.diff ``` If you want to ignore all whitespaces: ``` svn diff -x -w | less ``` [Source](https://stackoverflow.com/a/1741774/1763602)
15185661
Update OpenSSL on OS X with Homebrew
93
2013-03-03 12:30:17
<p>I'm using MacOS X 10.7.5 and I need a newer OpenSSL version due to <a href="https://stackoverflow.com/questions/7363259/osx10-7-ssl-handshake-failed">handshake failures</a>. There are several tutorials on the internet and I tried the following:</p> <pre><code>brew install openssl brew link openssl --force </code></...
233,433
998,232
2022-12-27 18:04:09
17,231,736
98
2013-06-21 09:23:39
2,508,421
2013-06-21 09:23:39
https://stackoverflow.com/q/15185661
https://stackoverflow.com/a/17231736
<p>If you're using Homebrew <em>/usr/local/bin</em> should already be at the front of <code>$PATH</code> or at least come before <em>/usr/bin</em>. If you now run <code>brew link --force openssl</code> in your terminal window, open a new one and run <code>which openssl</code> in it. It should now show <code>openssl</co...
<p>If you're using Homebrew <em>/usr/local/bin</em> should already be at the front of <code>$PATH</code> or at least come before <em>/usr/bin</em>. If you now run <code>brew link --force openssl</code> in your terminal window, open a new one and run <code>which openssl</code> in it. It should now show <code>openssl</co...
63, 369, 1067, 1999
homebrew, macos, openssl, svn
<h1>Update OpenSSL on OS X with Homebrew</h1> <p>I'm using MacOS X 10.7.5 and I need a newer OpenSSL version due to <a href="https://stackoverflow.com/questions/7363259/osx10-7-ssl-handshake-failed">handshake failures</a>. There are several tutorials on the internet and I tried the following:</p> <pre><code>brew insta...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,007
svn
# Update OpenSSL on OS X with Homebrew I'm using MacOS X 10.7.5 and I need a newer OpenSSL version due to [handshake failures](https://stackoverflow.com/questions/7363259/osx10-7-ssl-handshake-failed). There are several tutorials on the internet and I tried the following: ``` brew install openssl brew link openssl --...
If you're using Homebrew */usr/local/bin* should already be at the front of `$PATH` or at least come before */usr/bin*. If you now run `brew link --force openssl` in your terminal window, open a new one and run `which openssl` in it. It should now show `openssl` under */usr/local/bin*.
6037033
How can I commit a single file using SVN over a network?
56
2011-05-17 20:56:43
<p>I am able to check out an entire <code>svn</code> repository using the following command: </p> <pre><code>svn co https://myaccount.svn.beanstalkapp.com/myapp/ </code></pre> <p>But I cannot figure out the command to commit a single file. If I make to change to <code>myapp/page1.html</code>. </p> <p>How can I check...
126,904
623,882
2017-02-09 20:59:14
6,037,080
98
2011-05-17 21:00:54
78,845
2015-04-30 08:25:15
https://stackoverflow.com/q/6037033
https://stackoverflow.com/a/6037080
<pre><code>cd myapp/trunk svn commit -m "commit message" page1.html </code></pre> <p>For more information, see:</p> <pre><code>svn commit --help </code></pre> <p>I also recommend <a href="http://svnbook.red-bean.com/" rel="noreferrer">this free book</a>, if you're just getting started with Subversion.</p>
<pre><code>cd myapp/trunk svn commit -m "commit message" page1.html </code></pre> <p>For more information, see:</p> <pre><code>svn commit --help </code></pre> <p>I also recommend <a href="http://svnbook.red-bean.com/" rel="noreferrer">this free book</a>, if you're just getting started with Subversion.</p>
63, 549, 105747
amazon-elastic-beanstalk, svn, ubuntu
<h1>How can I commit a single file using SVN over a network?</h1> <p>I am able to check out an entire <code>svn</code> repository using the following command: </p> <pre><code>svn co https://myaccount.svn.beanstalkapp.com/myapp/ </code></pre> <p>But I cannot figure out the command to commit a single file. If I make to...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,008
svn
# How can I commit a single file using SVN over a network? I am able to check out an entire `svn` repository using the following command: ``` svn co https://myaccount.svn.beanstalkapp.com/myapp/ ``` But I cannot figure out the command to commit a single file. If I make to change to `myapp/page1.html`. How can I che...
``` cd myapp/trunk svn commit -m "commit message" page1.html ``` For more information, see: ``` svn commit --help ``` I also recommend [this free book](http://svnbook.red-bean.com/), if you're just getting started with Subversion.
46080
How do you move a file?
224
2008-09-05 15:45:53
<p>I'm using TortoiseSVN against the SourceForge SVN repository. I'd like to move a file from one folder to another in order to maintain its revision history. Is this possible? If so, how do you do it?</p> <p>(My current strategy has been to copy the file into the new folder and check it in and then delete the file fr...
138,995
1,463
2019-12-04 14:03:29
46,083
97
2008-09-05 15:46:55
4,659
2008-09-05 15:46:55
https://stackoverflow.com/q/46080
https://stackoverflow.com/a/46083
<p>Subversion has native support for moving files.</p> <pre><code>svn move SOURCE DESTINATION </code></pre> <p>See the online help (svn help move) for more information.</p>
<p>Subversion has native support for moving files.</p> <pre><code>svn move SOURCE DESTINATION </code></pre> <p>See the online help (svn help move) for more information.</p>
63, 656
svn, tortoisesvn
<h1>How do you move a file?</h1> <p>I'm using TortoiseSVN against the SourceForge SVN repository. I'd like to move a file from one folder to another in order to maintain its revision history. Is this possible? If so, how do you do it?</p> <p>(My current strategy has been to copy the file into the new folder and check ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,009
svn
# How do you move a file? I'm using TortoiseSVN against the SourceForge SVN repository. I'd like to move a file from one folder to another in order to maintain its revision history. Is this possible? If so, how do you do it? (My current strategy has been to copy the file into the new folder and check it in and then d...
Subversion has native support for moving files. ``` svn move SOURCE DESTINATION ``` See the online help (svn help move) for more information.
497670
What's a simple way to undelete a file in subversion?
79
2009-01-30 23:23:58
<p>These instructions are a little intimidating and confusing: <a href="http://svnbook.red-bean.com/en/1.0/ch04s04.html#svn-ch-4-sect-4.3" rel="noreferrer">http://svnbook.red-bean.com/en/1.0/ch04s04.html#svn-ch-4-sect-4.3</a> . And also they don't seem to mention that it's much simpler if you haven't yet checked in aft...
97,610
4,234
2018-03-12 00:52:53
497,671
95
2009-01-30 23:24:06
4,234
2010-06-02 21:27:56
https://stackoverflow.com/q/497670
https://stackoverflow.com/a/497671
<p>If you just did</p> <pre><code>svn rm foo.txt </code></pre> <p>then you can undo that with simply</p> <pre><code>svn revert foo.txt </code></pre> <p>If you already checked in after doing the "<code>svn rm</code>" then you can look at the log (<code>svn log</code>), find the last revision where the file existed, ...
<p>If you just did</p> <pre><code>svn rm foo.txt </code></pre> <p>then you can undo that with simply</p> <pre><code>svn revert foo.txt </code></pre> <p>If you already checked in after doing the "<code>svn rm</code>" then you can look at the log (<code>svn log</code>), find the last revision where the file existed, ...
63, 456
svn, version-control
<h1>What's a simple way to undelete a file in subversion?</h1> <p>These instructions are a little intimidating and confusing: <a href="http://svnbook.red-bean.com/en/1.0/ch04s04.html#svn-ch-4-sect-4.3" rel="noreferrer">http://svnbook.red-bean.com/en/1.0/ch04s04.html#svn-ch-4-sect-4.3</a> . And also they don't seem to m...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,010
svn
# What's a simple way to undelete a file in subversion? These instructions are a little intimidating and confusing: <http://svnbook.red-bean.com/en/1.0/ch04s04.html#svn-ch-4-sect-4.3> . And also they don't seem to mention that it's much simpler if you haven't yet checked in after doing the "`svn rm`" [1]. So I though...
If you just did ``` svn rm foo.txt ``` then you can undo that with simply ``` svn revert foo.txt ``` If you already checked in after doing the "`svn rm`" then you can look at the log (`svn log`), find the last revision where the file existed, and grab it from that version. One way to do that is to merge in the old...
2324999
Revert a svn folder to a previous revision
50
2010-02-24 09:50:31
<p>To revert a particular folder in SVN to its previous state I currently use the following:</p> <pre><code>svn rm folder svn commit -m 'removed folder to revert to previous version' svn co http://pathto/repo/folder@268 cd folder rm -rf .svn //recursively if many folders svn add folder svn commit -am 'reverted to the ...
67,162
55,562
2024-07-16 22:42:36
2,325,081
95
2010-02-24 10:03:37
260,897
2024-07-16 22:42:36
https://stackoverflow.com/q/2324999
https://stackoverflow.com/a/2325081
<p>Try <code>svn merge</code>.</p> <p>Assuming you want to revert from current HEAD (last committed) version to revision <code>268</code>:</p> <pre><code>cd folder svn up svn merge -r HEAD:268 . </code></pre> <p>Then resolve any conflicts manually (there should be nothing if there is no local change) and:</p> <pre><cod...
<p>Try <code>svn merge</code>.</p> <p>Assuming you want to revert from current HEAD (last committed) version to revision <code>268</code>:</p> <pre><code>cd folder svn up svn merge -r HEAD:268 . </code></pre> <p>Then resolve any conflicts manually (there should be nothing if there is no local change) and:</p> <pre><cod...
63, 456
svn, version-control
<h1>Revert a svn folder to a previous revision</h1> <p>To revert a particular folder in SVN to its previous state I currently use the following:</p> <pre><code>svn rm folder svn commit -m 'removed folder to revert to previous version' svn co http://pathto/repo/folder@268 cd folder rm -rf .svn //recursively if many fol...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,011
svn
# Revert a svn folder to a previous revision To revert a particular folder in SVN to its previous state I currently use the following: ``` svn rm folder svn commit -m 'removed folder to revert to previous version' svn co http://pathto/repo/folder@268 cd folder rm -rf .svn //recursively if many folders svn add folder ...
Try `svn merge`. Assuming you want to revert from current HEAD (last committed) version to revision `268`: ``` cd folder svn up svn merge -r HEAD:268 . ``` Then resolve any conflicts manually (there should be nothing if there is no local change) and: ``` svn commit -m "reverted to revision 268" ``` To revert singl...
2694900
Is there a concept of global ignores in svn?
79
2010-04-22 22:12:23
<p>Is there a way to setup a global list of Ignores for a SVN Repository or for the SVN Client on the PC?</p> <p>The only reason I'm using tools like Tortoise/Ankh/VisualSVN is because I want to only check in the files I need without all the bin/obj/Resharper stuff.</p> <p>I'm spoiled by <code>.gitignore</code> and <...
55,767
91
2020-01-08 14:55:54
2,694,934
94
2010-04-22 22:19:06
893
2020-01-08 14:55:54
https://stackoverflow.com/q/2694900
https://stackoverflow.com/a/2694934
<p>On an install of Subversion, there is a file in a path such as one of the following:</p> <ul> <li>Windows Vista/7/8/8.1/10: <code>C:\Users\&lt;username&gt;\AppData\Roaming\Subversion\config</code></li> <li>Windows XP: <code>c:\Documents and Settings\&lt;username&gt;\.subversion\config</code></li> <li>Unix (Linux, e...
<p>On an install of Subversion, there is a file in a path such as one of the following:</p> <ul> <li>Windows Vista/7/8/8.1/10: <code>C:\Users\&lt;username&gt;\AppData\Roaming\Subversion\config</code></li> <li>Windows XP: <code>c:\Documents and Settings\&lt;username&gt;\.subversion\config</code></li> <li>Unix (Linux, e...
63, 19160
svn, svnignore
<h1>Is there a concept of global ignores in svn?</h1> <p>Is there a way to setup a global list of Ignores for a SVN Repository or for the SVN Client on the PC?</p> <p>The only reason I'm using tools like Tortoise/Ankh/VisualSVN is because I want to only check in the files I need without all the bin/obj/Resharper stuff...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,012
svn
# Is there a concept of global ignores in svn? Is there a way to setup a global list of Ignores for a SVN Repository or for the SVN Client on the PC? The only reason I'm using tools like Tortoise/Ankh/VisualSVN is because I want to only check in the files I need without all the bin/obj/Resharper stuff. I'm spoiled b...
On an install of Subversion, there is a file in a path such as one of the following: - Windows Vista/7/8/8.1/10: `C:\Users\<username>\AppData\Roaming\Subversion\config` - Windows XP: `c:\Documents and Settings\<username>\.subversion\config` - Unix (Linux, etc), macOS: `$HOME/.subversion/config` that contains a global...
222827
How do you organize your version control repository?
108
2008-10-21 18:01:09
<p>First, I know about this: <a href="https://stackoverflow.com/questions/51217/how-would-you-organize-a-subversion-repository-for-in-house-software-projects">How would you organize a Subversion repository for in house software projects?</a> Next, the actual question: My team is restructuring our repository and I'm loo...
32,235
13,163
2017-10-09 23:51:47
304,036
93
2008-11-20 01:02:37
26,682
2008-11-20 20:58:38
https://stackoverflow.com/q/222827
https://stackoverflow.com/a/304036
<p>If you follow my recommendations below (I have for years), you will be able to:</p> <p>-- put each project anywhere in source control, as long as you preserve the structure from the project root directory on down</p> <p>-- build each project anywhere on any machine, with minimum risk and minimum preparation</p> <...
<p>If you follow my recommendations below (I have for years), you will be able to:</p> <p>-- put each project anywhere in source control, as long as you preserve the structure from the project root directory on down</p> <p>-- build each project anywhere on any machine, with minimum risk and minimum preparation</p> <...
63, 456, 4484, 7330
projects-and-solutions, repository, svn, version-control
<h1>How do you organize your version control repository?</h1> <p>First, I know about this: <a href="https://stackoverflow.com/questions/51217/how-would-you-organize-a-subversion-repository-for-in-house-software-projects">How would you organize a Subversion repository for in house software projects?</a> Next, the actual...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,015
svn
# How do you organize your version control repository? First, I know about this: [How would you organize a Subversion repository for in house software projects?](https://stackoverflow.com/questions/51217/how-would-you-organize-a-subversion-repository-for-in-house-software-projects) Next, the actual question: My team i...
If you follow my recommendations below (I have for years), you will be able to: -- put each project anywhere in source control, as long as you preserve the structure from the project root directory on down -- build each project anywhere on any machine, with minimum risk and minimum preparation -- build each project ...
3709197
Is it possible to always (force) overwrite local changes when updating from SVN? Ignore conflicts?
71
2010-09-14 13:14:45
<p>I know I should be working on a branch of my own but a couple of us are on the same branch of a project. One of the Dev's made a commit and I just wanted to update my local copy with the latest from SVN. Running 'svn update' I get this output:</p> <pre><code>Restored 'index.html' U somescript.php Conflict disco...
99,387
93,966
2019-01-07 08:32:03
3,718,431
93
2010-09-15 14:09:39
79,536
2016-10-18 07:40:42
https://stackoverflow.com/q/3709197
https://stackoverflow.com/a/3718431
<p>If you really want a copy of HEAD (the latest revision in repos), then you should</p> <pre><code>svn revert -R &lt;path&gt; // discard all your changes inside path (recursive) svn update // get latest revision of all files (recursive) </code></pre> <p>That's it.</p> <p>Beware that you will lose ALL your...
<p>If you really want a copy of HEAD (the latest revision in repos), then you should</p> <pre><code>svn revert -R &lt;path&gt; // discard all your changes inside path (recursive) svn update // get latest revision of all files (recursive) </code></pre> <p>That's it.</p> <p>Beware that you will lose ALL your...
63, 1231, 3146
command-line, conflict, svn
<h1>Is it possible to always (force) overwrite local changes when updating from SVN? Ignore conflicts?</h1> <p>I know I should be working on a branch of my own but a couple of us are on the same branch of a project. One of the Dev's made a commit and I just wanted to update my local copy with the latest from SVN. Runn...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,016
svn
# Is it possible to always (force) overwrite local changes when updating from SVN? Ignore conflicts? I know I should be working on a branch of my own but a couple of us are on the same branch of a project. One of the Dev's made a commit and I just wanted to update my local copy with the latest from SVN. Running 'svn u...
If you really want a copy of HEAD (the latest revision in repos), then you should ``` svn revert -R <path> // discard all your changes inside path (recursive) svn update // get latest revision of all files (recursive) ``` That's it. Beware that you will lose ALL your changes since your last 'commit'. **ED...
9104662
Get all branch names in SVN
64
2012-02-01 22:59:25
<p>How do I get the list of all SVN branches which are more than x years old?</p> <p>I use SVN on <a href="http://en.wikipedia.org/wiki/CentOS">CentOS</a>, and I have sventon for viewing all the repository.</p>
96,035
1,164,061
2016-09-29 13:05:52
9,105,772
91
2012-02-02 01:08:31
960,558
2016-01-03 19:32:37
https://stackoverflow.com/q/9104662
https://stackoverflow.com/a/9105772
<ul> <li><code>svn help ls</code></li> </ul> <p>If you'll use the URL of the repository branches root with verbose output, you'll get something like this:</p> <pre><code>svn ls http://mayorat.ursinecorner.ru:8088/svn/Hello/branches/ --verbose 28 lazybadg фев 22 2011 ./ 28 lazybadg ...
<ul> <li><code>svn help ls</code></li> </ul> <p>If you'll use the URL of the repository branches root with verbose output, you'll get something like this:</p> <pre><code>svn ls http://mayorat.ursinecorner.ru:8088/svn/Hello/branches/ --verbose 28 lazybadg фев 22 2011 ./ 28 lazybadg ...
63
svn
<h1>Get all branch names in SVN</h1> <p>How do I get the list of all SVN branches which are more than x years old?</p> <p>I use SVN on <a href="http://en.wikipedia.org/wiki/CentOS">CentOS</a>, and I have sventon for viewing all the repository.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,017
svn
# Get all branch names in SVN How do I get the list of all SVN branches which are more than x years old? I use SVN on [CentOS](http://en.wikipedia.org/wiki/CentOS), and I have sventon for viewing all the repository.
- `svn help ls` If you'll use the URL of the repository branches root with verbose output, you'll get something like this: ``` svn ls http://mayorat.ursinecorner.ru:8088/svn/Hello/branches/ --verbose 28 lazybadg фев 22 2011 ./ 28 lazybadg фев 22 2011 Leichtbau-Deutsch/ 26 la...
1732813
Best practices for Subversion and Visual Studio projects
62
2009-11-14 00:47:35
<p>I've recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that's built from a cobbling-together of various programs and scripts written in C and Perl. The projects I'm now working on have reached critical mass for...
44,039
32,232
2014-11-06 04:25:59
1,732,938
91
2009-11-14 01:39:21
4,593
2014-11-06 04:25:59
https://stackoverflow.com/q/1732813
https://stackoverflow.com/a/1732938
<p><a href="http://msdn.microsoft.com/en-us/library/ms171339.aspx" rel="noreferrer">According to MSDN</a>:</p> <blockquote> <p>You can add the following files to Visual Studio source control:</p> <ul> <li>Solution files (<code>*.sln</code>).</li> <li>Project files, for example, <code>*.csproj</code>, <code>...
<p><a href="http://msdn.microsoft.com/en-us/library/ms171339.aspx" rel="noreferrer">According to MSDN</a>:</p> <blockquote> <p>You can add the following files to Visual Studio source control:</p> <ul> <li>Solution files (<code>*.sln</code>).</li> <li>Project files, for example, <code>*.csproj</code>, <code>...
9, 63, 14456, 19160
c#, svn, svnignore, visual-studio-2010
<h1>Best practices for Subversion and Visual Studio projects</h1> <p>I've recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that's built from a cobbling-together of various programs and scripts written in C and Per...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,018
svn
# Best practices for Subversion and Visual Studio projects I've recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that's built from a cobbling-together of various programs and scripts written in C and Perl. The pr...
[According to MSDN](http://msdn.microsoft.com/en-us/library/ms171339.aspx): > You can add the following files to Visual Studio source control: > > - Solution files (`*.sln`). > - Project files, for example, `*.csproj`, `*.vbproj` files. > - Application configuration files, based on XML, used to control run-time behavi...
17846551
svn: how to set the executable bit on a file?
39
2013-07-24 23:28:22
<p>How do I set the executable bit on a file in an svn repository?</p> <p>I've tried:</p> <pre class="lang-sh prettyprint-override"><code>chmod +x sync.py svn commit sync.py -m "Make sync.py executable" </code></pre> <p>But the change was not propagated.</p> <p>How do I set the executable bit in the svn repository?...
32,682
51,197
2013-07-25 01:52:15
17,846,552
91
2013-07-24 23:28:22
51,197
2013-07-24 23:28:22
https://stackoverflow.com/q/17846551
https://stackoverflow.com/a/17846552
<p>svn uses <code>propset</code> to change file attributes:</p> <pre><code>svn propset svn:executable ON sync.py </code></pre>
<p>svn uses <code>propset</code> to change file attributes:</p> <pre><code>svn propset svn:executable ON sync.py </code></pre>
63, 1135, 12380
chmod, executable, svn
<h1>svn: how to set the executable bit on a file?</h1> <p>How do I set the executable bit on a file in an svn repository?</p> <p>I've tried:</p> <pre class="lang-sh prettyprint-override"><code>chmod +x sync.py svn commit sync.py -m "Make sync.py executable" </code></pre> <p>But the change was not propagated.</p> <p...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,019
svn
# svn: how to set the executable bit on a file? How do I set the executable bit on a file in an svn repository? I've tried: ``` chmod +x sync.py svn commit sync.py -m "Make sync.py executable" ``` But the change was not propagated. How do I set the executable bit in the svn repository?
svn uses `propset` to change file attributes: ``` svn propset svn:executable ON sync.py ```
3863699
PHP exec() not returning error message in output
50
2010-10-05 12:43:03
<p>I am trying to get certain output for svn command in XML format. Output is ok when I type valid parameters. However, when I type in wrong password, output does not show error message. This is the PHP code:</p> <pre><code>exec('/usr/bin/svn --username something --password something --non-interactive log -r HEAD --xm...
38,940
466,754
2021-07-04 12:54:31
3,863,805
90
2010-10-05 12:57:13
223,590
2021-07-04 12:54:31
https://stackoverflow.com/q/3863699
https://stackoverflow.com/a/3863805
<p>You need to capture the <code>stderr</code> too.</p> <p>Redirecting <code>stderr</code> to <code>stdout</code> should do the trick. Append <code>2&gt;&amp;1</code> to the end of your command.</p> <p>e.g.</p> <pre><code>exec(&quot;/usr/bin/svn --username something --password something --non-interactive log -r HEAD --...
<p>You need to capture the <code>stderr</code> too.</p> <p>Redirecting <code>stderr</code> to <code>stdout</code> should do the trick. Append <code>2&gt;&amp;1</code> to the end of your command.</p> <p>e.g.</p> <pre><code>exec(&quot;/usr/bin/svn --username something --password something --non-interactive log -r HEAD --...
5, 19, 63, 7932
exec, php, svn, xml
<h1>PHP exec() not returning error message in output</h1> <p>I am trying to get certain output for svn command in XML format. Output is ok when I type valid parameters. However, when I type in wrong password, output does not show error message. This is the PHP code:</p> <pre><code>exec('/usr/bin/svn --username somethi...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,020
svn
# PHP exec() not returning error message in output I am trying to get certain output for svn command in XML format. Output is ok when I type valid parameters. However, when I type in wrong password, output does not show error message. This is the PHP code: ``` exec('/usr/bin/svn --username something --password someth...
You need to capture the `stderr` too. Redirecting `stderr` to `stdout` should do the trick. Append `2>&1` to the end of your command. e.g. ``` exec("/usr/bin/svn --username something --password something --non-interactive log -r HEAD --xml --verbose http://a51.unfuddle.com/svn/a51_activecollab/ 2>&1", $output); ``` ...
160370
What svn command would list all the files modified on a branch?
93
2008-10-02 00:28:44
<p>In svn, I have a branch which was created, say at revision 22334. Commits were then made on the branch.</p> <p>How do I get a list of all files that were changed on the branch compared to what's on the trunk? I do not want to see files that were changed on the trunk between when the branch was created and "now".</p...
154,001
2,601,671
2021-07-08 14:28:59
160,395
89
2008-10-02 00:37:32
21,482
2012-07-11 13:39:05
https://stackoverflow.com/q/160370
https://stackoverflow.com/a/160395
<p>This will do it I think:</p> <pre><code>svn diff -r 22334:HEAD --summarize &lt;url of the branch&gt; </code></pre>
<p>This will do it I think:</p> <pre><code>svn diff -r 22334:HEAD --summarize &lt;url of the branch&gt; </code></pre>
63
svn
<h1>What svn command would list all the files modified on a branch?</h1> <p>In svn, I have a branch which was created, say at revision 22334. Commits were then made on the branch.</p> <p>How do I get a list of all files that were changed on the branch compared to what's on the trunk? I do not want to see files that we...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,022
svn
# What svn command would list all the files modified on a branch? In svn, I have a branch which was created, say at revision 22334. Commits were then made on the branch. How do I get a list of all files that were changed on the branch compared to what's on the trunk? I do not want to see files that were changed on th...
This will do it I think: ``` svn diff -r 22334:HEAD --summarize <url of the branch> ```
399669
Merge trunk to branch in Subversion
81
2008-12-30 06:43:01
<p>I'm using Subversion 1.4.6, and I cannot upgrade to version 1.5 right now.</p> <p>The situation:</p> <ol> <li><p>The trunk has a lot of structural changes (i.e. moving files around, mostly).</p></li> <li><p>I have a branch that was recently merged from the trunk, but before the major changes.</p></li> </ol> <p>Wh...
167,319
11,515
2023-09-27 14:23:09
399,701
89
2008-12-30 07:15:15
48,003
2008-12-30 07:15:15
https://stackoverflow.com/q/399669
https://stackoverflow.com/a/399701
<p>Is there something that prevents you from merging all revisions on trunk since the last merge?</p> <pre><code>svn merge -rLastRevisionMergedFromTrunkToBranch:HEAD url/of/trunk path/to/branch/wc </code></pre> <p>should work just fine. At least if you want to merge all changes on trunk to your branch.</p>
<p>Is there something that prevents you from merging all revisions on trunk since the last merge?</p> <pre><code>svn merge -rLastRevisionMergedFromTrunkToBranch:HEAD url/of/trunk path/to/branch/wc </code></pre> <p>should work just fine. At least if you want to merge all changes on trunk to your branch.</p>
63, 717
merge, svn
<h1>Merge trunk to branch in Subversion</h1> <p>I'm using Subversion 1.4.6, and I cannot upgrade to version 1.5 right now.</p> <p>The situation:</p> <ol> <li><p>The trunk has a lot of structural changes (i.e. moving files around, mostly).</p></li> <li><p>I have a branch that was recently merged from the trunk, but be...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,023
svn
# Merge trunk to branch in Subversion I'm using Subversion 1.4.6, and I cannot upgrade to version 1.5 right now. The situation: 1. The trunk has a lot of structural changes (i.e. moving files around, mostly). 2. I have a branch that was recently merged from the trunk, but before the major changes. What is the best ...
Is there something that prevents you from merging all revisions on trunk since the last merge? ``` svn merge -rLastRevisionMergedFromTrunkToBranch:HEAD url/of/trunk path/to/branch/wc ``` should work just fine. At least if you want to merge all changes on trunk to your branch.
4031845
svn resuming aborted checkout
58
2010-10-27 09:48:06
<p>Situation - have enormous repository, slow and unreliable link (read - vpn that breaks from time to time).</p> <p>We are subject of frequent branching, moving things, so every now and then whole new branch should be taken from the repository (checkout).</p> <p>Is there a way to 'resume' broken checkouts? Is it sa...
28,622
166,251
2022-07-25 18:07:12
13,789,596
88
2012-12-09 17:07:07
1,889,795
2012-12-09 17:07:07
https://stackoverflow.com/q/4031845
https://stackoverflow.com/a/13789596
<p>Just ran into the same problem. I had to interrupt a checkout because it was taking an absurdly long time. When I went to "resume" the checkout, it wasn't clear whether I should re-initiate the checkout or simply do an <strong><code>svn update</code></strong>.</p> <p>After attempting to to do the <code>svn update...
<p>Just ran into the same problem. I had to interrupt a checkout because it was taking an absurdly long time. When I went to "resume" the checkout, it wasn't clear whether I should re-initiate the checkout or simply do an <strong><code>svn update</code></strong>.</p> <p>After attempting to to do the <code>svn update...
63
svn
<h1>svn resuming aborted checkout</h1> <p>Situation - have enormous repository, slow and unreliable link (read - vpn that breaks from time to time).</p> <p>We are subject of frequent branching, moving things, so every now and then whole new branch should be taken from the repository (checkout).</p> <p>Is there a way ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,026
svn
# svn resuming aborted checkout Situation - have enormous repository, slow and unreliable link (read - vpn that breaks from time to time). We are subject of frequent branching, moving things, so every now and then whole new branch should be taken from the repository (checkout). Is there a way to 'resume' broken chec...
Just ran into the same problem. I had to interrupt a checkout because it was taking an absurdly long time. When I went to "resume" the checkout, it wasn't clear whether I should re-initiate the checkout or simply do an **`svn update`**. After attempting to to do the `svn update` to resume the checkout, I got a wonderf...
1632165
SVN: How to get the first revision of a file?
43
2009-10-27 16:46:30
<p>When working with a subdirectory in a repository, how to find the revision when that specific directory has been added to the repository? By using "svn info http://.." I can find out when it was modified for the last time ("Last Changed Rev"), but I also need to find out the revision number of the commit when that d...
17,345
197,487
2017-02-10 21:32:10
1,632,214
87
2009-10-27 16:53:26
5,445
2017-02-10 21:32:10
https://stackoverflow.com/q/1632165
https://stackoverflow.com/a/1632214
<p>You could use <a href="http://svnbook.red-bean.com/en/1.8/svn.ref.svn.c.log.html" rel="noreferrer">svn log</a>, with a reverse revision range:</p> <pre><code>svn log -r 1:HEAD --limit 1 &lt;REPO_URL&gt; </code></pre>
<p>You could use <a href="http://svnbook.red-bean.com/en/1.8/svn.ref.svn.c.log.html" rel="noreferrer">svn log</a>, with a reverse revision range:</p> <pre><code>svn log -r 1:HEAD --limit 1 &lt;REPO_URL&gt; </code></pre>
63, 1555
revision, svn
<h1>SVN: How to get the first revision of a file?</h1> <p>When working with a subdirectory in a repository, how to find the revision when that specific directory has been added to the repository? By using "svn info http://.." I can find out when it was modified for the last time ("Last Changed Rev"), but I also need to...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,028
svn
# SVN: How to get the first revision of a file? When working with a subdirectory in a repository, how to find the revision when that specific directory has been added to the repository? By using "svn info http://.." I can find out when it was modified for the last time ("Last Changed Rev"), but I also need to find out...
You could use [svn log](http://svnbook.red-bean.com/en/1.8/svn.ref.svn.c.log.html), with a reverse revision range: ``` svn log -r 1:HEAD --limit 1 <REPO_URL> ```
2166640
SVN - Change working copy to point at new svn path
93
2010-01-30 02:49:50
<p>I've got a SVN Repository that has moved to a new address/path. However, I've got a working copy with uncommitted source code still pointing to the old (now invalid) repository path. How do you change a working copy to point at a new repository?</p>
104,106
128,875
2020-02-02 16:25:51
16,948,970
85
2013-06-05 20:12:49
2,394,287
2013-06-05 20:12:49
https://stackoverflow.com/q/2166640
https://stackoverflow.com/a/16948970
<p><a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.switch.html"><code>svn switch --relocate</code></a> is deprecated as of version 1.7 of subversion. Use the <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.relocate.html"><code>svn relocate</code></a> command instead.</p> <p>It takes either <code>FR...
<p><a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.switch.html"><code>svn switch --relocate</code></a> is deprecated as of version 1.7 of subversion. Use the <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.relocate.html"><code>svn relocate</code></a> command instead.</p> <p>It takes either <code>FR...
63, 6268, 19697
path, svn, working-copy
<h1>SVN - Change working copy to point at new svn path</h1> <p>I've got a SVN Repository that has moved to a new address/path. However, I've got a working copy with uncommitted source code still pointing to the old (now invalid) repository path. How do you change a working copy to point at a new repository?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,029
svn
# SVN - Change working copy to point at new svn path I've got a SVN Repository that has moved to a new address/path. However, I've got a working copy with uncommitted source code still pointing to the old (now invalid) repository path. How do you change a working copy to point at a new repository?
[`svn switch --relocate`](http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.switch.html) is deprecated as of version 1.7 of subversion. Use the [`svn relocate`](http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.relocate.html) command instead. It takes either `FROM-PREFIX TO-PREFIX [PATH...]` or `TO-URL` as arguments. S...
60869347
Mac command line tools 11.4 no longer has svn
73
2020-03-26 14:19:10
<p>I just updated XCode and the command line tools to 11.4. Now when I run svn it says "svn: error: The subversion command line tools are no longer provided by Xcode". The release notes say "Command line tool support for Subversion — including svn, git-svn, and related commands is no longer provided by Xcode. If you ...
59,277
13,129,361
2022-09-13 19:05:31
60,903,732
85
2020-03-28 16:42:50
4,883,867
2020-11-16 16:22:09
https://stackoverflow.com/q/60869347
https://stackoverflow.com/a/60903732
<h1>macOS Catalina</h1> <p>I had the same issue after upgrading to Catalina 10.15. It's clearly mentioned in the Apple website that SVN is deprecated in Xcode 11:</p> <p>You can find it here: <a href="https://developer.apple.com/documentation/macos_release_notes/macos_catalina_10_15_release_notes" rel="noreferrer">http...
<h1>macOS Catalina</h1> <p>I had the same issue after upgrading to Catalina 10.15. It's clearly mentioned in the Apple website that SVN is deprecated in Xcode 11:</p> <p>You can find it here: <a href="https://developer.apple.com/documentation/macos_release_notes/macos_catalina_10_15_release_notes" rel="noreferrer">http...
63, 369, 142781
macos, svn, xcode11.4
<h1>Mac command line tools 11.4 no longer has svn</h1> <p>I just updated XCode and the command line tools to 11.4. Now when I run svn it says "svn: error: The subversion command line tools are no longer provided by Xcode". The release notes say "Command line tool support for Subversion — including svn, git-svn, and r...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,030
svn
# Mac command line tools 11.4 no longer has svn I just updated XCode and the command line tools to 11.4. Now when I run svn it says "svn: error: The subversion command line tools are no longer provided by Xcode". The release notes say "Command line tool support for Subversion — including svn, git-svn, and related comm...
# macOS Catalina I had the same issue after upgrading to Catalina 10.15. It's clearly mentioned in the Apple website that SVN is deprecated in Xcode 11: You can find it here: <https://developer.apple.com/documentation/macos_release_notes/macos_catalina_10_15_release_notes> > Command line tool support for Subversion ...
1568484
Need to restore a deleted branch in Subversion
72
2009-10-14 19:35:06
<p>I have two working copies of a Subversion repository, one of the trunk, and one of a branch I created.</p> <p>I accidentally deleted the branch in a repository browser. How do I restore the branch? Is there a way to undo the most recent commit for the whole repository?</p>
40,959
137,524
2018-01-24 09:45:50
1,568,502
85
2009-10-14 19:39:37
102,371
2016-12-03 09:23:13
https://stackoverflow.com/q/1568484
https://stackoverflow.com/a/1568502
<p>Use:</p> <pre><code>svn cp [path to deleted branch]@[revision before delete] [new path] </code></pre> <p>For example:</p> <pre><code>svn cp svn://myrepo.com/svn/branches/2.0.5@1993 \ svn://myrepo.com/svn/branches/2.0.5_restored </code></pre> <p>Where 1993 is the revision before the delete...</p> <p><a hr...
<p>Use:</p> <pre><code>svn cp [path to deleted branch]@[revision before delete] [new path] </code></pre> <p>For example:</p> <pre><code>svn cp svn://myrepo.com/svn/branches/2.0.5@1993 \ svn://myrepo.com/svn/branches/2.0.5_restored </code></pre> <p>Where 1993 is the revision before the delete...</p> <p><a hr...
63, 456, 1879
branch, svn, version-control
<h1>Need to restore a deleted branch in Subversion</h1> <p>I have two working copies of a Subversion repository, one of the trunk, and one of a branch I created.</p> <p>I accidentally deleted the branch in a repository browser. How do I restore the branch? Is there a way to undo the most recent commit for the whole re...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,031
svn
# Need to restore a deleted branch in Subversion I have two working copies of a Subversion repository, one of the trunk, and one of a branch I created. I accidentally deleted the branch in a repository browser. How do I restore the branch? Is there a way to undo the most recent commit for the whole repository?
Use: ``` svn cp [path to deleted branch]@[revision before delete] [new path] ``` For example: ``` svn cp svn://myrepo.com/svn/branches/2.0.5@1993 \ svn://myrepo.com/svn/branches/2.0.5_restored ``` Where 1993 is the revision before the delete... [Here](http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.cop...
1227870
How can I access a subversion repository using a local path in Windows?
46
2009-08-04 14:33:22
<p>I have CollabNet Subversion server and client installed, running off of Apache that came with it. From the command line on the server, I can easily access the repository using a path like</p> <pre><code>http://server:port/svn/repository </code></pre> <p>but I can't access it using its actual location on the disk, ...
47,088
150,401
2017-11-27 10:16:25
1,227,881
85
2009-08-04 14:35:48
46,642
2009-08-04 14:35:48
https://stackoverflow.com/q/1227870
https://stackoverflow.com/a/1227881
<p>Common mistake. You have to use the file:// pseudo-protocol like this:</p> <pre><code>file:///C:/repositories/repository </code></pre> <p>SVN repository paths have to be <a href="http://en.wikipedia.org/wiki/Uniform_Resource_Identifier" rel="noreferrer">URI</a>s.</p>
<p>Common mistake. You have to use the file:// pseudo-protocol like this:</p> <pre><code>file:///C:/repositories/repository </code></pre> <p>SVN repository paths have to be <a href="http://en.wikipedia.org/wiki/Uniform_Resource_Identifier" rel="noreferrer">URI</a>s.</p>
63, 64, 1231
command-line, svn, windows
<h1>How can I access a subversion repository using a local path in Windows?</h1> <p>I have CollabNet Subversion server and client installed, running off of Apache that came with it. From the command line on the server, I can easily access the repository using a path like</p> <pre><code>http://server:port/svn/repositor...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,033
svn
# How can I access a subversion repository using a local path in Windows? I have CollabNet Subversion server and client installed, running off of Apache that came with it. From the command line on the server, I can easily access the repository using a path like ``` http://server:port/svn/repository ``` but I can't a...
Common mistake. You have to use the file:// pseudo-protocol like this: ``` file:///C:/repositories/repository ``` SVN repository paths have to be [URI](http://en.wikipedia.org/wiki/Uniform_Resource_Identifier)s.
73797
How do I tell Subversion to treat a file as a binary file?
68
2008-09-16 15:48:12
<p>How do I tell Subversion (svn) to treat a file as a binary file?</p>
82,339
5,222
2012-11-02 02:13:24
74,017
84
2008-09-16 16:07:42
12,657
2012-05-03 13:48:40
https://stackoverflow.com/q/73797
https://stackoverflow.com/a/74017
<p>It is possible to manually identify a file located within a repository as <em>binary</em> by using:</p> <pre><code>svn propset svn:mime-type application/octet-stream &lt;filename&gt; </code></pre> <p>This is generally not necessary, as Subversion will attempt to determine whether a file is binary when the file is ...
<p>It is possible to manually identify a file located within a repository as <em>binary</em> by using:</p> <pre><code>svn propset svn:mime-type application/octet-stream &lt;filename&gt; </code></pre> <p>This is generally not necessary, as Subversion will attempt to determine whether a file is binary when the file is ...
63
svn
<h1>How do I tell Subversion to treat a file as a binary file?</h1> <p>How do I tell Subversion (svn) to treat a file as a binary file?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,034
svn
# How do I tell Subversion to treat a file as a binary file? How do I tell Subversion (svn) to treat a file as a binary file?
It is possible to manually identify a file located within a repository as *binary* by using: ``` svn propset svn:mime-type application/octet-stream <filename> ``` This is generally not necessary, as Subversion will attempt to determine whether a file is binary when the file is first added. If Subversion is incorrectl...
17298668
SVN ignore like .gitignore
62
2013-06-25 13:28:13
<p>In <a href="http://en.wikipedia.org/wiki/Git_%28software%29" rel="noreferrer">Git</a>, if I have a project with lots of projects inside, let's suppose, a lot of Java projects, I can just create a <code>.gitignore</code> file in the root and it will "be respected" in the entire repository.</p> <p>How can I do this f...
85,492
405,013
2021-07-28 14:03:16
17,302,297
84
2013-06-25 16:10:23
2,301,434
2017-11-18 18:09:10
https://stackoverflow.com/q/17298668
https://stackoverflow.com/a/17302297
<p>You can use <code>svn:ignore</code>. You generally need to tell SVN to apply special properties to the files:</p> <pre><code>svn propset svn:ignore "*.jpg" . </code></pre> <p>(Note the dot at the end of the command.)</p> <p>For multiple files you can add a newline character.</p> <p>Type exactly like here with li...
<p>You can use <code>svn:ignore</code>. You generally need to tell SVN to apply special properties to the files:</p> <pre><code>svn propset svn:ignore "*.jpg" . </code></pre> <p>(Note the dot at the end of the command.)</p> <p>For multiple files you can add a newline character.</p> <p>Type exactly like here with li...
63, 19160
svn, svnignore
<h1>SVN ignore like .gitignore</h1> <p>In <a href="http://en.wikipedia.org/wiki/Git_%28software%29" rel="noreferrer">Git</a>, if I have a project with lots of projects inside, let's suppose, a lot of Java projects, I can just create a <code>.gitignore</code> file in the root and it will "be respected" in the entire rep...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,035
svn
# SVN ignore like .gitignore In [Git](http://en.wikipedia.org/wiki/Git_%28software%29), if I have a project with lots of projects inside, let's suppose, a lot of Java projects, I can just create a `.gitignore` file in the root and it will "be respected" in the entire repository. How can I do this for an SVN project? ...
You can use `svn:ignore`. You generally need to tell SVN to apply special properties to the files: ``` svn propset svn:ignore "*.jpg" . ``` (Note the dot at the end of the command.) For multiple files you can add a newline character. Type exactly like here with line breaks: ``` svn propset svn:ignore "file1 file2 ...
11650156
svn checkout depth
51
2012-07-25 12:52:12
<p>I have an SVN project with tree like this:</p> <pre><code>/project /dir1 /subdir1 -file1 -file2 ..... -file1 -file2 ..... /dir2 -file1 -file2 ..... /dir3 /subdir1 -file1 -file2 ...
63,663
641,426
2022-02-17 09:23:39
11,658,398
83
2012-07-25 20:51:11
72,178
2012-07-25 20:51:11
https://stackoverflow.com/q/11650156
https://stackoverflow.com/a/11658398
<p>What you need is called <a href="http://svnbook.red-bean.com/en/1.7/svn.advanced.sparsedirs.html">sparse checkout</a>.</p> <p>In your case you can:</p> <pre><code>svn co --depth files file:///project project cd project svn up --set-depth infinity dir1 dir2 dir4 svn up --set-depth empty dir3 svn up --set-depth infi...
<p>What you need is called <a href="http://svnbook.red-bean.com/en/1.7/svn.advanced.sparsedirs.html">sparse checkout</a>.</p> <p>In your case you can:</p> <pre><code>svn co --depth files file:///project project cd project svn up --set-depth infinity dir1 dir2 dir4 svn up --set-depth empty dir3 svn up --set-depth infi...
63, 65722
svn, svn-checkout
<h1>svn checkout depth</h1> <p>I have an SVN project with tree like this:</p> <pre><code>/project /dir1 /subdir1 -file1 -file2 ..... -file1 -file2 ..... /dir2 -file1 -file2 ..... /dir3 /subdir1 -fil...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,038
svn
# svn checkout depth I have an SVN project with tree like this: ``` /project /dir1 /subdir1 -file1 -file2 ..... -file1 -file2 ..... /dir2 -file1 -file2 ..... /dir3 /subdir1 -file1 -file2...
What you need is called [sparse checkout](http://svnbook.red-bean.com/en/1.7/svn.advanced.sparsedirs.html). In your case you can: ``` svn co --depth files file:///project project cd project svn up --set-depth infinity dir1 dir2 dir4 svn up --set-depth empty dir3 svn up --set-depth infinity dir3/subdir1 dir3/subdir3 `...
1667986
How do I only Checkout (pull down) only parts of an SVN tree with TortoiseSVN?
56
2009-11-03 15:21:03
<p>I'm using TortoiseSVN and I want to do a Checkout of an existing repository into a local directory. However, I only want to pull down certain portions of the file tree. Is there a way I can do that?</p> <p>For instance:</p> <pre><code>/trunk /project-A /project-B /project-C </code></pre> <p>Let's sa...
45,961
17,635
2017-11-10 20:35:31
1,668,279
82
2009-11-03 16:03:34
189,919
2009-11-03 16:03:34
https://stackoverflow.com/q/1667986
https://stackoverflow.com/a/1668279
<p>It looks like you were successful but I wanted to include a step-by-step guide in the hopes that it is helpful to others.</p> <ol> <li>Checkout <code>trunk</code> into a working copy with depth = "Only this item"</li> <li>Open working copy</li> <li>Go to repo browser from the working copy</li> <li>Select your desir...
<p>It looks like you were successful but I wanted to include a step-by-step guide in the hopes that it is helpful to others.</p> <ol> <li>Checkout <code>trunk</code> into a working copy with depth = "Only this item"</li> <li>Open working copy</li> <li>Go to repo browser from the working copy</li> <li>Select your desir...
63, 656, 65722
svn, svn-checkout, tortoisesvn
<h1>How do I only Checkout (pull down) only parts of an SVN tree with TortoiseSVN?</h1> <p>I'm using TortoiseSVN and I want to do a Checkout of an existing repository into a local directory. However, I only want to pull down certain portions of the file tree. Is there a way I can do that?</p> <p>For instance:</p> <...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,039
svn
# How do I only Checkout (pull down) only parts of an SVN tree with TortoiseSVN? I'm using TortoiseSVN and I want to do a Checkout of an existing repository into a local directory. However, I only want to pull down certain portions of the file tree. Is there a way I can do that? For instance: ``` /trunk /project...
It looks like you were successful but I wanted to include a step-by-step guide in the hopes that it is helpful to others. 1. Checkout `trunk` into a working copy with depth = "Only this item" 2. Open working copy 3. Go to repo browser from the working copy 4. Select your desired project subfolder(s), right-click and s...
1985203
Why Subversion skips files which contain the @ symbol?
34
2009-12-31 12:16:25
<p>when I try to execute command like this (from a command-line or Perl script - it doesn't matter):</p> <pre><code>svn revert "build\myfile@test.meta" </code></pre> <p>SVN skips this file and outputs:</p> <pre><code>Skipped 'build\myfile' </code></pre> <p>I tried doing:</p> <pre><code>svn revert "build\*.meta" </...
11,274
217,022
2011-10-26 23:42:05
1,985,366
82
2009-12-31 13:20:14
1,605
2009-12-31 13:20:14
https://stackoverflow.com/q/1985203
https://stackoverflow.com/a/1985366
<p>The @ sign in filenames in Subversion actually has a special meaning - a pegged revision number. To quote the <a href="http://svnbook.red-bean.com/nightly/en/svn.advanced.pegrevs.html" rel="noreferrer">Subversion book</a>:</p> <blockquote> <p>The perceptive reader is probably wondering at this point whether the p...
<p>The @ sign in filenames in Subversion actually has a special meaning - a pegged revision number. To quote the <a href="http://svnbook.red-bean.com/nightly/en/svn.advanced.pegrevs.html" rel="noreferrer">Subversion book</a>:</p> <blockquote> <p>The perceptive reader is probably wondering at this point whether the p...
63, 5310, 12309, 12725
file, revert, special-characters, svn
<h1>Why Subversion skips files which contain the @ symbol?</h1> <p>when I try to execute command like this (from a command-line or Perl script - it doesn't matter):</p> <pre><code>svn revert "build\myfile@test.meta" </code></pre> <p>SVN skips this file and outputs:</p> <pre><code>Skipped 'build\myfile' </code></pre>...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,040
svn
# Why Subversion skips files which contain the @ symbol? when I try to execute command like this (from a command-line or Perl script - it doesn't matter): ``` svn revert "build\myfile@test.meta" ``` SVN skips this file and outputs: ``` Skipped 'build\myfile' ``` I tried doing: ``` svn revert "build\*.meta" ``` B...
The @ sign in filenames in Subversion actually has a special meaning - a pegged revision number. To quote the [Subversion book](http://svnbook.red-bean.com/nightly/en/svn.advanced.pegrevs.html): > The perceptive reader is probably wondering at this point whether the peg revision syntax causes problems for working copy...
8558597
What does the “@@…@@” meta line with at signs in svn diff or git diff mean?
76
2011-12-19 08:06:54
<p>When I use <code>svn diff</code> or <code>git diff</code> it shows lines like:</p> <pre><code>@@ -1,5 +1,9 @@ </code></pre> <p>What do they mean?</p>
13,958
566,360
2023-04-12 18:37:25
8,558,896
81
2011-12-19 08:48:40
526,535
2011-12-19 08:59:16
https://stackoverflow.com/q/8558597
https://stackoverflow.com/a/8558896
<p>Those are called (c)hunk headers and contain the range information.</p> <p>They are surrounded by double at signs <code>@@</code>. They are of the format:</p> <pre><code>@@ -l,s +l,s @@ </code></pre> <p>where <code>l</code> is the starting line number and <code>s</code> is the number of lines the change (c)hunk a...
<p>Those are called (c)hunk headers and contain the range information.</p> <p>They are surrounded by double at signs <code>@@</code>. They are of the format:</p> <pre><code>@@ -l,s +l,s @@ </code></pre> <p>where <code>l</code> is the starting line number and <code>s</code> is the number of lines the change (c)hunk a...
63, 119, 606
diff, git, svn
<h1>What does the “@@…@@” meta line with at signs in svn diff or git diff mean?</h1> <p>When I use <code>svn diff</code> or <code>git diff</code> it shows lines like:</p> <pre><code>@@ -1,5 +1,9 @@ </code></pre> <p>What do they mean?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,041
svn
# What does the “@@…@@” meta line with at signs in svn diff or git diff mean? When I use `svn diff` or `git diff` it shows lines like: ``` @@ -1,5 +1,9 @@ ``` What do they mean?
Those are called (c)hunk headers and contain the range information. They are surrounded by double at signs `@@`. They are of the format: ``` @@ -l,s +l,s @@ ``` where `l` is the starting line number and `s` is the number of lines the change (c)hunk applies to for each respective file. The `-` indicates the original ...
939963
How do I migrate an SVN repository to another SVN repository?
64
2009-06-02 14:43:26
<p>Is there a simple way to copy a directory from one repository into another repository with copying all of the history?</p>
92,028
72,583
2018-01-04 17:23:09
939,984
81
2009-06-02 14:48:05
1,341
2016-12-18 21:20:09
https://stackoverflow.com/q/939963
https://stackoverflow.com/a/939984
<p>The simplest way is using:</p> <pre><code>svnadmin dump path/to/repos &gt; repos.out </code></pre> <p>This will create a portable format for your repository (with history) in the file <code>repos.out</code>. You can then use</p> <pre><code>svnadmin load path/to/newrepos &lt; repos.out </code></pre> <p>to load yo...
<p>The simplest way is using:</p> <pre><code>svnadmin dump path/to/repos &gt; repos.out </code></pre> <p>This will create a portable format for your repository (with history) in the file <code>repos.out</code>. You can then use</p> <pre><code>svnadmin load path/to/newrepos &lt; repos.out </code></pre> <p>to load yo...
63, 14980, 15460, 62060
svn, svnadmin, svndump, svndumpfilter
<h1>How do I migrate an SVN repository to another SVN repository?</h1> <p>Is there a simple way to copy a directory from one repository into another repository with copying all of the history?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,042
svn
# How do I migrate an SVN repository to another SVN repository? Is there a simple way to copy a directory from one repository into another repository with copying all of the history?
The simplest way is using: ``` svnadmin dump path/to/repos > repos.out ``` This will create a portable format for your repository (with history) in the file `repos.out`. You can then use ``` svnadmin load path/to/newrepos < repos.out ``` to load your 'dumped' repository to the new or existing one. [Chapter 5. Repo...
1787131
SVN branch compare
61
2009-11-24 00:55:04
<p>How do I compare one branch with another? I want to compare a branch with the latest revision in trunk.</p>
74,510
149,412
2017-05-18 10:10:22
1,787,172
81
2009-11-24 01:04:57
63,991
2009-11-24 01:04:57
https://stackoverflow.com/q/1787131
https://stackoverflow.com/a/1787172
<p>You could start with:</p> <pre><code>svn diff http://REPOS/trunk http://REPOS/branches/B </code></pre> <p>(Where <code>http://REPOS</code> is your repository path including the parents of <code>trunk</code> and <code>branches</code>.)</p> <p>This will print a large quantity of text, including all the textual chan...
<p>You could start with:</p> <pre><code>svn diff http://REPOS/trunk http://REPOS/branches/B </code></pre> <p>(Where <code>http://REPOS</code> is your repository path including the parents of <code>trunk</code> and <code>branches</code>.)</p> <p>This will print a large quantity of text, including all the textual chan...
63, 606, 1879, 53847
branch, branching-and-merging, diff, svn
<h1>SVN branch compare</h1> <p>How do I compare one branch with another? I want to compare a branch with the latest revision in trunk.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,043
svn
# SVN branch compare How do I compare one branch with another? I want to compare a branch with the latest revision in trunk.
You could start with: ``` svn diff http://REPOS/trunk http://REPOS/branches/B ``` (Where `http://REPOS` is your repository path including the parents of `trunk` and `branches`.) This will print a large quantity of text, including all the textual changes but not the binary changes except to say where and when they oc...
5891256
List of files changed since a certain date using SVN
53
2011-05-05 00:07:02
<p>What kind of SVN command can I run that will get me a list of files changed since a certain date?</p> <p>Right now I have it as</p> <pre><code>svn log &lt;url&gt; -r {2010-11-01}:{2011-05-04} &gt; log.txt </code></pre> <p>That almost work, but it only shows the revisions and comments but not the files list.</p>
50,252
166,940
2013-04-02 01:52:59
5,891,285
81
2011-05-05 00:14:24
638,877
2011-05-05 00:14:24
https://stackoverflow.com/q/5891256
https://stackoverflow.com/a/5891285
<p>Add the <code>--verbose</code> (or <code>-v</code>) flag and you'll get a list of all affected paths as well as the log messages. If you want to get rid of the messages, add the <code>--quiet</code> (or <code>-q</code>) flag. So:</p> <pre><code>svn log &lt;url&gt; -qv -r {2010-11-01}:{2011-05-04} &gt; log.txt </c...
<p>Add the <code>--verbose</code> (or <code>-v</code>) flag and you'll get a list of all affected paths as well as the log messages. If you want to get rid of the messages, add the <code>--quiet</code> (or <code>-q</code>) flag. So:</p> <pre><code>svn log &lt;url&gt; -qv -r {2010-11-01}:{2011-05-04} &gt; log.txt </c...
63
svn
<h1>List of files changed since a certain date using SVN</h1> <p>What kind of SVN command can I run that will get me a list of files changed since a certain date?</p> <p>Right now I have it as</p> <pre><code>svn log &lt;url&gt; -r {2010-11-01}:{2011-05-04} &gt; log.txt </code></pre> <p>That almost work, but it only ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,044
svn
# List of files changed since a certain date using SVN What kind of SVN command can I run that will get me a list of files changed since a certain date? Right now I have it as ``` svn log <url> -r {2010-11-01}:{2011-05-04} > log.txt ``` That almost work, but it only shows the revisions and comments but not the file...
Add the `--verbose` (or `-v`) flag and you'll get a list of all affected paths as well as the log messages. If you want to get rid of the messages, add the `--quiet` (or `-q`) flag. So: ``` svn log <url> -qv -r {2010-11-01}:{2011-05-04} > log.txt ```
6258283
Find revision in trunk that a branch was created from
70
2011-06-06 21:34:18
<p>I am trying to merge the latest changes from trunk into a branch of my project, but the problem is I don't know what revision of the trunk I checked out that I eventually created the branch from. I would think SVN logged this somewhere. Does anyone know how I can find the revision number?</p> <p>(In other words, ...
44,112
200,224
2020-09-09 15:56:38
6,258,369
80
2011-06-06 21:41:46
4,596
2020-09-09 15:56:38
https://stackoverflow.com/q/6258283
https://stackoverflow.com/a/6258369
<p>From the command line, the --stop-on-copy flag can be used to help show you where you copied a branch from:</p> <pre><code>svn log --stop-on-copy --verbose --limit 1 -r0:HEAD ^/branches/feature </code></pre> <p>(where <code>feature</code> is the name of your branch)</p> <p>The last line of will say something like th...
<p>From the command line, the --stop-on-copy flag can be used to help show you where you copied a branch from:</p> <pre><code>svn log --stop-on-copy --verbose --limit 1 -r0:HEAD ^/branches/feature </code></pre> <p>(where <code>feature</code> is the name of your branch)</p> <p>The last line of will say something like th...
63, 1555, 1879
branch, revision, svn
<h1>Find revision in trunk that a branch was created from</h1> <p>I am trying to merge the latest changes from trunk into a branch of my project, but the problem is I don't know what revision of the trunk I checked out that I eventually created the branch from. I would think SVN logged this somewhere. Does anyone kno...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,045
svn
# Find revision in trunk that a branch was created from I am trying to merge the latest changes from trunk into a branch of my project, but the problem is I don't know what revision of the trunk I checked out that I eventually created the branch from. I would think SVN logged this somewhere. Does anyone know how I can...
From the command line, the --stop-on-copy flag can be used to help show you where you copied a branch from: ``` svn log --stop-on-copy --verbose --limit 1 -r0:HEAD ^/branches/feature ``` (where `feature` is the name of your branch) The last line of will say something like this: ``` Changed paths: A /branches/fea...
9536476
How to get a list of all recent SVN commit messages?
63
2012-03-02 16:05:31
<p>At times I want to revisit a change I committed to SVN a short while back, but don't recall the specific files involved or the revision number. So I would like to see a list of recent commit messages, ideally including the files included in each commit.</p> <p>I picture going to the root of my working copy and ent...
103,921
1,245,432
2019-04-22 06:13:14
9,536,512
80
2012-03-02 16:08:20
311,635
2012-03-02 16:08:20
https://stackoverflow.com/q/9536476
https://stackoverflow.com/a/9536512
<p>You can use <code>svn log -l5 -v &lt;URL of your repository&gt;</code>. <code>svn info</code> can be used to get the root URL for the repository where your working copy is connected to.</p>
<p>You can use <code>svn log -l5 -v &lt;URL of your repository&gt;</code>. <code>svn info</code> can be used to get the root URL for the repository where your working copy is connected to.</p>
63, 1318
history, svn
<h1>How to get a list of all recent SVN commit messages?</h1> <p>At times I want to revisit a change I committed to SVN a short while back, but don't recall the specific files involved or the revision number. So I would like to see a list of recent commit messages, ideally including the files included in each commit.<...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,046
svn
# How to get a list of all recent SVN commit messages? At times I want to revisit a change I committed to SVN a short while back, but don't recall the specific files involved or the revision number. So I would like to see a list of recent commit messages, ideally including the files included in each commit. I picture...
You can use `svn log -l5 -v <URL of your repository>`. `svn info` can be used to get the root URL for the repository where your working copy is connected to.
18360453
Why does it take sooo long to load my solution in Visual Studio?
58
2013-08-21 14:39:32
<p>We have a really big solution with more than 200 projects and thousands of files. Despite of that the solution used to load pretty quickly in Visual Studio 2010 as well as 2012. However, after copying the whole SVN repository to another location, loading and closing the solution suddenly took extreeeemly long. (I am...
66,669
273,527
2023-09-06 04:23:47
18,360,454
80
2013-08-21 14:39:32
273,527
2013-08-21 14:39:32
https://stackoverflow.com/q/18360453
https://stackoverflow.com/a/18360454
<p>I found a solution myself and I wanted to share it here, hoping that it might save someone quite a few hours of research and staring at the "Preparing solution..." dialog.</p> <p>When inspecting the devenv.exe process with Process Monitor, I found out that it is pretty busy with accessing the <code>.svn</code> dire...
<p>I found a solution myself and I wanted to share it here, hoping that it might save someone quite a few hours of research and staring at the "Preparing solution..." dialog.</p> <p>When inspecting the devenv.exe process with Process Monitor, I found out that it is pretty busy with accessing the <code>.svn</code> dire...
2018, 14456, 33953, 67022, 80825
ankhsvn, productivity-power-tools, visual-studio, visual-studio-2010, visual-studio-2012
<h1>Why does it take sooo long to load my solution in Visual Studio?</h1> <p>We have a really big solution with more than 200 projects and thousands of files. Despite of that the solution used to load pretty quickly in Visual Studio 2010 as well as 2012. However, after copying the whole SVN repository to another locati...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,047
svn
# Why does it take sooo long to load my solution in Visual Studio? We have a really big solution with more than 200 projects and thousands of files. Despite of that the solution used to load pretty quickly in Visual Studio 2010 as well as 2012. However, after copying the whole SVN repository to another location, loadi...
I found a solution myself and I wanted to share it here, hoping that it might save someone quite a few hours of research and staring at the "Preparing solution..." dialog. When inspecting the devenv.exe process with Process Monitor, I found out that it is pretty busy with accessing the `.svn` directory. Here is what I...
21027326
Reducing the size of the .svn folder
83
2014-01-09 17:39:17
<p>In our project we made the decision to reduce the build time by using pre-built binaries. Weekly/monthly we create a stable release and commit it to the repository. The build uses these binaries instead of building everything from source. </p> <p>For build speed this is fantastic. But, unsurprisingly, it really bul...
75,602
765,076
2018-11-15 16:33:48
21,028,557
79
2014-01-09 18:44:12
2,089,194
2014-01-09 18:44:12
https://stackoverflow.com/q/21027326
https://stackoverflow.com/a/21028557
<p>There's no way to get rid of the need to store pristines at this point. It's been talked about but it's actually not an easy problem to solve because there's so many different use case situations that would be presented by removing them optionally.</p> <p><a href="https://subversion.apache.org/docs/release-notes/1...
<p>There's no way to get rid of the need to store pristines at this point. It's been talked about but it's actually not an easy problem to solve because there's so many different use case situations that would be presented by removing them optionally.</p> <p><a href="https://subversion.apache.org/docs/release-notes/1...
63, 314, 65722
size, svn, svn-checkout
<h1>Reducing the size of the .svn folder</h1> <p>In our project we made the decision to reduce the build time by using pre-built binaries. Weekly/monthly we create a stable release and commit it to the repository. The build uses these binaries instead of building everything from source. </p> <p>For build speed this is...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,048
svn
# Reducing the size of the .svn folder In our project we made the decision to reduce the build time by using pre-built binaries. Weekly/monthly we create a stable release and commit it to the repository. The build uses these binaries instead of building everything from source. For build speed this is fantastic. But, ...
There's no way to get rid of the need to store pristines at this point. It's been talked about but it's actually not an easy problem to solve because there's so many different use case situations that would be presented by removing them optionally. [With 1.7 the pristine storage was changed](https://subversion.apache....
46860377
Very slow (tortoise)SVN compare to base since win 10 Fall Creators Update [Local Repo]?
68
2017-10-21 05:30:51
<p>I've noticed an immense delay (just sitting there doing nothing) since upgrading to the latest version of windows while using tortoiseSVN to compare any file to its base version <strong>[TortoiseMerge]</strong>.</p> <p>I was on the fast track and got the fall creators update about a month ago and noticed this too s...
17,575
1,111,296
2018-04-03 07:00:48
46,913,696
79
2017-10-24 14:51:13
1,466,046
2018-03-23 14:34:03
https://stackoverflow.com/q/46860377
https://stackoverflow.com/a/46913696
<p>The <a href="https://developercommunity.visualstudio.com/content/problem/136952/mfc-ribbon-slow-on-first-loadshow.html" rel="nofollow noreferrer">issue is already reported to Microsoft</a> and Microsoft fixed in in <a href="https://learn.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes#15.6" rel="nofoll...
<p>The <a href="https://developercommunity.visualstudio.com/content/problem/136952/mfc-ribbon-slow-on-first-loadshow.html" rel="nofollow noreferrer">issue is already reported to Microsoft</a> and Microsoft fixed in in <a href="https://learn.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes#15.6" rel="nofoll...
63, 656, 107329
svn, tortoisesvn, windows-10
<h1>Very slow (tortoise)SVN compare to base since win 10 Fall Creators Update [Local Repo]?</h1> <p>I've noticed an immense delay (just sitting there doing nothing) since upgrading to the latest version of windows while using tortoiseSVN to compare any file to its base version <strong>[TortoiseMerge]</strong>.</p> <p>...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,049
svn
# Very slow (tortoise)SVN compare to base since win 10 Fall Creators Update [Local Repo]? I've noticed an immense delay (just sitting there doing nothing) since upgrading to the latest version of windows while using tortoiseSVN to compare any file to its base version **[TortoiseMerge]**. I was on the fast track and g...
The [issue is already reported to Microsoft](https://developercommunity.visualstudio.com/content/problem/136952/mfc-ribbon-slow-on-first-loadshow.html) and Microsoft fixed in in [Visual Studio 2017 15.6](https://learn.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes#15.6) when you recompile your code. Here...
17274329
svn 1.7.8 database is locked, cannot release
56
2013-06-24 11:25:56
<p>when I run: </p> <pre><code>svn cleanup </code></pre> <p>I get the error message:</p> <pre><code>svn: E200033: database is locked, executing statement 'RELEASE s0' </code></pre> <p>or any other command to change DB, e.g. <code>commit</code>, <code>update</code> etc.</p> <p>This is on linux server, the directo...
77,062
21,274
2020-09-15 08:55:22
17,346,612
78
2013-06-27 14:58:32
1,387,445
2013-06-27 14:58:32
https://stackoverflow.com/q/17274329
https://stackoverflow.com/a/17346612
<p>This helped me solve the problem (subversion 1.7.10):</p> <pre><code>$ cd /my/repository/.svn $ mv wc.db wc.db.old $ sqlite3 wc.db.old sqlite&gt; .backup main wc.db sqlite&gt; .exit </code></pre> <p>After making sure it works, you can remove wc.db.old.</p> <p>See also: <a href="http://technosophos.com/content/sql...
<p>This helped me solve the problem (subversion 1.7.10):</p> <pre><code>$ cd /my/repository/.svn $ mv wc.db wc.db.old $ sqlite3 wc.db.old sqlite&gt; .backup main wc.db sqlite&gt; .exit </code></pre> <p>After making sure it works, you can remove wc.db.old.</p> <p>See also: <a href="http://technosophos.com/content/sql...
63
svn
<h1>svn 1.7.8 database is locked, cannot release</h1> <p>when I run: </p> <pre><code>svn cleanup </code></pre> <p>I get the error message:</p> <pre><code>svn: E200033: database is locked, executing statement 'RELEASE s0' </code></pre> <p>or any other command to change DB, e.g. <code>commit</code>, <code>update</c...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,050
svn
# svn 1.7.8 database is locked, cannot release when I run: ``` svn cleanup ``` I get the error message: ``` svn: E200033: database is locked, executing statement 'RELEASE s0' ``` or any other command to change DB, e.g. `commit`, `update` etc. This is on linux server, the directory is nfs. I can checkout anothe...
This helped me solve the problem (subversion 1.7.10): ``` $ cd /my/repository/.svn $ mv wc.db wc.db.old $ sqlite3 wc.db.old sqlite> .backup main wc.db sqlite> .exit ``` After making sure it works, you can remove wc.db.old. See also: <http://technosophos.com/content/sqlite-database-locked-error-and-unlocking-database...
4754406
Modifying subversion file permissions
47
2011-01-21 01:00:58
<p>I saw <a href="https://stackoverflow.com/questions/1371824/svn-permissions-for-a-single-file">this question</a> but it does not help me. I checked in a file without the executable permission and now, every time I branch or checkout, the file is not executable.</p> <p>Some other files are indeed saved as executable....
33,292
441,923
2018-10-12 19:37:31
4,754,856
77
2011-01-21 02:34:07
289,171
2018-10-12 19:37:31
https://stackoverflow.com/q/4754406
https://stackoverflow.com/a/4754856
<p>Use <a href="http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.propset.html" rel="noreferrer">svn propset</a> as follows:</p> <pre><code>svn propset svn:executable ON executable_file </code></pre> <p>Then perform <code>svn commit</code>.</p>
<p>Use <a href="http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.propset.html" rel="noreferrer">svn propset</a> as follows:</p> <pre><code>svn propset svn:executable ON executable_file </code></pre> <p>Then perform <code>svn commit</code>.</p>
63, 456
svn, version-control
<h1>Modifying subversion file permissions</h1> <p>I saw <a href="https://stackoverflow.com/questions/1371824/svn-permissions-for-a-single-file">this question</a> but it does not help me. I checked in a file without the executable permission and now, every time I branch or checkout, the file is not executable.</p> <p>S...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,051
svn
# Modifying subversion file permissions I saw [this question](https://stackoverflow.com/questions/1371824/svn-permissions-for-a-single-file) but it does not help me. I checked in a file without the executable permission and now, every time I branch or checkout, the file is not executable. Some other files are indeed ...
Use [svn propset](http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.propset.html) as follows: ``` svn propset svn:executable ON executable_file ``` Then perform `svn commit`.
4527189
How to undo a commit in SVN?
37
2010-12-24 16:03:22
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://stackoverflow.com/questions/747713/subversion-retract-accidental-checkin">Subversion: Retract Accidental Checkin</a> </p> </blockquote> <p>How do you undo a commit of a file in SVN?</p>
78,760
137,067
2010-12-24 16:06:15
4,527,194
77
2010-12-24 16:03:47
137,067
2010-12-24 16:03:47
https://stackoverflow.com/q/4527189
https://stackoverflow.com/a/4527194
<pre><code>svn merge -r COMMITTED:PREV . </code></pre> <p>or</p> <pre><code>svn merge -c -1708 path/to/file </code></pre>
<pre><code>svn merge -r COMMITTED:PREV . </code></pre> <p>or</p> <pre><code>svn merge -c -1708 path/to/file </code></pre>
63
svn
<h1>How to undo a commit in SVN?</h1> <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://stackoverflow.com/questions/747713/subversion-retract-accidental-checkin">Subversion: Retract Accidental Checkin</a> </p> </blockquote> <p>How do you undo a commit of a file in SVN?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,052
svn
# How to undo a commit in SVN? > **Possible Duplicate:** > [Subversion: Retract Accidental Checkin](https://stackoverflow.com/questions/747713/subversion-retract-accidental-checkin) How do you undo a commit of a file in SVN?
``` svn merge -r COMMITTED:PREV . ``` or ``` svn merge -c -1708 path/to/file ```
3907162
SVN Error: "' 'x' isn't in the same repository as 'y' " during merge
31
2010-10-11 14:33:07
<p>I get the error </p> <pre><code>svn: 'x' isn't in the same repository as 'y' " </code></pre> <p>during merge. What's the problem and how can I fix it ?</p> <p>(I actually know the answer and posting it as soon as I am allowed by the system, so that it's googleable by others. I got my share of trouble finding the ...
21,826
78,374
2020-09-24 06:56:44
3,907,205
77
2010-10-11 14:37:22
78,374
2013-06-27 00:55:08
https://stackoverflow.com/q/3907162
https://stackoverflow.com/a/3907205
<p>The problem lies in the fact the checkout information is different from what you specify in the <code>svn merge</code> command. Typically, it can be either:</p> <ul> <li>the hostname is different when you did the checkout. You did the checkout as from <code>svn.example.com</code> but now you are merging by referrin...
<p>The problem lies in the fact the checkout information is different from what you specify in the <code>svn merge</code> command. Typically, it can be either:</p> <ul> <li>the hostname is different when you did the checkout. You did the checkout as from <code>svn.example.com</code> but now you are merging by referrin...
63
svn
<h1>SVN Error: "' 'x' isn't in the same repository as 'y' " during merge</h1> <p>I get the error </p> <pre><code>svn: 'x' isn't in the same repository as 'y' " </code></pre> <p>during merge. What's the problem and how can I fix it ?</p> <p>(I actually know the answer and posting it as soon as I am allowed by the sys...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,053
svn
# SVN Error: "' 'x' isn't in the same repository as 'y' " during merge I get the error ``` svn: 'x' isn't in the same repository as 'y' " ``` during merge. What's the problem and how can I fix it ? (I actually know the answer and posting it as soon as I am allowed by the system, so that it's googleable by others. I...
The problem lies in the fact the checkout information is different from what you specify in the `svn merge` command. Typically, it can be either: - the hostname is different when you did the checkout. You did the checkout as from `svn.example.com` but now you are merging by referring to an host alias, like `svn-alias....
7671662
SVN change username
96
2011-10-06 08:08:18
<p>I found a lot of examples on how to change the username for specific revisions and so on.</p> <p>But what I need is this: I did a checkout with the authentication credentials of a workmate and need to change it to my credentials for future commits.</p> <p>I cannot just checkout with my credentials due to the many ...
188,737
981,764
2021-06-15 08:52:49
7,671,730
76
2011-10-06 08:15:46
936,832
2012-06-02 08:36:47
https://stackoverflow.com/q/7671662
https://stackoverflow.com/a/7671730
<p>You can change the user with</p> <ul> <li><p>Subversion 1.6 and earlier:</p> <pre><code>svn switch --relocate protocol://currentUser@server/path protocol://newUser@server/path </code></pre></li> <li><p>Subversion 1.7 and later:</p> <pre><code>svn relocate protocol://currentUser@server/path protocol://newUser@serv...
<p>You can change the user with</p> <ul> <li><p>Subversion 1.6 and earlier:</p> <pre><code>svn switch --relocate protocol://currentUser@server/path protocol://newUser@server/path </code></pre></li> <li><p>Subversion 1.7 and later:</p> <pre><code>svn relocate protocol://currentUser@server/path protocol://newUser@serv...
63, 183, 5357
authentication, credentials, svn
<h1>SVN change username</h1> <p>I found a lot of examples on how to change the username for specific revisions and so on.</p> <p>But what I need is this: I did a checkout with the authentication credentials of a workmate and need to change it to my credentials for future commits.</p> <p>I cannot just checkout with my...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,054
svn
# SVN change username I found a lot of examples on how to change the username for specific revisions and so on. But what I need is this: I did a checkout with the authentication credentials of a workmate and need to change it to my credentials for future commits. I cannot just checkout with my credentials due to the...
You can change the user with - Subversion 1.6 and earlier: ``` svn switch --relocate protocol://currentUser@server/path protocol://newUser@server/path ``` - Subversion 1.7 and later: ``` svn relocate protocol://currentUser@server/path protocol://newUser@server/path ``` To find out what `protocol://curre...
1930725
SVN reverse merge?
73
2009-12-18 21:14:40
<p>My SVN repository was perfect at revision 497. I performed several bad commits, so that now it is at revision HEAD. I see that to rollback you should use a command like this:</p> <pre><code>svn merge -r HEAD:497 . </code></pre> <p>while in the working directory (and the working directory is at the HEAD revision). ...
105,900
47,493
2019-12-04 07:15:56
1,930,811
76
2009-12-18 21:30:54
202,085
2009-12-18 21:30:54
https://stackoverflow.com/q/1930725
https://stackoverflow.com/a/1930811
<p>If your repo was in pristine condition at revision 497, then I think you're correct, you need to do a:</p> <pre><code>svn merge -r HEAD:497 . </code></pre> <p>That merge command will only change files in your working copy, so remember to also commit the changes to update HEAD in the repo. </p> <p>After you do the...
<p>If your repo was in pristine condition at revision 497, then I think you're correct, you need to do a:</p> <pre><code>svn merge -r HEAD:497 . </code></pre> <p>That merge command will only change files in your working copy, so remember to also commit the changes to update HEAD in the repo. </p> <p>After you do the...
63
svn
<h1>SVN reverse merge?</h1> <p>My SVN repository was perfect at revision 497. I performed several bad commits, so that now it is at revision HEAD. I see that to rollback you should use a command like this:</p> <pre><code>svn merge -r HEAD:497 . </code></pre> <p>while in the working directory (and the working director...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,055
svn
# SVN reverse merge? My SVN repository was perfect at revision 497. I performed several bad commits, so that now it is at revision HEAD. I see that to rollback you should use a command like this: ``` svn merge -r HEAD:497 . ``` while in the working directory (and the working directory is at the HEAD revision). But i...
If your repo was in pristine condition at revision 497, then I think you're correct, you need to do a: ``` svn merge -r HEAD:497 . ``` That merge command will only change files in your working copy, so remember to also commit the changes to update HEAD in the repo. After you do the merge, followed by the commit, try...
3389620
How to fix Subversion «!» status
67
2010-08-02 16:16:24
<p>The Subversion manual states:</p> <blockquote> <p>'!'</p> <p>Item is missing (e.g. you moved or deleted it without using svn). This also indicates that a directory is incomplete (a checkout or update was interrupted).</p> </blockquote> <p>But as so often with Subversion, there is no indication on how to fix the prob...
65,672
341,091
2020-06-29 11:05:05
3,389,731
75
2010-08-02 16:31:20
358,679
2010-08-02 16:31:20
https://stackoverflow.com/q/3389620
https://stackoverflow.com/a/3389731
<pre><code>svn revert /path/to/file svn rm /path/to/file # if you want to delete it from svn itself </code></pre> <p>Golden rule is: once something is under svn-control, any moving, deleting, renaming, should be done with svn commands (svn mv, svn rm, etc.), not using normal filesystem/file-explorer functions.</p...
<pre><code>svn revert /path/to/file svn rm /path/to/file # if you want to delete it from svn itself </code></pre> <p>Golden rule is: once something is under svn-control, any moving, deleting, renaming, should be done with svn commands (svn mv, svn rm, etc.), not using normal filesystem/file-explorer functions.</p...
63
svn
<h1>How to fix Subversion «!» status</h1> <p>The Subversion manual states:</p> <blockquote> <p>'!'</p> <p>Item is missing (e.g. you moved or deleted it without using svn). This also indicates that a directory is incomplete (a checkout or update was interrupted).</p> </blockquote> <p>But as so often with Subversion, the...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,057
svn
# How to fix Subversion «!» status The Subversion manual states: > '!' > > Item is missing (e.g. you moved or > deleted it without using svn). This > also indicates that a directory is > incomplete (a checkout or update was > interrupted). But as so often with Subversion, there is no indication on how to fix the pro...
``` svn revert /path/to/file svn rm /path/to/file # if you want to delete it from svn itself ``` Golden rule is: once something is under svn-control, any moving, deleting, renaming, should be done with svn commands (svn mv, svn rm, etc.), not using normal filesystem/file-explorer functions.
206183
How can I force subversion to commit an unchanged file?
61
2008-10-15 20:04:20
<p>I want subversion to commit a file even if it's unchanged. Is there a way to do this?</p>
62,684
15,992
2022-01-12 09:26:44
206,856
75
2008-10-15 23:04:17
11,694
2008-10-31 09:55:22
https://stackoverflow.com/q/206183
https://stackoverflow.com/a/206856
<p>If you want the file contents to remain unchanged (meaning that you can't merely change whitespace as johnstok suggested) you can always change one of the properties on the file.</p> <p>eg.</p> <pre> svn propset dummyproperty 1 yourfile svn commit yourfile </pre> <p>That will perform a commit without having to ch...
<p>If you want the file contents to remain unchanged (meaning that you can't merely change whitespace as johnstok suggested) you can always change one of the properties on the file.</p> <p>eg.</p> <pre> svn propset dummyproperty 1 yourfile svn commit yourfile </pre> <p>That will perform a commit without having to ch...
63, 456, 5597
commit, svn, version-control
<h1>How can I force subversion to commit an unchanged file?</h1> <p>I want subversion to commit a file even if it's unchanged. Is there a way to do this?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,058
svn
# How can I force subversion to commit an unchanged file? I want subversion to commit a file even if it's unchanged. Is there a way to do this?
If you want the file contents to remain unchanged (meaning that you can't merely change whitespace as johnstok suggested) you can always change one of the properties on the file. eg. ``` svn propset dummyproperty 1 yourfile svn commit yourfile ``` That will perform a commit without having to change the file. Just m...
267256
Combining multiple SVN repositories into one
60
2008-11-06 00:18:56
<p>After considering the answers to my previous question (<a href="https://stackoverflow.com/questions/252459/one-svn-repository-or-many">One SVN Repository or many?</a>), I've decided to take the 4 or so repositories I have and consolidate them into one. This of course leads to the question, <strong>what's the best wa...
53,573
9,021
2017-07-05 15:52:57
267,307
75
2008-11-06 00:39:00
8,709
2014-10-06 15:20:07
https://stackoverflow.com/q/267256
https://stackoverflow.com/a/267307
<p>Edit: Oh well, the question edit was made while I was typing. This is an answer to</p> <blockquote> <p>Is there a way to combine two or more repositories maintaining the version history for both?</p> </blockquote> <hr> <p>Assuming that </p> <p>The existing repositories have a structure like:</p> <ul> <li...
<p>Edit: Oh well, the question edit was made while I was typing. This is an answer to</p> <blockquote> <p>Is there a way to combine two or more repositories maintaining the version history for both?</p> </blockquote> <hr> <p>Assuming that </p> <p>The existing repositories have a structure like:</p> <ul> <li...
63
svn
<h1>Combining multiple SVN repositories into one</h1> <p>After considering the answers to my previous question (<a href="https://stackoverflow.com/questions/252459/one-svn-repository-or-many">One SVN Repository or many?</a>), I've decided to take the 4 or so repositories I have and consolidate them into one. This of co...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,059
svn
# Combining multiple SVN repositories into one After considering the answers to my previous question ([One SVN Repository or many?](https://stackoverflow.com/questions/252459/one-svn-repository-or-many)), I've decided to take the 4 or so repositories I have and consolidate them into one. This of course leads to the qu...
Edit: Oh well, the question edit was made while I was typing. This is an answer to > Is there a way to combine two or more > repositories maintaining the version > history for both? --- Assuming that The existing repositories have a structure like: - repository root - branches - tags - trunk and you want a ...
579196
Getting the last revision number in SVN?
112
2009-02-23 20:29:30
<p>Using PHP, Perl, or Python (preferably PHP), I need a way to query an SVN database and find out the last revision number sent to SVN. I don't need anything other than that. It needs to be non-intensive (so I do it every 5 minutes as a cron job; SVN's performance should not be affected).</p> <p>SVN is located on my ...
268,323
66,167
2020-06-12 04:52:35
579,238
74
2009-02-23 20:40:25
68,210
2017-11-13 22:33:24
https://stackoverflow.com/q/579196
https://stackoverflow.com/a/579238
<pre class="lang-php prettyprint-override"><code>&lt;?php $url = 'your repository here'; $output = `svn info $url`; echo "&lt;pre&gt;$output&lt;/pre&gt;"; ?&gt; </code></pre> <p>You can get the output in XML like so:</p> <pre class="lang-php prettyprint-override"><code>$output = `svn info $url --xml`; <...
<pre class="lang-php prettyprint-override"><code>&lt;?php $url = 'your repository here'; $output = `svn info $url`; echo "&lt;pre&gt;$output&lt;/pre&gt;"; ?&gt; </code></pre> <p>You can get the output in XML like so:</p> <pre class="lang-php prettyprint-override"><code>$output = `svn info $url --xml`; <...
63
svn
<h1>Getting the last revision number in SVN?</h1> <p>Using PHP, Perl, or Python (preferably PHP), I need a way to query an SVN database and find out the last revision number sent to SVN. I don't need anything other than that. It needs to be non-intensive (so I do it every 5 minutes as a cron job; SVN's performance shou...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,060
svn
# Getting the last revision number in SVN? Using PHP, Perl, or Python (preferably PHP), I need a way to query an SVN database and find out the last revision number sent to SVN. I don't need anything other than that. It needs to be non-intensive (so I do it every 5 minutes as a cron job; SVN's performance should not be...
``` <?php $url = 'your repository here'; $output = `svn info $url`; echo "<pre>$output</pre>"; ?> ``` You can get the output in XML like so: ``` $output = `svn info $url --xml`; ``` If there is an error then the output will be directed to stderr. To capture stderr in your output use thusly: ``` $output ...
1598968
Add all unversioned files to SVN
45
2009-10-21 06:01:02
<p>I have a working copy that gets automatically committed into SVN overnight using a script.</p> <p>I use the SVN command line to do so.</p> <p>After a frustrating battle with Google, I have been unable to work out how to automatically add all unversioned files in the working copy to the repository before the commit...
29,126
63,627
2016-04-15 17:03:29
1,598,989
74
2009-10-21 06:06:35
15,537
2016-04-15 17:03:29
https://stackoverflow.com/q/1598968
https://stackoverflow.com/a/1598989
<pre><code>svn --force --depth infinity add . </code></pre> <p>Be careful, though, because this will also add any <code>svn:ignore</code>'d files.</p>
<pre><code>svn --force --depth infinity add . </code></pre> <p>Be careful, though, because this will also add any <code>svn:ignore</code>'d files.</p>
63
svn
<h1>Add all unversioned files to SVN</h1> <p>I have a working copy that gets automatically committed into SVN overnight using a script.</p> <p>I use the SVN command line to do so.</p> <p>After a frustrating battle with Google, I have been unable to work out how to automatically add all unversioned files in the workin...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,062
svn
# Add all unversioned files to SVN I have a working copy that gets automatically committed into SVN overnight using a script. I use the SVN command line to do so. After a frustrating battle with Google, I have been unable to work out how to automatically add all unversioned files in the working copy to the repositor...
``` svn --force --depth infinity add . ``` Be careful, though, because this will also add any `svn:ignore`'d files.
1230700
Recursively ignoring files in the entire source tree in subversion
52
2009-08-05 01:09:57
<p>I am not new to Subversion, but I have up till now used Tortoise and never the commadn line. My question is, how do I ignore all files like *.o from the ENTIRE source not just the root.</p> <p>For example, if I have the following files: /myfile.o /folder1/myfile2.o /folder1/folder1.1/myfile3.o /folder2/myfile4.o</...
34,105
18,120
2015-05-09 05:21:31
1,230,707
73
2009-08-05 01:13:11
136,540
2015-05-09 05:21:31
https://stackoverflow.com/q/1230700
https://stackoverflow.com/a/1230707
<p><b>Edit</b></p> <p>The original answer provided below was given prior to Subversion v1.8 which introduced a way to set the default repository level ignore (called <code>svn:global-ignores</code>) without overriding/replacing the <code>svn:ignore</code> property on the root directory and every single subdirectory. S...
<p><b>Edit</b></p> <p>The original answer provided below was given prior to Subversion v1.8 which introduced a way to set the default repository level ignore (called <code>svn:global-ignores</code>) without overriding/replacing the <code>svn:ignore</code> property on the root directory and every single subdirectory. S...
63, 456, 656
svn, tortoisesvn, version-control
<h1>Recursively ignoring files in the entire source tree in subversion</h1> <p>I am not new to Subversion, but I have up till now used Tortoise and never the commadn line. My question is, how do I ignore all files like *.o from the ENTIRE source not just the root.</p> <p>For example, if I have the following files: /m...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,065
svn
# Recursively ignoring files in the entire source tree in subversion I am not new to Subversion, but I have up till now used Tortoise and never the commadn line. My question is, how do I ignore all files like *.o from the ENTIRE source not just the root. For example, if I have the following files: /myfile.o /folder1/...
**Edit** The original answer provided below was given prior to Subversion v1.8 which introduced a way to set the default repository level ignore (called `svn:global-ignores`) without overriding/replacing the `svn:ignore` property on the root directory and every single subdirectory. Since 1.8, the best way to achieve w...
16249595
Change source control plug-in in Visual Studio
48
2013-04-27 07:36:17
<p>Currently the solution is managed by SVN and I want to switch to git. When I do Tools-&gt;Options-&gt;Source Control-&gt;Plug-in Selection and change plug-in I get this dialog:</p> <p><img src="https://i.sstatic.net/tDRGv.png" alt="enter image description here" /></p> <p>I never get past that, when I open the .sln a...
34,264
1,069,200
2023-05-04 11:03:07
16,249,677
73
2013-04-27 07:49:35
41,360
2013-04-27 07:57:00
https://stackoverflow.com/q/16249595
https://stackoverflow.com/a/16249677
<p>Suggestion: Don't bother with switching. Remove it from source control (SVN) and check it in anew (git). Or, if removing it by Visual Studio tools doesn't work, here's how you do it manually:</p> <ol> <li>Close Visual Studio;</li> <li>Delete the .svn folder</li> <li>Open the .SLN file in notepad, find the lines wh...
<p>Suggestion: Don't bother with switching. Remove it from source control (SVN) and check it in anew (git). Or, if removing it by Visual Studio tools doesn't work, here's how you do it manually:</p> <ol> <li>Close Visual Studio;</li> <li>Delete the .svn folder</li> <li>Open the .SLN file in notepad, find the lines wh...
63, 119, 2018, 80825
ankhsvn, git, svn, visual-studio-2012
<h1>Change source control plug-in in Visual Studio</h1> <p>Currently the solution is managed by SVN and I want to switch to git. When I do Tools-&gt;Options-&gt;Source Control-&gt;Plug-in Selection and change plug-in I get this dialog:</p> <p><img src="https://i.sstatic.net/tDRGv.png" alt="enter image description here"...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,066
svn
# Change source control plug-in in Visual Studio Currently the solution is managed by SVN and I want to switch to git. When I do Tools->Options->Source Control->Plug-in Selection and change plug-in I get this dialog: ![enter image description here](https://i.sstatic.net/tDRGv.png) I never get past that, when I open ...
Suggestion: Don't bother with switching. Remove it from source control (SVN) and check it in anew (git). Or, if removing it by Visual Studio tools doesn't work, here's how you do it manually: 1. Close Visual Studio; 2. Delete the .svn folder 3. Open the .SLN file in notepad, find the lines which specify the SCC provid...
6791989
Subclipse in Mac OS Lion shows "Unable to load default SVN client" error
49
2011-07-22 15:06:34
<p>After updating to Mac OSX Lion I find that I m unable to use Subclipse. I keep getting this error:</p> <blockquote> <p>Unable to load default SVN client</p> </blockquote> <p>Any ideas on how to resolve this issue?</p> <p>I m using Eclipse Indigo.</p>
35,086
592,741
2015-01-06 07:28:51
6,808,693
72
2011-07-24 18:13:52
860,475
2012-02-14 10:50:37
https://stackoverflow.com/q/6791989
https://stackoverflow.com/a/6808693
<p>Have you tried downloading <code>SVNKit</code> from the update site of Subclipse? </p> <p>Go to <em>Install New Software</em> and select the Subclipse update site. Select the JNA and SVNKit library as well as the SVNKit Client Adapter. </p> <p>After, change the interface from JavaHL to SVNKit in the <em>Preference...
<p>Have you tried downloading <code>SVNKit</code> from the update site of Subclipse? </p> <p>Go to <em>Install New Software</em> and select the Subclipse update site. Select the JNA and SVNKit library as well as the SVNKit Client Adapter. </p> <p>After, change the interface from JavaHL to SVNKit in the <em>Preference...
53, 55, 63, 71219
eclipse, osx-lion, subclipse, svn
<h1>Subclipse in Mac OS Lion shows "Unable to load default SVN client" error</h1> <p>After updating to Mac OSX Lion I find that I m unable to use Subclipse. I keep getting this error:</p> <blockquote> <p>Unable to load default SVN client</p> </blockquote> <p>Any ideas on how to resolve this issue?</p> <p>I m using...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,067
svn
# Subclipse in Mac OS Lion shows "Unable to load default SVN client" error After updating to Mac OSX Lion I find that I m unable to use Subclipse. I keep getting this error: > Unable to load default SVN client Any ideas on how to resolve this issue? I m using Eclipse Indigo.
Have you tried downloading `SVNKit` from the update site of Subclipse? Go to *Install New Software* and select the Subclipse update site. Select the JNA and SVNKit library as well as the SVNKit Client Adapter. After, change the interface from JavaHL to SVNKit in the *Preferences → Team → SVN → SVN Interface*.
1554278
Temporarily put away uncommitted changes in Subversion (a la "git-stash")
339
2009-10-12 12:26:15
<p>While programming software stored in a Subversion repo, I often modify some files, then notice that I'd like to do some preparatory change for my main work. E.g. while implementing new functionality, I notice some refactoring which might help me.</p> <p>In order not to mix two unrelated changes, in these cases I'd ...
107,657
43,681
2025-02-28 02:34:14
1,554,339
71
2009-10-12 12:35:25
33,412
2018-06-08 10:38:44
https://stackoverflow.com/q/1554278
https://stackoverflow.com/a/1554339
<p>When I've got uncommitted changes from one task in my working copy and I need to switch to another task, I do one of two things:</p> <ol> <li><p>Check out a new working copy for the second task.</p> <p>or</p></li> <li><p>Start a branch:</p> <pre><code>workingcopy$ svn copy CURRENT_URL_OF_WORKING_COPY SOME_BRANCH ...
<p>When I've got uncommitted changes from one task in my working copy and I need to switch to another task, I do one of two things:</p> <ol> <li><p>Check out a new working copy for the second task.</p> <p>or</p></li> <li><p>Start a branch:</p> <pre><code>workingcopy$ svn copy CURRENT_URL_OF_WORKING_COPY SOME_BRANCH ...
63, 81
svn, versioning
<h1>Temporarily put away uncommitted changes in Subversion (a la "git-stash")</h1> <p>While programming software stored in a Subversion repo, I often modify some files, then notice that I'd like to do some preparatory change for my main work. E.g. while implementing new functionality, I notice some refactoring which mi...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,068
svn
# Temporarily put away uncommitted changes in Subversion (a la "git-stash") While programming software stored in a Subversion repo, I often modify some files, then notice that I'd like to do some preparatory change for my main work. E.g. while implementing new functionality, I notice some refactoring which might help ...
When I've got uncommitted changes from one task in my working copy and I need to switch to another task, I do one of two things: 1. Check out a new working copy for the second task. or 2. Start a branch: ``` workingcopy$ svn copy CURRENT_URL_OF_WORKING_COPY SOME_BRANCH workingcopy$ svn switch SOME_BRANCH...
3941291
A sane way to rename a directory in subversion working copy
68
2010-10-15 10:14:48
<p>While somehow versed in VCS (regular svn, git and git-svn user) I can't seem to wrap my head around this peculiar SVN behavior.</p> <p>Whenever I need to rename a directory in my SVN working copy from an otherwise 'clean' state - i.e <code>svn status</code> returns nothing and all other modifications have been comm...
103,850
368,409
2013-06-25 14:18:36
3,941,731
71
2010-10-15 11:21:44
401,728
2010-10-15 17:00:17
https://stackoverflow.com/q/3941291
https://stackoverflow.com/a/3941731
<p><code>svn mv</code> works for me:</p> <pre><code>C:\svn\co&gt;svn mv my_dir new_dir A new_dir D my_dir\New Text Document.txt D my_dir C:\svn\co&gt;svn commit -m foo Raderar my_dir Lägger till new_dir Arkiverade revision 2. C:\svn\co&gt; </code></pre> <p>Sorry for the...
<p><code>svn mv</code> works for me:</p> <pre><code>C:\svn\co&gt;svn mv my_dir new_dir A new_dir D my_dir\New Text Document.txt D my_dir C:\svn\co&gt;svn commit -m foo Raderar my_dir Lägger till new_dir Arkiverade revision 2. C:\svn\co&gt; </code></pre> <p>Sorry for the...
63, 218, 4510
directory, rename, svn
<h1>A sane way to rename a directory in subversion working copy</h1> <p>While somehow versed in VCS (regular svn, git and git-svn user) I can't seem to wrap my head around this peculiar SVN behavior.</p> <p>Whenever I need to rename a directory in my SVN working copy from an otherwise 'clean' state - i.e <code>svn sta...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,069
svn
# A sane way to rename a directory in subversion working copy While somehow versed in VCS (regular svn, git and git-svn user) I can't seem to wrap my head around this peculiar SVN behavior. Whenever I need to rename a directory in my SVN working copy from an otherwise 'clean' state - i.e `svn status` returns nothing ...
`svn mv` works for me: ``` C:\svn\co>svn mv my_dir new_dir A new_dir D my_dir\New Text Document.txt D my_dir C:\svn\co>svn commit -m foo Raderar my_dir Lägger till new_dir Arkiverade revision 2. C:\svn\co> ``` Sorry for the Swedish output of svn. There must be somethin...
44176
Searching subversion history (full text)
146
2008-09-04 17:00:59
<p>Is there a way to perform a full text search of a subversion repository, including all the history?</p> <p>For example, I've written a feature that I used somewhere, but then it wasn't needed, so I svn rm'd the files, but now I need to find it again to use it for something else. The svn log probably says something ...
80,930
3,408
2023-01-04 09:43:55
3,820,708
70
2010-09-29 10:24:53
461,606
2016-03-03 11:29:16
https://stackoverflow.com/q/44176
https://stackoverflow.com/a/3820708
<pre><code>git svn clone &lt;svn url&gt; </code></pre> <pre><code>git log -G&lt;some regex&gt; </code></pre>
<pre><code>git svn clone &lt;svn url&gt; </code></pre> <pre><code>git log -G&lt;some regex&gt; </code></pre>
63, 2493
full-text-search, svn
<h1>Searching subversion history (full text)</h1> <p>Is there a way to perform a full text search of a subversion repository, including all the history?</p> <p>For example, I've written a feature that I used somewhere, but then it wasn't needed, so I svn rm'd the files, but now I need to find it again to use it for so...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,070
svn
# Searching subversion history (full text) Is there a way to perform a full text search of a subversion repository, including all the history? For example, I've written a feature that I used somewhere, but then it wasn't needed, so I svn rm'd the files, but now I need to find it again to use it for something else. Th...
``` git svn clone <svn url> ``` ``` git log -G<some regex> ```
49450
How do I export (and then import) a Subversion repository?
88
2008-09-08 10:50:39
<p>I'm just about wrapped up on a project where I was using a commercial SVN provider to store the source code. The web host the customer ultimately picked includes a repository as part of the hosting package, so, now that the project is over, I'd like to relocate the repository to their web host and discontinue the co...
162,237
1,344
2020-02-26 13:01:13
49,483
70
2008-09-08 11:11:30
3,750
2015-05-27 15:52:26
https://stackoverflow.com/q/49450
https://stackoverflow.com/a/49483
<p>If you want to move the repository and keep history, you'll probably need filesystem access on both hosts. The simplest solution, if your backend is FSFS (the default on recent versions), is to make a filesystem copy of the entire repository folder.</p> <p>If you have a Berkley DB backend, if you're not sure of wh...
<p>If you want to move the repository and keep history, you'll probably need filesystem access on both hosts. The simplest solution, if your backend is FSFS (the default on recent versions), is to make a filesystem copy of the entire repository folder.</p> <p>If you have a Berkley DB backend, if you're not sure of wh...
63
svn
<h1>How do I export (and then import) a Subversion repository?</h1> <p>I'm just about wrapped up on a project where I was using a commercial SVN provider to store the source code. The web host the customer ultimately picked includes a repository as part of the hosting package, so, now that the project is over, I'd like...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,071
svn
# How do I export (and then import) a Subversion repository? I'm just about wrapped up on a project where I was using a commercial SVN provider to store the source code. The web host the customer ultimately picked includes a repository as part of the hosting package, so, now that the project is over, I'd like to reloc...
If you want to move the repository and keep history, you'll probably need filesystem access on both hosts. The simplest solution, if your backend is FSFS (the default on recent versions), is to make a filesystem copy of the entire repository folder. If you have a Berkley DB backend, if you're not sure of what your bac...
2171939
How can I keep the original file [commit] timestamp on Subversion?
72
2010-01-31 14:08:15
<p>I want to be sure that if I commit something in Subversion from one machine, and I checkout on another, I will get the same value for datetime and timestamp.</p> <p>Currently, I observed that the datetime of file's modification is from the moment when I did the synchronisation instead of the original value.</p> <p...
48,463
99,834
2018-08-22 14:03:57
2,172,067
70
2010-01-31 14:42:56
30,451
2012-02-17 21:19:42
https://stackoverflow.com/q/2171939
https://stackoverflow.com/a/2172067
<p>You can set it in <code>.subversion/config</code>:</p> <pre><code>[miscellany] use-commit-times = yes </code></pre> <p>Although you will have strange side effects if we are talking about source files.</p> <p>For example, you build your software and do <code>svn update</code>. Now the timestamp of the updated file...
<p>You can set it in <code>.subversion/config</code>:</p> <pre><code>[miscellany] use-commit-times = yes </code></pre> <p>Although you will have strange side effects if we are talking about source files.</p> <p>For example, you build your software and do <code>svn update</code>. Now the timestamp of the updated file...
63, 1263, 2177
datetime, svn, timestamp
<h1>How can I keep the original file [commit] timestamp on Subversion?</h1> <p>I want to be sure that if I commit something in Subversion from one machine, and I checkout on another, I will get the same value for datetime and timestamp.</p> <p>Currently, I observed that the datetime of file's modification is from the ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,072
svn
# How can I keep the original file [commit] timestamp on Subversion? I want to be sure that if I commit something in Subversion from one machine, and I checkout on another, I will get the same value for datetime and timestamp. Currently, I observed that the datetime of file's modification is from the moment when I di...
You can set it in `.subversion/config`: ``` [miscellany] use-commit-times = yes ``` Although you will have strange side effects if we are talking about source files. For example, you build your software and do `svn update`. Now the timestamp of the updated files is older than the timestamp of the build result file, ...
338824
Are subversion externals an antipattern?
70
2008-12-03 21:43:01
<p>Subversion lets you embed working copies of other repositories using <a href="http://svnbook.red-bean.com/en/1.1/ch07s04.html" rel="nofollow noreferrer">externals</a>, allowing easy version control of third-party library software in your project.</p> <p>While these seem ideal for the reuse of libraries and version ...
20,592
20,074
2013-03-01 18:27:22
345,404
70
2008-12-05 22:34:10
26,682
2013-03-01 18:27:22
https://stackoverflow.com/q/338824
https://stackoverflow.com/a/345404
<p>I am the author of the quote in the question, which came from a <a href="https://stackoverflow.com/questions/222827/how-do-you-organize-your-version-control-repository#304036">previous answer</a>.</p> <p>Jason is right to be suspicious of brief statements such as mine, and to ask for an explanation. Of course, if ...
<p>I am the author of the quote in the question, which came from a <a href="https://stackoverflow.com/questions/222827/how-do-you-organize-your-version-control-repository#304036">previous answer</a>.</p> <p>Jason is right to be suspicious of brief statements such as mine, and to ask for an explanation. Of course, if ...
63, 456, 4610, 31462
anti-patterns, svn, svn-externals, version-control
<h1>Are subversion externals an antipattern?</h1> <p>Subversion lets you embed working copies of other repositories using <a href="http://svnbook.red-bean.com/en/1.1/ch07s04.html" rel="nofollow noreferrer">externals</a>, allowing easy version control of third-party library software in your project.</p> <p>While these ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,073
svn
# Are subversion externals an antipattern? Subversion lets you embed working copies of other repositories using [externals](http://svnbook.red-bean.com/en/1.1/ch07s04.html), allowing easy version control of third-party library software in your project. While these seem ideal for the reuse of libraries and version con...
I am the author of the quote in the question, which came from a [previous answer](https://stackoverflow.com/questions/222827/how-do-you-organize-your-version-control-repository#304036). Jason is right to be suspicious of brief statements such as mine, and to ask for an explanation. Of course, if I fully explained ever...
2591075
How can I see the repository path of a local copy?
40
2010-04-07 08:56:03
<p>This is probably close to trivial, but I can't find it. How can I see where in the repository a local copy refers to? Say, I have a workspace checked out some time ago, I want to see if it was checked out from a branch or the trunk.</p>
54,910
219,335
2021-11-24 13:06:06
2,591,143
70
2010-04-07 09:08:09
113,586
2011-10-03 23:41:04
https://stackoverflow.com/q/2591075
https://stackoverflow.com/a/2591143
<p>Use</p> <pre><code>svn info </code></pre>
<p>Use</p> <pre><code>svn info </code></pre>
63
svn
<h1>How can I see the repository path of a local copy?</h1> <p>This is probably close to trivial, but I can't find it. How can I see where in the repository a local copy refers to? Say, I have a workspace checked out some time ago, I want to see if it was checked out from a branch or the trunk.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,074
svn
# How can I see the repository path of a local copy? This is probably close to trivial, but I can't find it. How can I see where in the repository a local copy refers to? Say, I have a workspace checked out some time ago, I want to see if it was checked out from a branch or the trunk.
Use ``` svn info ```
4727287
How do you Tar an svn directory and filter out all the .svn files?
36
2011-01-18 17:50:43
<p>I'm trying to create a tar file for deployment of some code but I dont want all the .svn files being deployed. </p> <p>How can I filter these out? They're in multiple directories...</p>
27,463
177,389
2019-11-06 16:56:10
9,438,826
70
2012-02-24 22:13:41
315,726
2012-02-24 22:13:41
https://stackoverflow.com/q/4727287
https://stackoverflow.com/a/9438826
<pre><code>tar --exclude=.svn -z -c -v -f mytarball.tar.gz mydir/ </code></pre>
<pre><code>tar --exclude=.svn -z -c -v -f mytarball.tar.gz mydir/ </code></pre>
63, 8773, 10052
filter, svn, tar
<h1>How do you Tar an svn directory and filter out all the .svn files?</h1> <p>I'm trying to create a tar file for deployment of some code but I dont want all the .svn files being deployed. </p> <p>How can I filter these out? They're in multiple directories...</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,075
svn
# How do you Tar an svn directory and filter out all the .svn files? I'm trying to create a tar file for deployment of some code but I dont want all the .svn files being deployed. How can I filter these out? They're in multiple directories...
``` tar --exclude=.svn -z -c -v -f mytarball.tar.gz mydir/ ```
1566405
how to restore a locally deleted folder?
26
2009-10-14 13:59:17
<p>Locally deleting a file followed by svn update restores the local copy of that file. However this does not seem to apply to folders. Is there any way to make it work for folders as well?</p> <p>EDIT: This is what the console output looks like:</p> <pre><code>C:\svn\Google Project Hosting\xulwin\xulrunnersamples&gt...
49,718
75,889
2017-02-23 13:05:22
2,374,943
70
2010-03-03 21:03:51
285,734
2012-03-07 02:26:05
https://stackoverflow.com/q/1566405
https://stackoverflow.com/a/2374943
<p>I ran into this problem today with svn 1.5.6. <code>svn up --force the_dir_path</code> fixed it for me.</p> <p>To recreate:</p> <pre><code>$ svn up Updated to revision X. $ rm -rf the_dir_path $ svn up D the_dir_path Updated to revision X. $ svn up Updated to revision X. $ svn up --force the_dir_path A .... A .......
<p>I ran into this problem today with svn 1.5.6. <code>svn up --force the_dir_path</code> fixed it for me.</p> <p>To recreate:</p> <pre><code>$ svn up Updated to revision X. $ rm -rf the_dir_path $ svn up D the_dir_path Updated to revision X. $ svn up Updated to revision X. $ svn up --force the_dir_path A .... A .......
63
svn
<h1>how to restore a locally deleted folder?</h1> <p>Locally deleting a file followed by svn update restores the local copy of that file. However this does not seem to apply to folders. Is there any way to make it work for folders as well?</p> <p>EDIT: This is what the console output looks like:</p> <pre><code>C:\svn...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,076
svn
# how to restore a locally deleted folder? Locally deleting a file followed by svn update restores the local copy of that file. However this does not seem to apply to folders. Is there any way to make it work for folders as well? EDIT: This is what the console output looks like: ``` C:\svn\Google Project Hosting\xul...
I ran into this problem today with svn 1.5.6. `svn up --force the_dir_path` fixed it for me. To recreate: ``` $ svn up Updated to revision X. $ rm -rf the_dir_path $ svn up D the_dir_path Updated to revision X. $ svn up Updated to revision X. $ svn up --force the_dir_path A .... A .... Updated to revision X. ```
11300633
SVN cannot set LC_CTYPE locale
65
2012-07-02 20:22:46
<p>I started getting the following error whenever i use SVN in my server:</p> <pre><code>svn: warning: cannot set LC_CTYPE locale svn: warning: environment variable LC_CTYPE is UTF-8 svn: warning: please check that your locale name is correct </code></pre> <p>my guess is that there might be something wrong with my sv...
76,423
705,926
2022-11-29 10:04:17
11,326,341
69
2012-07-04 09:34:13
17,832
2021-04-26 11:21:57
https://stackoverflow.com/q/11300633
https://stackoverflow.com/a/11326341
<p>Check the output of</p> <pre><code>locale -a </code></pre> <p>If the locale that SVN is complaining about isn't installed, then you can install it.</p> <p>You might need to do for Debian or similar systems:</p> <pre><code>sudo dpkg-reconfigure locales </code></pre> <p>If you want to configure locales manually:</p> <...
<p>Check the output of</p> <pre><code>locale -a </code></pre> <p>If the locale that SVN is complaining about isn't installed, then you can install it.</p> <p>You might need to do for Debian or similar systems:</p> <pre><code>sudo dpkg-reconfigure locales </code></pre> <p>If you want to configure locales manually:</p> <...
63, 1921
locale, svn
<h1>SVN cannot set LC_CTYPE locale</h1> <p>I started getting the following error whenever i use SVN in my server:</p> <pre><code>svn: warning: cannot set LC_CTYPE locale svn: warning: environment variable LC_CTYPE is UTF-8 svn: warning: please check that your locale name is correct </code></pre> <p>my guess is that t...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,077
svn
# SVN cannot set LC_CTYPE locale I started getting the following error whenever i use SVN in my server: ``` svn: warning: cannot set LC_CTYPE locale svn: warning: environment variable LC_CTYPE is UTF-8 svn: warning: please check that your locale name is correct ``` my guess is that there might be something wrong wit...
Check the output of ``` locale -a ``` If the locale that SVN is complaining about isn't installed, then you can install it. You might need to do for Debian or similar systems: ``` sudo dpkg-reconfigure locales ``` If you want to configure locales manually: ``` sudo vim /etc/locale.gen # and add "en_US.UTF-8 UTF-8...
4077601
svnsync - couldn't get lock on destination repos
59
2010-11-02 12:27:26
<p>Using svnsync </p> <pre><code>$ svnsync --non-interactive sync ${REPO} </code></pre> <p>after an abort of the process there was this error message with retry </p> <pre><code>Failed to get lock on destination repos, currently held by 'svn.test.com:0e4e0d98-631d-0410-9a00-9330a90920b3' ... Failed to get lock o...
34,635
160,320
2020-09-12 06:43:57
16,053,611
69
2013-04-17 07:02:30
17,554
2020-09-12 06:43:57
https://stackoverflow.com/q/4077601
https://stackoverflow.com/a/16053611
<p>Actually, there is some functionality built into svnsync (since v1.7) that can &quot;steal&quot; the lock.</p> <pre><code>svnsync help sync </code></pre> <p>shows:</p> <pre><code>--steal-lock : Steal locks as necessary. Use, with caution, if your mirror repository contains sta...
<p>Actually, there is some functionality built into svnsync (since v1.7) that can &quot;steal&quot; the lock.</p> <pre><code>svnsync help sync </code></pre> <p>shows:</p> <pre><code>--steal-lock : Steal locks as necessary. Use, with caution, if your mirror repository contains sta...
63, 13553
svn, svnsync
<h1>svnsync - couldn't get lock on destination repos</h1> <p>Using svnsync </p> <pre><code>$ svnsync --non-interactive sync ${REPO} </code></pre> <p>after an abort of the process there was this error message with retry </p> <pre><code>Failed to get lock on destination repos, currently held by 'svn.test.com:0e4e0d98...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,078
svn
# svnsync - couldn't get lock on destination repos Using svnsync ``` $ svnsync --non-interactive sync ${REPO} ``` after an abort of the process there was this error message with retry ``` Failed to get lock on destination repos, currently held by 'svn.test.com:0e4e0d98-631d-0410-9a00-9330a90920b3' ... Failed to...
Actually, there is some functionality built into svnsync (since v1.7) that can "steal" the lock. ``` svnsync help sync ``` shows: ``` --steal-lock : Steal locks as necessary. Use, with caution, if your mirror repository contains stale locks and is no...
960241
Can't open file 'svn/repo/db/txn-current-lock': Permission denied
50
2009-06-06 18:20:18
<p>I have set up a Linux Server and installed Apache and SVN and dav_svn on it. Now, when I try to upload to <code>https://x.x.x.x:x/svn/repo</code> with Tortoise SVN I get </p> <pre><code>Can't open file '/server/svn/repo/db/txn-current-lock': Permission denied </code></pre> <p>I have Set up my SSL correctly (I can ...
118,501
118,096
2023-11-24 10:42:24
960,263
69
2009-06-06 18:31:42
75,170
2013-03-14 20:33:07
https://stackoverflow.com/q/960241
https://stackoverflow.com/a/960263
<p>This is a common problem. You're almost certainly running into permissions issues. To solve it, make sure that the <code>apache</code> user has read/write access to your entire repository. To do that, <code>chown -R apache:apache *</code>, <code>chmod -R 664 *</code> for everything under your svn repository.</p> <p...
<p>This is a common problem. You're almost certainly running into permissions issues. To solve it, make sure that the <code>apache</code> user has read/write access to your entire repository. To do that, <code>chown -R apache:apache *</code>, <code>chmod -R 664 *</code> for everything under your svn repository.</p> <p...
63, 80
apache, svn
<h1>Can't open file 'svn/repo/db/txn-current-lock': Permission denied</h1> <p>I have set up a Linux Server and installed Apache and SVN and dav_svn on it. Now, when I try to upload to <code>https://x.x.x.x:x/svn/repo</code> with Tortoise SVN I get </p> <pre><code>Can't open file '/server/svn/repo/db/txn-current-lock':...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,079
svn
# Can't open file 'svn/repo/db/txn-current-lock': Permission denied I have set up a Linux Server and installed Apache and SVN and dav_svn on it. Now, when I try to upload to `https://x.x.x.x:x/svn/repo` with Tortoise SVN I get ``` Can't open file '/server/svn/repo/db/txn-current-lock': Permission denied ``` I have S...
This is a common problem. You're almost certainly running into permissions issues. To solve it, make sure that the `apache` user has read/write access to your entire repository. To do that, `chown -R apache:apache *`, `chmod -R 664 *` for everything under your svn repository. Also, see [**here**](http://svn.haxx.se/us...
141599
How do you get a list of changes from a Subversion repository by date range?
59
2008-09-26 19:58:52
<p>What I would like is be able to generate a simple report that is the output of svn log for a certain date range. Specifically, all the changes since 'yesterday'. </p> <p>Is there an easy way to accomplish this in Subversion besides grep-ing the svn log output for the timestamp?</p> <p>Example:</p> <pre><code>sv...
70,833
1,341
2025-07-20 12:48:18
141,619
68
2008-09-26 20:02:19
11,621
2025-07-20 12:48:18
https://stackoverflow.com/q/141599
https://stackoverflow.com/a/141619
<p>Very first hit by google for &quot;svn log date range&quot;: <a href="http://svn.haxx.se/users/archive-2006-08/0737.shtml" rel="nofollow noreferrer">http://svn.haxx.se/users/archive-2006-08/0737.shtml</a></p> <blockquote> <p>So <code>svn log &lt;url&gt; -r {2008-09-19}:{2008-09-26}</code> will get all changes for t...
<p>Very first hit by google for &quot;svn log date range&quot;: <a href="http://svn.haxx.se/users/archive-2006-08/0737.shtml" rel="nofollow noreferrer">http://svn.haxx.se/users/archive-2006-08/0737.shtml</a></p> <blockquote> <p>So <code>svn log &lt;url&gt; -r {2008-09-19}:{2008-09-26}</code> will get all changes for t...
63
svn
<h1>How do you get a list of changes from a Subversion repository by date range?</h1> <p>What I would like is be able to generate a simple report that is the output of svn log for a certain date range. Specifically, all the changes since 'yesterday'. </p> <p>Is there an easy way to accomplish this in Subversion besi...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,082
svn
# How do you get a list of changes from a Subversion repository by date range? What I would like is be able to generate a simple report that is the output of svn log for a certain date range. Specifically, all the changes since 'yesterday'. Is there an easy way to accomplish this in Subversion besides grep-ing the sv...
Very first hit by google for "svn log date range": <http://svn.haxx.se/users/archive-2006-08/0737.shtml> > So `svn log <url> -r {2008-09-19}:{2008-09-26}` will get > all changes for the past week, > including today. And if you want to generate reports for a repo, there's a solution: [Statsvn](http://statsvn.org/index...
12905000
how do I remove an existing changelist from SVN
50
2012-10-15 22:37:01
<p>I created a changelist by doing...</p> <pre><code>$ svn changelist my_changes </code></pre> <p>... added files to it, and then committed the changelist...</p> <pre><code>$ svn ci --changelist my_changes --keep-changelists </code></pre> <p>... so now, I have "kept" my changelist and it shows up every time I view ...
35,240
196,921
2015-11-07 20:46:09
12,905,350
68
2012-10-15 23:18:50
253,468
2015-11-07 20:46:09
https://stackoverflow.com/q/12905000
https://stackoverflow.com/a/12905350
<p>Remove all the associated files from a changelist and it'll disappear.</p> <h1>Official way</h1> <p>See <a href="https://stackoverflow.com/a/15992735/253468">https://stackoverflow.com/a/15992735/253468</a></p> <pre><code>svn changelist --remove --recursive --cl my_changes . </code></pre> <h1>Manual way</h1> <p>...
<p>Remove all the associated files from a changelist and it'll disappear.</p> <h1>Official way</h1> <p>See <a href="https://stackoverflow.com/a/15992735/253468">https://stackoverflow.com/a/15992735/253468</a></p> <pre><code>svn changelist --remove --recursive --cl my_changes . </code></pre> <h1>Manual way</h1> <p>...
63, 41288
changelist, svn
<h1>how do I remove an existing changelist from SVN</h1> <p>I created a changelist by doing...</p> <pre><code>$ svn changelist my_changes </code></pre> <p>... added files to it, and then committed the changelist...</p> <pre><code>$ svn ci --changelist my_changes --keep-changelists </code></pre> <p>... so now, I hav...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,083
svn
# how do I remove an existing changelist from SVN I created a changelist by doing... ``` $ svn changelist my_changes ``` ... added files to it, and then committed the changelist... ``` $ svn ci --changelist my_changes --keep-changelists ``` ... so now, I have "kept" my changelist and it shows up every time I view ...
Remove all the associated files from a changelist and it'll disappear. # Official way See <https://stackoverflow.com/a/15992735/253468> ``` svn changelist --remove --recursive --cl my_changes . ``` # Manual way i.e. `svn changelist --remove file.name` ``` D:\Programming>mkdir test D:\Programming>cd test D:\Progra...
337024
How do I dump one project out of an SVN repository which contains multiple projects?
43
2008-12-03 13:04:59
<p>I am working with an SVN repository with many projects. I need to move a few of the projects out of that repository into individual repositories, one for each project, keeping the history.</p> <p>I've been able to use <code>svnadmin dump</code> to dump the entire repository and <code>svnadmin load</code> it into an...
53,345
1,142
2016-12-25 23:16:12
337,110
68
2008-12-03 13:33:28
1,605
2014-07-02 08:34:45
https://stackoverflow.com/q/337024
https://stackoverflow.com/a/337110
<p>You can use the <a href="http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svndumpfilter" rel="noreferrer">svndumpfilter</a> utility to do this. The SVN book has a <a href="http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering" rel="noreferrer"...
<p>You can use the <a href="http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svndumpfilter" rel="noreferrer">svndumpfilter</a> utility to do this. The SVN book has a <a href="http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering" rel="noreferrer"...
63, 14980, 15460, 62060
svn, svnadmin, svndump, svndumpfilter
<h1>How do I dump one project out of an SVN repository which contains multiple projects?</h1> <p>I am working with an SVN repository with many projects. I need to move a few of the projects out of that repository into individual repositories, one for each project, keeping the history.</p> <p>I've been able to use <cod...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,084
svn
# How do I dump one project out of an SVN repository which contains multiple projects? I am working with an SVN repository with many projects. I need to move a few of the projects out of that repository into individual repositories, one for each project, keeping the history. I've been able to use `svnadmin dump` to d...
You can use the [svndumpfilter](http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svndumpfilter) utility to do this. The SVN book has a [good explanation](http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering) of how to do this. For instance, one...
122313
How do you include/exclude a certain type of files under Subversion?
50
2008-09-23 17:02:57
<p>I'm getting confused with the include/exclude jargon, and my actual SVN client doesn't seem to have (or I've been unable to find it easily) a simple option to add or remove a certain type of files for version control.</p> <p>Let's say for example I've added the entire Visual Studio folder, with its solutions, proje...
53,249
6,992
2022-02-04 13:41:28
122,335
67
2008-09-23 17:06:32
1,199
2016-11-29 22:25:51
https://stackoverflow.com/q/122313
https://stackoverflow.com/a/122335
<p>You're probably safest excluding particular filetypes, rather than picking those you want to include, as you could then add a new type and not realize it wasn't versioned.</p> <p>On a per-directory basis, you can edit the <a href="http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.3" rel="noreferrer"...
<p>You're probably safest excluding particular filetypes, rather than picking those you want to include, as you could then add a new type and not realize it wasn't versioned.</p> <p>On a per-directory basis, you can edit the <a href="http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.3" rel="noreferrer"...
63, 456
svn, version-control
<h1>How do you include/exclude a certain type of files under Subversion?</h1> <p>I'm getting confused with the include/exclude jargon, and my actual SVN client doesn't seem to have (or I've been unable to find it easily) a simple option to add or remove a certain type of files for version control.</p> <p>Let's say for...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,086
svn
# How do you include/exclude a certain type of files under Subversion? I'm getting confused with the include/exclude jargon, and my actual SVN client doesn't seem to have (or I've been unable to find it easily) a simple option to add or remove a certain type of files for version control. Let's say for example I've ad...
You're probably safest excluding particular filetypes, rather than picking those you want to include, as you could then add a new type and not realize it wasn't versioned. On a per-directory basis, you can edit the [svn:ignore](http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.3) property. Run ``` sv...
1610897
How can I fix this SVN commit which fails as "out of date"?
44
2009-10-23 01:06:08
<p>In my repository, I have two revisions. The src code is on revision 2, but I had a file that messed up, so I reverted it to revision 1.</p> <p>After a few hours of debugging, that javafile works, but I can't commit it. SVN says that the javafile is out of date. This is probably because I'm editing javafile.java rev...
88,393
159,856
2020-07-31 19:05:34
1,610,902
67
2009-10-23 01:07:54
109,246
2009-10-23 01:34:34
https://stackoverflow.com/q/1610897
https://stackoverflow.com/a/1610902
<p>Updating the working copy should fix it. </p> <p>From the command line:</p> <pre><code>X:\WorkingCopy&gt;svn up </code></pre> <p>or right-click and choose <code>SVN Update...</code> in TortoiseSVN</p> <p>When you update, you may come across conflicts, which will be marked in your code with</p> <pre><code>&gt;&...
<p>Updating the working copy should fix it. </p> <p>From the command line:</p> <pre><code>X:\WorkingCopy&gt;svn up </code></pre> <p>or right-click and choose <code>SVN Update...</code> in TortoiseSVN</p> <p>When you update, you may come across conflicts, which will be marked in your code with</p> <pre><code>&gt;&...
63
svn
<h1>How can I fix this SVN commit which fails as "out of date"?</h1> <p>In my repository, I have two revisions. The src code is on revision 2, but I had a file that messed up, so I reverted it to revision 1.</p> <p>After a few hours of debugging, that javafile works, but I can't commit it. SVN says that the javafile i...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,087
svn
# How can I fix this SVN commit which fails as "out of date"? In my repository, I have two revisions. The src code is on revision 2, but I had a file that messed up, so I reverted it to revision 1. After a few hours of debugging, that javafile works, but I can't commit it. SVN says that the javafile is out of date. T...
Updating the working copy should fix it. From the command line: ``` X:\WorkingCopy>svn up ``` or right-click and choose `SVN Update...` in TortoiseSVN When you update, you may come across conflicts, which will be marked in your code with ``` >>>>> ... ----- ... <<<<< ``` You'll need to manually resolve these. Whe...
40349505
SVN pushing changes
41
2016-10-31 19:49:28
<p>I am used to Git and am learning SVN now. In Git you have to add the files, commit the changes, and the push to the repo. In SVN I only found add and commit commands. Does this mean that when you run <code>svn commit</code> the changes are pushed to the server? If not what command do I run to push changes to a r...
68,499
null
2021-10-11 16:17:36
40,349,649
67
2016-10-31 19:59:04
1,698,557
2018-06-27 14:03:18
https://stackoverflow.com/q/40349505
https://stackoverflow.com/a/40349649
<p>Correct, <code>svn commit</code> will push your local modifications to the server. Take a look at the <a href="http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html" rel="noreferrer">Basic Work Cycle</a> to get a quick-ish overview of the commands you'll typically use.</p> <p>The "common" pattern is:</p> <ol...
<p>Correct, <code>svn commit</code> will push your local modifications to the server. Take a look at the <a href="http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html" rel="noreferrer">Basic Work Cycle</a> to get a quick-ish overview of the commands you'll typically use.</p> <p>The "common" pattern is:</p> <ol...
63
svn
<h1>SVN pushing changes</h1> <p>I am used to Git and am learning SVN now. In Git you have to add the files, commit the changes, and the push to the repo. In SVN I only found add and commit commands. Does this mean that when you run <code>svn commit</code> the changes are pushed to the server? If not what command do...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,088
svn
# SVN pushing changes I am used to Git and am learning SVN now. In Git you have to add the files, commit the changes, and the push to the repo. In SVN I only found add and commit commands. Does this mean that when you run `svn commit` the changes are pushed to the server? If not what command do I run to push changes t...
Correct, `svn commit` will push your local modifications to the server. Take a look at the [Basic Work Cycle](http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html) to get a quick-ish overview of the commands you'll typically use. The "common" pattern is: 1. `update` to merge the latest changes from the server i...
3789585
How to move an SVN repository to a new server
40
2010-09-24 17:38:23
<p>We would like to merge two of our servers together and in order to do that we would need to install SVN on the "new" server and then move over all of our repositories that we have set up on our "old" server.</p> <p>Is this an easy operation to do? Possibly using the "Relocate" option that TortoiseSVN provides? What...
62,195
20,471
2017-01-12 21:55:09
3,789,782
67
2010-09-24 18:08:43
7,979
2010-09-24 19:52:02
https://stackoverflow.com/q/3789585
https://stackoverflow.com/a/3789782
<p>You can migrate a repository using the <code>svnadmin dump</code> function. On the SVN server, type <code>svnadmin dump /absolute/path/to/the/repo &gt; /tmp/repo.svndump</code>. This will export the entire repository to a text file in the system's temporary directory and name it "repo.svndump". You might want to com...
<p>You can migrate a repository using the <code>svnadmin dump</code> function. On the SVN server, type <code>svnadmin dump /absolute/path/to/the/repo &gt; /tmp/repo.svndump</code>. This will export the entire repository to a text file in the system's temporary directory and name it "repo.svndump". You might want to com...
63, 656
svn, tortoisesvn
<h1>How to move an SVN repository to a new server</h1> <p>We would like to merge two of our servers together and in order to do that we would need to install SVN on the "new" server and then move over all of our repositories that we have set up on our "old" server.</p> <p>Is this an easy operation to do? Possibly usin...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,089
svn
# How to move an SVN repository to a new server We would like to merge two of our servers together and in order to do that we would need to install SVN on the "new" server and then move over all of our repositories that we have set up on our "old" server. Is this an easy operation to do? Possibly using the "Relocate"...
You can migrate a repository using the `svnadmin dump` function. On the SVN server, type `svnadmin dump /absolute/path/to/the/repo > /tmp/repo.svndump`. This will export the entire repository to a text file in the system's temporary directory and name it "repo.svndump". You might want to compress that file before trans...
1040041
Is it possible to checkout files from subversion without those .svn folders?
37
2009-06-24 18:19:53
<p>Is it possible to checkout files from subversion without those .svn folders? (for publishing .NET apps to release server).</p>
17,602
39,677
2009-06-24 23:28:42
1,040,057
67
2009-06-24 18:22:15
972
2009-06-24 18:22:15
https://stackoverflow.com/q/1040041
https://stackoverflow.com/a/1040057
<p>yes. Just export.</p> <pre><code>svn export REV URL PATH </code></pre> <p>the contents of URL will be placed in PATH. (Path and rev is optional.)</p> <p>Obviously, you should not use this command for starting to work on the files.</p>
<p>yes. Just export.</p> <pre><code>svn export REV URL PATH </code></pre> <p>the contents of URL will be placed in PATH. (Path and rev is optional.)</p> <p>Obviously, you should not use this command for starting to work on the files.</p>
63, 96
asp.net, svn
<h1>Is it possible to checkout files from subversion without those .svn folders?</h1> <p>Is it possible to checkout files from subversion without those .svn folders? (for publishing .NET apps to release server).</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,090
svn
# Is it possible to checkout files from subversion without those .svn folders? Is it possible to checkout files from subversion without those .svn folders? (for publishing .NET apps to release server).
yes. Just export. ``` svn export REV URL PATH ``` the contents of URL will be placed in PATH. (Path and rev is optional.) Obviously, you should not use this command for starting to work on the files.
15031729
SVN create patch from committed code?
79
2013-02-22 19:23:59
<p>Is it possible to create a patch (diff files) for all files that were affected during a commit AFTER the commit? These files would have same version number and I need the diff of each file from their prior version.</p>
50,452
1,325,849
2020-05-14 18:46:42
15,031,768
66
2013-02-22 19:27:18
2,038,768
2013-02-22 19:27:18
https://stackoverflow.com/q/15031729
https://stackoverflow.com/a/15031768
<p>If you know commit number, then use</p> <pre><code>svn diff -c N path </code></pre> <p>Where <code>N</code> is commit number and <code>path</code> is path to your working copy.</p>
<p>If you know commit number, then use</p> <pre><code>svn diff -c N path </code></pre> <p>Where <code>N</code> is commit number and <code>path</code> is path to your working copy.</p>
63, 606
diff, svn
<h1>SVN create patch from committed code?</h1> <p>Is it possible to create a patch (diff files) for all files that were affected during a commit AFTER the commit? These files would have same version number and I need the diff of each file from their prior version.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,092
svn
# SVN create patch from committed code? Is it possible to create a patch (diff files) for all files that were affected during a commit AFTER the commit? These files would have same version number and I need the diff of each file from their prior version.
If you know commit number, then use ``` svn diff -c N path ``` Where `N` is commit number and `path` is path to your working copy.
10414533
How to remove untracked files in SVN
55
2012-05-02 13:16:05
<p>How can I remove all untracked files from an SVN checkout with the <code>svn</code> command line tool? Git and Hg offer <code>clean</code> and <code>purge</code> commands for this purpose, but I can't find the corresponding command in SVN.</p> <p>I don't care if I have to revert all my local modifications in the pr...
32,195
596,781
2018-09-12 22:16:29
10,414,599
66
2012-05-02 13:19:47
129,570
2013-09-05 21:47:15
https://stackoverflow.com/q/10414533
https://stackoverflow.com/a/10414599
<p>There may be a built-in way, but if so, I don't know of it. However, something like the following should do the job:</p> <pre><code>svn st | grep '^?' | awk '{print $2}' | xargs rm -rf </code></pre> <p>(All unversioned files should appear in a line beginning with <code>?</code> in an <code>svn st</code>.)</p> <p...
<p>There may be a built-in way, but if so, I don't know of it. However, something like the following should do the job:</p> <pre><code>svn st | grep '^?' | awk '{print $2}' | xargs rm -rf </code></pre> <p>(All unversioned files should appear in a line beginning with <code>?</code> in an <code>svn st</code>.)</p> <p...
63, 456
svn, version-control
<h1>How to remove untracked files in SVN</h1> <p>How can I remove all untracked files from an SVN checkout with the <code>svn</code> command line tool? Git and Hg offer <code>clean</code> and <code>purge</code> commands for this purpose, but I can't find the corresponding command in SVN.</p> <p>I don't care if I have ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,093
svn
# How to remove untracked files in SVN How can I remove all untracked files from an SVN checkout with the `svn` command line tool? Git and Hg offer `clean` and `purge` commands for this purpose, but I can't find the corresponding command in SVN. I don't care if I have to revert all my local modifications in the proce...
There may be a built-in way, but if so, I don't know of it. However, something like the following should do the job: ``` svn st | grep '^?' | awk '{print $2}' | xargs rm -rf ``` (All unversioned files should appear in a line beginning with `?` in an `svn st`.) **EDIT ([@GearoidMurphy](https://stackoverflow.com/users...
5072719
SVN: how to return to previous revision?
47
2011-02-22 00:10:33
<p>A series of mistakes were made in a project I am working on. How do I revert back to a known working revision and build on top of that? Say I am at revision 15, but I want to go back to revision 10 -- and work on 10 onwards. I'm using Zend Studio.</p> <p>Can I delete revisions that exist in SVN?</p>
105,862
253,976
2017-03-30 03:49:47
5,072,741
66
2011-02-22 00:14:08
288,069
2011-02-22 00:14:08
https://stackoverflow.com/q/5072719
https://stackoverflow.com/a/5072741
<p>From the command line:</p> <pre><code>svn up -r [revision_number] </code></pre> <p>Where [revision_number] is the revision you want to revert to.</p> <p>And no, you cannot delete revisions that already exist in SVN.</p>
<p>From the command line:</p> <pre><code>svn up -r [revision_number] </code></pre> <p>Where [revision_number] is the revision you want to revert to.</p> <p>And no, you cannot delete revisions that already exist in SVN.</p>
63
svn
<h1>SVN: how to return to previous revision?</h1> <p>A series of mistakes were made in a project I am working on. How do I revert back to a known working revision and build on top of that? Say I am at revision 15, but I want to go back to revision 10 -- and work on 10 onwards. I'm using Zend Studio.</p> <p>Can I delet...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,094
svn
# SVN: how to return to previous revision? A series of mistakes were made in a project I am working on. How do I revert back to a known working revision and build on top of that? Say I am at revision 15, but I want to go back to revision 10 -- and work on 10 onwards. I'm using Zend Studio. Can I delete revisions that...
From the command line: ``` svn up -r [revision_number] ``` Where [revision_number] is the revision you want to revert to. And no, you cannot delete revisions that already exist in SVN.
4976868
What causes svn error 413 Request Entity Too Large?
68
2011-02-12 07:15:28
<p>On occasion I receive an error "413 Request Entity Too Large" while updating an svn repository. Once I receive this error, it continues every time I attempt to update the local working copy. A new checkout will solve the problem, but is very inconvenient. The project is over 30 GB, and the SVN repository is hosted e...
60,886
5,233
2024-12-08 14:20:47
4,977,270
65
2011-02-12 09:10:56
89,432
2016-06-14 20:58:01
https://stackoverflow.com/q/4976868
https://stackoverflow.com/a/4977270
<p>Try to add the following configuration directives to your Apache configuration file:</p> <pre><code>LimitXMLRequestBody 8000000 LimitRequestBody 0 </code></pre>
<p>Try to add the following configuration directives to your Apache configuration file:</p> <pre><code>LimitXMLRequestBody 8000000 LimitRequestBody 0 </code></pre>
63
svn
<h1>What causes svn error 413 Request Entity Too Large?</h1> <p>On occasion I receive an error "413 Request Entity Too Large" while updating an svn repository. Once I receive this error, it continues every time I attempt to update the local working copy. A new checkout will solve the problem, but is very inconvenient. ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,097
svn
# What causes svn error 413 Request Entity Too Large? On occasion I receive an error "413 Request Entity Too Large" while updating an svn repository. Once I receive this error, it continues every time I attempt to update the local working copy. A new checkout will solve the problem, but is very inconvenient. The proje...
Try to add the following configuration directives to your Apache configuration file: ``` LimitXMLRequestBody 8000000 LimitRequestBody 0 ```
1928023
How can I prevent Subversion commits without comments?
68
2009-12-18 12:47:30
<p>Does anybody know how to prevent commits to a Subversion code repository when there is no commit comment entered?</p>
40,523
null
2015-08-21 13:23:51
1,928,036
65
2009-12-18 12:50:07
89,391
2013-05-22 13:09:38
https://stackoverflow.com/q/1928023
https://stackoverflow.com/a/1928036
<p>You can use a hook (put it into <code>&lt;repository&gt;/hooks</code> and name it <code>pre-commit.bat</code> (Windows)):</p> <pre><code>@echo off :: :: Stops commits that have empty log messages. :: setlocal rem Subversion sends through the path to the repository and transaction id set REPOS=%1 set TXN=%2 rem c...
<p>You can use a hook (put it into <code>&lt;repository&gt;/hooks</code> and name it <code>pre-commit.bat</code> (Windows)):</p> <pre><code>@echo off :: :: Stops commits that have empty log messages. :: setlocal rem Subversion sends through the path to the repository and transaction id set REPOS=%1 set TXN=%2 rem c...
63, 853, 5597
commit, hook, svn
<h1>How can I prevent Subversion commits without comments?</h1> <p>Does anybody know how to prevent commits to a Subversion code repository when there is no commit comment entered?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,098
svn
# How can I prevent Subversion commits without comments? Does anybody know how to prevent commits to a Subversion code repository when there is no commit comment entered?
You can use a hook (put it into `<repository>/hooks` and name it `pre-commit.bat` (Windows)): ``` @echo off :: :: Stops commits that have empty log messages. :: setlocal rem Subversion sends through the path to the repository and transaction id set REPOS=%1 set TXN=%2 rem check for an empty log message svnlook log ...
692851
Can I go back and edit comments on an SVN checkin?
59
2009-03-28 14:42:54
<p>I put a mistake into a comment in SVN. Can I edit this after checkin?</p>
47,227
4,653
2015-01-16 02:22:53
692,875
65
2009-03-28 14:52:12
6,521
2009-03-28 16:39:37
https://stackoverflow.com/q/692851
https://stackoverflow.com/a/692875
<p>Commit messages are <a href="http://svnbook.red-bean.com/en/1.0/ch05.html#svn-ch-5-sect-1.2" rel="noreferrer">"unversioned properties"</a> and can be changed with the <a href="http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.propset.html" rel="noreferrer">svn propset</a> command, for example</p> <pre><code>$ svn pr...
<p>Commit messages are <a href="http://svnbook.red-bean.com/en/1.0/ch05.html#svn-ch-5-sect-1.2" rel="noreferrer">"unversioned properties"</a> and can be changed with the <a href="http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.propset.html" rel="noreferrer">svn propset</a> command, for example</p> <pre><code>$ svn pr...
63, 656
svn, tortoisesvn
<h1>Can I go back and edit comments on an SVN checkin?</h1> <p>I put a mistake into a comment in SVN. Can I edit this after checkin?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,100
svn
# Can I go back and edit comments on an SVN checkin? I put a mistake into a comment in SVN. Can I edit this after checkin?
Commit messages are ["unversioned properties"](http://svnbook.red-bean.com/en/1.0/ch05.html#svn-ch-5-sect-1.2) and can be changed with the [svn propset](http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.propset.html) command, for example ``` $ svn propset --revprop -r 25 svn:log "Journaled about trip to New York." prop...
1439176
SVN: Can you remove directories from a local checkout only (not from the repository)?
53
2009-09-17 14:17:05
<p>Assume that you have a directory under subversion control, that contains some files and tons of subdirectories, like that:</p> <pre><code>file1.txt file2.txt file3.txt dir1/ dir2/ dir3/ dir4/ : dirXX/ </code></pre> <p>Now you need the files and some of the dirs, but not all of them. This can be done with SVN. Just...
27,489
15,809
2018-09-19 19:08:44
1,440,225
65
2009-09-17 17:27:59
15,809
2018-09-19 19:08:44
https://stackoverflow.com/q/1439176
https://stackoverflow.com/a/1440225
<p><em>What I'm trying to do cannot be done with Subversion 1.4 or Subversion 1.5; Period.<br> No work around exists, that's just the way it is.</em></p> <p><strong>It can be done with Subversion 1.6, though.</strong><br></p> <p>Unlike SVN 1.5, SVN 1.6 can <strong>reduce the depth</strong> on a directory</p> <pre><c...
<p><em>What I'm trying to do cannot be done with Subversion 1.4 or Subversion 1.5; Period.<br> No work around exists, that's just the way it is.</em></p> <p><strong>It can be done with Subversion 1.6, though.</strong><br></p> <p>Unlike SVN 1.5, SVN 1.6 can <strong>reduce the depth</strong> on a directory</p> <pre><c...
63
svn
<h1>SVN: Can you remove directories from a local checkout only (not from the repository)?</h1> <p>Assume that you have a directory under subversion control, that contains some files and tons of subdirectories, like that:</p> <pre><code>file1.txt file2.txt file3.txt dir1/ dir2/ dir3/ dir4/ : dirXX/ </code></pre> <p>No...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,101
svn
# SVN: Can you remove directories from a local checkout only (not from the repository)? Assume that you have a directory under subversion control, that contains some files and tons of subdirectories, like that: ``` file1.txt file2.txt file3.txt dir1/ dir2/ dir3/ dir4/ : dirXX/ ``` Now you need the files and some of ...
*What I'm trying to do cannot be done with Subversion 1.4 or Subversion 1.5; Period. No work around exists, that's just the way it is.* **It can be done with Subversion 1.6, though.** Unlike SVN 1.5, SVN 1.6 can **reduce the depth** on a directory ``` svn up --set-depth exclude dir2 ``` is the solution. It sets ...
14646798
How to list all files in a remote SVN repository?
41
2013-02-01 12:55:06
<p>I access a <strong>large</strong> remote SVN repository. Since I usually only need a tiny subset of its content I did a "sparse checkout":</p> <pre><code>svn checkout --depth empty svn+ssh://... src </code></pre> <p>Whenever I need a folder from the repository I can just do</p> <pre><code>svn up folder </code></p...
77,067
2,032,405
2019-02-20 13:40:45
14,646,879
65
2013-02-01 13:00:08
960,558
2017-07-29 16:36:16
https://stackoverflow.com/q/14646798
https://stackoverflow.com/a/14646879
<p>This lists all files recursively:</p> <pre><code>svn ls -R URL-OF-REPO </code></pre>
<p>This lists all files recursively:</p> <pre><code>svn ls -R URL-OF-REPO </code></pre>
63, 7330, 8192
remote-access, repository, svn
<h1>How to list all files in a remote SVN repository?</h1> <p>I access a <strong>large</strong> remote SVN repository. Since I usually only need a tiny subset of its content I did a "sparse checkout":</p> <pre><code>svn checkout --depth empty svn+ssh://... src </code></pre> <p>Whenever I need a folder from the reposi...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,102
svn
# How to list all files in a remote SVN repository? I access a **large** remote SVN repository. Since I usually only need a tiny subset of its content I did a "sparse checkout": ``` svn checkout --depth empty svn+ssh://... src ``` Whenever I need a folder from the repository I can just do ``` svn up folder ``` and...
This lists all files recursively: ``` svn ls -R URL-OF-REPO ```
3059870
How do I create a new branch?
150
2010-06-17 08:02:03
<p>How do I create a new branch with my working copy using TortoiseSVN? </p> <p>I see the branch option, but I don't see a way to name it somehow.</p>
197,268
85,140
2019-05-24 21:25:10
3,059,918
64
2010-06-17 08:10:27
230,575
2010-06-17 08:10:27
https://stackoverflow.com/q/3059870
https://stackoverflow.com/a/3059918
<p>Branches in SVN are essentially directories; you don't name the branch so much as choose the name of the directory to branch into.</p> <p>The common way of 'naming' a branch is to place it under a directory called <code>branches</code> in your repository. In the "To URL:" portion of TortoiseSVN's Branch dialog, you...
<p>Branches in SVN are essentially directories; you don't name the branch so much as choose the name of the directory to branch into.</p> <p>The common way of 'naming' a branch is to place it under a directory called <code>branches</code> in your repository. In the "To URL:" portion of TortoiseSVN's Branch dialog, you...
63, 656, 1879
branch, svn, tortoisesvn
<h1>How do I create a new branch?</h1> <p>How do I create a new branch with my working copy using TortoiseSVN? </p> <p>I see the branch option, but I don't see a way to name it somehow.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,103
svn
# How do I create a new branch? How do I create a new branch with my working copy using TortoiseSVN? I see the branch option, but I don't see a way to name it somehow.
Branches in SVN are essentially directories; you don't name the branch so much as choose the name of the directory to branch into. The common way of 'naming' a branch is to place it under a directory called `branches` in your repository. In the "To URL:" portion of TortoiseSVN's Branch dialog, you would therefore ente...
458609
How to explicity tell SVN to treat a file as text, not binary
46
2009-01-19 18:24:23
<p>I have a number of files that I checked into SVN without having set up their Mime types correctly. SVN initially classified them as binary.</p> <p>I've since set their Mime type in SVN via propset to "text/plain; charset=UTF-8" and I'vc made sure that all the files are UTF-8 signed. When I do 'svn blame filename'...
51,083
49,251
2015-03-20 14:29:50
458,761
64
2009-01-19 19:09:44
48,003
2015-03-20 14:29:50
https://stackoverflow.com/q/458609
https://stackoverflow.com/a/458761
<p>Setting the svn:mime-type property to just "text/plain" helps:</p> <pre><code>svn propset svn:mime-type text/plain build.xml svn commit build.xml </code></pre> <p>Also, you can force Subversion to treat a file as text when blaming:</p> <pre><code>svn blame file/to/blame --force </code></pre>
<p>Setting the svn:mime-type property to just "text/plain" helps:</p> <pre><code>svn propset svn:mime-type text/plain build.xml svn commit build.xml </code></pre> <p>Also, you can force Subversion to treat a file as text when blaming:</p> <pre><code>svn blame file/to/blame --force </code></pre>
63, 368, 1124, 1469, 5310
binary, encoding, file, svn, text
<h1>How to explicity tell SVN to treat a file as text, not binary</h1> <p>I have a number of files that I checked into SVN without having set up their Mime types correctly. SVN initially classified them as binary.</p> <p>I've since set their Mime type in SVN via propset to "text/plain; charset=UTF-8" and I'vc made su...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,104
svn
# How to explicity tell SVN to treat a file as text, not binary I have a number of files that I checked into SVN without having set up their Mime types correctly. SVN initially classified them as binary. I've since set their Mime type in SVN via propset to "text/plain; charset=UTF-8" and I'vc made sure that all the f...
Setting the svn:mime-type property to just "text/plain" helps: ``` svn propset svn:mime-type text/plain build.xml svn commit build.xml ``` Also, you can force Subversion to treat a file as text when blaming: ``` svn blame file/to/blame --force ```
2035335
SVN: Ignore some directories recursively
110
2010-01-09 23:12:48
<p>I don't want any directory named <code>build</code> or <code>dist</code> to go into my SVN no matter how deep in the tree it is.</p> <p>Is this possible? In git I just put</p> <pre><code>build dist </code></pre> <p>in my <code>.gitignore</code> at the root and it recursively ignores. How do I do this with svn? Pl...
102,816
90,025
2017-08-03 10:02:48
28,425,994
63
2015-02-10 07:11:54
3,262,483
2015-02-10 07:11:54
https://stackoverflow.com/q/2035335
https://stackoverflow.com/a/28425994
<p>As of subversion 1.8, there is now the <code>svn:global-ignores</code> property which works like <code>svn:ignore</code> but recursively (so set this on your top-level directory)</p>
<p>As of subversion 1.8, there is now the <code>svn:global-ignores</code> property which works like <code>svn:ignore</code> but recursively (so set this on your top-level directory)</p>
63, 456, 4333
ignore, svn, version-control
<h1>SVN: Ignore some directories recursively</h1> <p>I don't want any directory named <code>build</code> or <code>dist</code> to go into my SVN no matter how deep in the tree it is.</p> <p>Is this possible? In git I just put</p> <pre><code>build dist </code></pre> <p>in my <code>.gitignore</code> at the root and it ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,105
svn
# SVN: Ignore some directories recursively I don't want any directory named `build` or `dist` to go into my SVN no matter how deep in the tree it is. Is this possible? In git I just put ``` build dist ``` in my `.gitignore` at the root and it recursively ignores. How do I do this with svn? Please don't tell me to d...
As of subversion 1.8, there is now the `svn:global-ignores` property which works like `svn:ignore` but recursively (so set this on your top-level directory)
8893976
What is the difference between SVN update to head vs synchronize with repository?
38
2012-01-17 11:39:34
<p>When I right click on my project in eclipse I see two options synchronize with repository and update to head. I am not getting what is the difference among them?</p>
72,573
802,050
2019-01-16 08:00:04
8,900,630
63
2012-01-17 19:37:34
1,101,036
2012-01-17 19:37:34
https://stackoverflow.com/q/8893976
https://stackoverflow.com/a/8900630
<p>The difference is following:</p> <p><strong>Update to HEAD</strong> will do <a href="http://svnbook.red-bean.com/en/1.7/svn.tour.cycle.html#svn.tour.cycle.update"><code>svn update</code></a>.</p> <p>In other words it will update your working copy to the last revision from the repository.</p> <p><strong>Synchroniz...
<p>The difference is following:</p> <p><strong>Update to HEAD</strong> will do <a href="http://svnbook.red-bean.com/en/1.7/svn.tour.cycle.html#svn.tour.cycle.update"><code>svn update</code></a>.</p> <p>In other words it will update your working copy to the last revision from the repository.</p> <p><strong>Synchroniz...
53, 63
eclipse, svn
<h1>What is the difference between SVN update to head vs synchronize with repository?</h1> <p>When I right click on my project in eclipse I see two options synchronize with repository and update to head. I am not getting what is the difference among them?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,107
svn
# What is the difference between SVN update to head vs synchronize with repository? When I right click on my project in eclipse I see two options synchronize with repository and update to head. I am not getting what is the difference among them?
The difference is following: **Update to HEAD** will do [`svn update`](http://svnbook.red-bean.com/en/1.7/svn.tour.cycle.html#svn.tour.cycle.update). In other words it will update your working copy to the last revision from the repository. **Synchronize with Repository** is something similar to [`svn status -u`](htt...
6369242
How to set svn:ignore with multiple values?
57
2011-06-16 08:48:04
<p>Let's say I want to set the <strong>svn:ignore</strong> property for directory <strong>dir1</strong> with multiple values, <em>file1</em>, <em>file2</em>, and <em>file3</em>. How can I do this via command line, without using a text editor (to set the property value)?</p>
22,124
223,117
2018-12-13 21:37:26
6,369,442
62
2011-06-16 09:06:47
446,210
2016-11-29 23:32:56
https://stackoverflow.com/q/6369242
https://stackoverflow.com/a/6369442
<p>Type exactly like here with line breaks:</p> <pre><code>svn propset svn:ignore "file1 file2 file3" dir1 </code></pre> <p>If you want to pass a list from another command, try <a href="http://en.wikipedia.org/wiki/Xargs" rel="noreferrer"><code>xargs</code></a>. Unfortunately, the <strong>svn</strong> command doesn't...
<p>Type exactly like here with line breaks:</p> <pre><code>svn propset svn:ignore "file1 file2 file3" dir1 </code></pre> <p>If you want to pass a list from another command, try <a href="http://en.wikipedia.org/wiki/Xargs" rel="noreferrer"><code>xargs</code></a>. Unfortunately, the <strong>svn</strong> command doesn't...
63
svn
<h1>How to set svn:ignore with multiple values?</h1> <p>Let's say I want to set the <strong>svn:ignore</strong> property for directory <strong>dir1</strong> with multiple values, <em>file1</em>, <em>file2</em>, and <em>file3</em>. How can I do this via command line, without using a text editor (to set the property valu...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,108
svn
# How to set svn:ignore with multiple values? Let's say I want to set the **svn:ignore** property for directory **dir1** with multiple values, *file1*, *file2*, and *file3*. How can I do this via command line, without using a text editor (to set the property value)?
Type exactly like here with line breaks: ``` svn propset svn:ignore "file1 file2 file3" dir1 ``` If you want to pass a list from another command, try [`xargs`](http://en.wikipedia.org/wiki/Xargs). Unfortunately, the **svn** command doesn't allow reading from `stdin` with `-F -`.
82530
svn over HTTP proxy
51
2008-09-17 12:23:56
<p>I'm on laptop (Ubuntu) with a network that use HTTP proxy (only http connections allowed).<br> When I use svn up for url like 'http://.....' everything is cool (google chrome repository works perfect), but right now I need to svn up from server with 'svn://....' and I see connection refused.<br> I've set proxy confi...
102,794
15,752
2016-11-30 14:10:03
82,600
62
2008-09-17 12:30:50
9,629
2008-09-17 12:42:14
https://stackoverflow.com/q/82530
https://stackoverflow.com/a/82600
<p>In <code>/etc/subversion/servers</code> you are setting <code>http-proxy-host</code>, which has nothing to do with <code>svn://</code> which connects to a different server usually running on port 3690 started by <code>svnserve</code> command.</p> <p>If you have access to the server, you can setup <code>svn+ssh://<...
<p>In <code>/etc/subversion/servers</code> you are setting <code>http-proxy-host</code>, which has nothing to do with <code>svn://</code> which connects to a different server usually running on port 3690 started by <code>svnserve</code> command.</p> <p>If you have access to the server, you can setup <code>svn+ssh://<...
58, 63, 549, 760
linux, proxy, svn, ubuntu
<h1>svn over HTTP proxy</h1> <p>I'm on laptop (Ubuntu) with a network that use HTTP proxy (only http connections allowed).<br> When I use svn up for url like 'http://.....' everything is cool (google chrome repository works perfect), but right now I need to svn up from server with 'svn://....' and I see connection refu...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,110
svn
# svn over HTTP proxy I'm on laptop (Ubuntu) with a network that use HTTP proxy (only http connections allowed). When I use svn up for url like 'http://.....' everything is cool (google chrome repository works perfect), but right now I need to svn up from server with 'svn://....' and I see connection refused. I've...
In `/etc/subversion/servers` you are setting `http-proxy-host`, which has nothing to do with `svn://` which connects to a different server usually running on port 3690 started by `svnserve` command. If you have access to the server, you can setup `svn+ssh://` as [explained here.](http://svnbook.red-bean.com/en/1.0/ch0...
359302
Relative Path in Subversion external configuration
37
2008-12-11 13:18:39
<p>Is there any way to use Relative path when configuring subversion externals.</p> <p>For example </p> <pre><code> Trunk - directoryA - directoryB - projectA {external DirectoryB} </code></pre> <p>For configuring ProjectA we have to configure full path in the external property which is causing pro...
27,323
32,670
2013-11-21 09:48:14
359,511
62
2008-12-11 14:25:42
2,094
2011-08-08 09:37:59
https://stackoverflow.com/q/359302
https://stackoverflow.com/a/359511
<p>Subversion 1.5 clients support relative urls:</p> <p>See the <a href="http://subversion.apache.org/docs/release-notes/1.5.html#externals" rel="noreferrer">Subversion 1.5 release notes</a> and <a href="http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html" rel="noreferrer">the subversion manual</a> for ...
<p>Subversion 1.5 clients support relative urls:</p> <p>See the <a href="http://subversion.apache.org/docs/release-notes/1.5.html#externals" rel="noreferrer">Subversion 1.5 release notes</a> and <a href="http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html" rel="noreferrer">the subversion manual</a> for ...
63
svn
<h1>Relative Path in Subversion external configuration</h1> <p>Is there any way to use Relative path when configuring subversion externals.</p> <p>For example </p> <pre><code> Trunk - directoryA - directoryB - projectA {external DirectoryB} </code></pre> <p>For configuring ProjectA we have to confi...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,111
svn
# Relative Path in Subversion external configuration Is there any way to use Relative path when configuring subversion externals. For example ``` Trunk - directoryA - directoryB - projectA {external DirectoryB} ``` For configuring ProjectA we have to configure full path in the external property w...
Subversion 1.5 clients support relative urls: See the [Subversion 1.5 release notes](http://subversion.apache.org/docs/release-notes/1.5.html#externals) and [the subversion manual](http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html) for more details Some examples: (Note that the comment syntax is not ...
539199
How to get a list of all SVN commits in a repository and who did what to what files?
36
2009-02-11 22:41:32
<p>I'm needing to get a list with all the revisions and files modified in each one, and by who.</p> <p>Is that possible?</p> <p>I need to know who user did the most changes to the repo and what changes.</p>
65,934
42,565
2012-06-28 05:12:29
539,229
61
2009-02-11 22:49:59
61,754
2012-06-28 05:12:29
https://stackoverflow.com/q/539199
https://stackoverflow.com/a/539229
<p>In the root of the working copy, type</p> <pre><code>svn log -v </code></pre> <p>This will give you everything. If this is too much then use <code>--limit</code>:</p> <pre><code>svn log -v --limit 100 </code></pre> <p>See the <a href="http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.log.html" rel="noreferrer">lo...
<p>In the root of the working copy, type</p> <pre><code>svn log -v </code></pre> <p>This will give you everything. If this is too much then use <code>--limit</code>:</p> <pre><code>svn log -v --limit 100 </code></pre> <p>See the <a href="http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.log.html" rel="noreferrer">lo...
63, 456, 7330
repository, svn, version-control
<h1>How to get a list of all SVN commits in a repository and who did what to what files?</h1> <p>I'm needing to get a list with all the revisions and files modified in each one, and by who.</p> <p>Is that possible?</p> <p>I need to know who user did the most changes to the repo and what changes.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,112
svn
# How to get a list of all SVN commits in a repository and who did what to what files? I'm needing to get a list with all the revisions and files modified in each one, and by who. Is that possible? I need to know who user did the most changes to the repo and what changes.
In the root of the working copy, type ``` svn log -v ``` This will give you everything. If this is too much then use `--limit`: ``` svn log -v --limit 100 ``` See the [log command](http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.log.html) in the [SVN Book](http://svnbook.red-bean.com/).
490522
What is the correct way to restore a deleted file from SVN?
128
2009-01-29 04:59:00
<p>I deleted a file from a repo and now want to put it back. The best I can figure out is to:</p> <ul> <li>update to the revision before the delete</li> <li>copy the files elsewhere</li> <li>update to head</li> <li>copy the files back</li> <li>add them</li> <li>commit</li> </ul> <p>That just smells bad and it looses ...
131,907
1,343
2014-07-31 11:16:01
490,528
60
2009-01-29 05:01:59
null
2009-01-29 06:12:25
https://stackoverflow.com/q/490522
https://stackoverflow.com/a/490528
<p>Use svn merge:</p> <pre><code>svn merge -c -[rev num that deleted the file] http://&lt;path to repository&gt; </code></pre> <p>So an example:</p> <pre><code>svn merge -c -12345 https://svn.mysite.com/svn/repo/project/trunk ^ The negative is important </code></pre> <p>For TortoiseSVN (I think...)</p>...
<p>Use svn merge:</p> <pre><code>svn merge -c -[rev num that deleted the file] http://&lt;path to repository&gt; </code></pre> <p>So an example:</p> <pre><code>svn merge -c -12345 https://svn.mysite.com/svn/repo/project/trunk ^ The negative is important </code></pre> <p>For TortoiseSVN (I think...)</p>...
63, 656, 5377
restore, svn, tortoisesvn
<h1>What is the correct way to restore a deleted file from SVN?</h1> <p>I deleted a file from a repo and now want to put it back. The best I can figure out is to:</p> <ul> <li>update to the revision before the delete</li> <li>copy the files elsewhere</li> <li>update to head</li> <li>copy the files back</li> <li>add th...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,113
svn
# What is the correct way to restore a deleted file from SVN? I deleted a file from a repo and now want to put it back. The best I can figure out is to: - update to the revision before the delete - copy the files elsewhere - update to head - copy the files back - add them - commit That just smells bad and it looses ...
Use svn merge: ``` svn merge -c -[rev num that deleted the file] http://<path to repository> ``` So an example: ``` svn merge -c -12345 https://svn.mysite.com/svn/repo/project/trunk ^ The negative is important ``` For TortoiseSVN (I think...) - Right click in Explorer, go to TortoiseSVN -> Merge... - ...
5102758
How to rename an SVN branch and update references in an existing sandbox?
53
2011-02-24 09:34:12
<p>I needed to rename a SVN branch, so I did:</p> <pre>$ svn move https://server/repos/myrepo/branches/oldbranch \ https://server/repos/myrepo/branches/newbranch</pre> <p>So far, so good -- the branch has been renamed.</p> <p>The trouble is, we have existing sandboxes checked out from this branch and when I try...
59,697
341,459
2014-07-07 09:46:25
5,102,999
60
2011-02-24 09:55:51
296,328
2011-02-24 09:55:51
https://stackoverflow.com/q/5102758
https://stackoverflow.com/a/5102999
<p>Just do</p> <pre><code>svn switch https://server/repos/myrepo/branches/newbranch </code></pre> <p>from within your working copy.</p>
<p>Just do</p> <pre><code>svn switch https://server/repos/myrepo/branches/newbranch </code></pre> <p>from within your working copy.</p>
63, 1879, 4510
branch, rename, svn
<h1>How to rename an SVN branch and update references in an existing sandbox?</h1> <p>I needed to rename a SVN branch, so I did:</p> <pre>$ svn move https://server/repos/myrepo/branches/oldbranch \ https://server/repos/myrepo/branches/newbranch</pre> <p>So far, so good -- the branch has been renamed.</p> <p>The...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,115
svn
# How to rename an SVN branch and update references in an existing sandbox? I needed to rename a SVN branch, so I did: ``` $ svn move https://server/repos/myrepo/branches/oldbranch \ https://server/repos/myrepo/branches/newbranch ``` So far, so good -- the branch has been renamed. The trouble is, we have existi...
Just do ``` svn switch https://server/repos/myrepo/branches/newbranch ``` from within your working copy.
4608798
How to remove all deleted files from repository?
48
2011-01-05 20:21:27
<p>I have a script in which I add all new files before to commit my working copy to my repository with this line:</p> <pre><code>svn status | grep ^\? | awk '{print $2}' | xargs svn add </code></pre> <p>I now want to add a line that delete from repository all deleted files in my working copy. In other terms, I cannot...
35,260
257,022
2015-10-15 04:29:19
4,610,543
60
2011-01-06 00:06:30
368,630
2011-01-06 00:06:30
https://stackoverflow.com/q/4608798
https://stackoverflow.com/a/4610543
<p>I just tried this and it works perfectly.</p> <pre><code>$ svn st | grep '^!' | awk '{print $2}' | xargs svn delete --force D groups.pl D textblock.pl </code></pre> <p>Do your files have spaces in their names?</p> <p><strong>WAIT A SECOND!!</strong> I see the problem. You have:</p> <pre><code>svn...
<p>I just tried this and it works perfectly.</p> <pre><code>$ svn st | grep '^!' | awk '{print $2}' | xargs svn delete --force D groups.pl D textblock.pl </code></pre> <p>Do your files have spaces in their names?</p> <p><strong>WAIT A SECOND!!</strong> I see the problem. You have:</p> <pre><code>svn...
63
svn
<h1>How to remove all deleted files from repository?</h1> <p>I have a script in which I add all new files before to commit my working copy to my repository with this line:</p> <pre><code>svn status | grep ^\? | awk '{print $2}' | xargs svn add </code></pre> <p>I now want to add a line that delete from repository all ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,116
svn
# How to remove all deleted files from repository? I have a script in which I add all new files before to commit my working copy to my repository with this line: ``` svn status | grep ^\? | awk '{print $2}' | xargs svn add ``` I now want to add a line that delete from repository all deleted files in my working copy....
I just tried this and it works perfectly. ``` $ svn st | grep '^!' | awk '{print $2}' | xargs svn delete --force D groups.pl D textblock.pl ``` Do your files have spaces in their names? **WAIT A SECOND!!** I see the problem. You have: ``` svn --force delete ``` and not: ``` svn delete --force ``` ...
4934208
Working offline with SVN on local machine temporary
39
2011-02-08 14:24:47
<p>I am working on a project currently on SVN. I however will not have access to the internet for a few days, and will be working on my project. </p> <p>Is there any way to make a clone of the repository on my local machine, commit changes to it, and when I gain access to the internet "push" them onto the shared repos...
21,965
553,877
2021-12-31 09:41:27
4,938,472
60
2011-02-08 21:08:29
520,162
2012-11-07 05:31:41
https://stackoverflow.com/q/4934208
https://stackoverflow.com/a/4938472
<p>Your problem sounds to me like <strong>the</strong> use case for <a href="http://git-scm.com/docs/git-svn"><code>git-svn</code></a>: </p> <ul> <li>set up your Git repo: <code>git svn clone http://svn.example.com/project/trunk</code></li> <li>while being online, commit your changes to SVN</li> <li>before going offli...
<p>Your problem sounds to me like <strong>the</strong> use case for <a href="http://git-scm.com/docs/git-svn"><code>git-svn</code></a>: </p> <ul> <li>set up your Git repo: <code>git svn clone http://svn.example.com/project/trunk</code></li> <li>while being online, commit your changes to SVN</li> <li>before going offli...
63, 2162, 3050, 6923, 7330
clone, local, offline, repository, svn
<h1>Working offline with SVN on local machine temporary</h1> <p>I am working on a project currently on SVN. I however will not have access to the internet for a few days, and will be working on my project. </p> <p>Is there any way to make a clone of the repository on my local machine, commit changes to it, and when I ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,118
svn
# Working offline with SVN on local machine temporary I am working on a project currently on SVN. I however will not have access to the internet for a few days, and will be working on my project. Is there any way to make a clone of the repository on my local machine, commit changes to it, and when I gain access to th...
Your problem sounds to me like **the** use case for [`git-svn`](http://git-scm.com/docs/git-svn): - set up your Git repo: `git svn clone http://svn.example.com/project/trunk` - while being online, commit your changes to SVN - before going offline, do a `git svn rebase` to get your Git repo in sync with the SVN repo - ...
53629
History of changes to a particular line of code in Subversion
81
2008-09-10 08:32:20
<p>Is it possible to see the history of changes to a particular line of code in a Subversion repository?</p> <p>I'd like, for instance, to be able to see when a particular statement was added or when that statement was changed, even if its line number is not the same any more.</p>
47,198
1,428
2019-08-23 16:55:07
53,644
59
2008-09-10 08:40:18
5,427
2013-04-29 07:53:51
https://stackoverflow.com/q/53629
https://stackoverflow.com/a/53644
<p>I don't know a method for tracking statements through time in Subversion.</p> <p>It is simple however to see when any particular line in a file was last changed using <code>svn blame</code>. Check the SVNBook: <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.blame.html" rel="noreferrer"><code>svn blame</co...
<p>I don't know a method for tracking statements through time in Subversion.</p> <p>It is simple however to see when any particular line in a file was last changed using <code>svn blame</code>. Check the SVNBook: <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.blame.html" rel="noreferrer"><code>svn blame</co...
63
svn
<h1>History of changes to a particular line of code in Subversion</h1> <p>Is it possible to see the history of changes to a particular line of code in a Subversion repository?</p> <p>I'd like, for instance, to be able to see when a particular statement was added or when that statement was changed, even if its line num...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,119
svn
# History of changes to a particular line of code in Subversion Is it possible to see the history of changes to a particular line of code in a Subversion repository? I'd like, for instance, to be able to see when a particular statement was added or when that statement was changed, even if its line number is not the s...
I don't know a method for tracking statements through time in Subversion. It is simple however to see when any particular line in a file was last changed using `svn blame`. Check the SVNBook: [`svn blame` reference](http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.blame.html): **Synopsis** ``` svn blame TARGET[@REV]...
108567
Moving Directories with History
74
2008-09-20 16:02:15
<p>I have a SVN structure like this:</p> <pre><code>/Projects /Project1 /Project2 /someFolder /Project3 /Project4 </code></pre> <p>I would like to move all the projects into the /Projects folder, which means I want to move Projects 3 and 4 from /someFolder into the /projects folder.</p> <p>The caveat...
73,642
91
2020-02-10 02:16:58
108,583
59
2008-09-20 16:06:53
3,434
2008-09-20 16:06:53
https://stackoverflow.com/q/108567
https://stackoverflow.com/a/108583
<pre><code>svn help rename </code></pre> <p>Moving/renaming in subversion keeps history intact.</p>
<pre><code>svn help rename </code></pre> <p>Moving/renaming in subversion keeps history intact.</p>
63
svn
<h1>Moving Directories with History</h1> <p>I have a SVN structure like this:</p> <pre><code>/Projects /Project1 /Project2 /someFolder /Project3 /Project4 </code></pre> <p>I would like to move all the projects into the /Projects folder, which means I want to move Projects 3 and 4 from /someFolder into...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,120
svn
# Moving Directories with History I have a SVN structure like this: ``` /Projects /Project1 /Project2 /someFolder /Project3 /Project4 ``` I would like to move all the projects into the /Projects folder, which means I want to move Projects 3 and 4 from /someFolder into the /projects folder. The cavea...
``` svn help rename ``` Moving/renaming in subversion keeps history intact.
20615677
[Error: Current working directory is not a Cordova-based project.]
43
2013-12-16 16:23:10
<p>I created a Phonegap project according to instructions, checked it into SVN, checked it out and then discovered I could no longer run the build command--necessary to have changes to www be replicated to each platform. Terminal in Mac OS X shows this error:</p> <blockquote> <p>[Error: Current working directory is ...
69,023
967,131
2016-03-25 11:40:41
23,152,577
59
2014-04-18 10:49:56
2,330,244
2014-11-13 10:33:22
https://stackoverflow.com/q/20615677
https://stackoverflow.com/a/23152577
<p>Yes as others have stated already you need to check into your SVN a few config files and folders in order to make PhoneGap work when you check it out. This is what defines a PhoneGap project:</p> <ul> <li>Has a .cordova directory, with a config.json inside.</li> <li>Has a www directory, with a config.xml inside.</l...
<p>Yes as others have stated already you need to check into your SVN a few config files and folders in order to make PhoneGap work when you check it out. This is what defines a PhoneGap project:</p> <ul> <li>Has a .cordova directory, with a config.json inside.</li> <li>Has a www directory, with a config.xml inside.</l...
63, 78331
cordova, svn
<h1>[Error: Current working directory is not a Cordova-based project.]</h1> <p>I created a Phonegap project according to instructions, checked it into SVN, checked it out and then discovered I could no longer run the build command--necessary to have changes to www be replicated to each platform. Terminal in Mac OS X sh...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,121
svn
# [Error: Current working directory is not a Cordova-based project.] I created a Phonegap project according to instructions, checked it into SVN, checked it out and then discovered I could no longer run the build command--necessary to have changes to www be replicated to each platform. Terminal in Mac OS X shows this ...
Yes as others have stated already you need to check into your SVN a few config files and folders in order to make PhoneGap work when you check it out. This is what defines a PhoneGap project: - Has a .cordova directory, with a config.json inside. - Has a www directory, with a config.xml inside. - Has a platforms direc...
5466254
Can you disable version control integration in Xcode 4?
41
2011-03-28 23:33:45
<p>I use <a href="http://www.zennaware.com/cornerstone/">Cornerstone</a> for managing my Subversion repositories, so I don't need Xcode's integration, and I'm noticing Xcode is dumping loads of SVN-related output into my console (it recognises that my project is a local SVN copy)...</p> <p>In particular, there are loa...
17,468
111,712
2014-05-10 08:45:05
7,375,965
59
2011-09-11 02:31:19
111,712
2014-05-10 08:45:05
https://stackoverflow.com/q/5466254
https://stackoverflow.com/a/7375965
<p>Right! This seems to stop it for good - simply rename the following package to something other than IDESubversion.ideplugin (I've renamed mine <code>IDESubversion-DISABLED.ideplugin</code>)...</p> <p><strong>Xcode 5.1+</strong><br> This is finally a built-in Xcode preference - <a href="https://stackoverflow.com/que...
<p>Right! This seems to stop it for good - simply rename the following package to something other than IDESubversion.ideplugin (I've renamed mine <code>IDESubversion-DISABLED.ideplugin</code>)...</p> <p><strong>Xcode 5.1+</strong><br> This is finally a built-in Xcode preference - <a href="https://stackoverflow.com/que...
63, 456, 908
svn, version-control, xcode
<h1>Can you disable version control integration in Xcode 4?</h1> <p>I use <a href="http://www.zennaware.com/cornerstone/">Cornerstone</a> for managing my Subversion repositories, so I don't need Xcode's integration, and I'm noticing Xcode is dumping loads of SVN-related output into my console (it recognises that my pro...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,122
svn
# Can you disable version control integration in Xcode 4? I use [Cornerstone](http://www.zennaware.com/cornerstone/) for managing my Subversion repositories, so I don't need Xcode's integration, and I'm noticing Xcode is dumping loads of SVN-related output into my console (it recognises that my project is a local SVN ...
Right! This seems to stop it for good - simply rename the following package to something other than IDESubversion.ideplugin (I've renamed mine `IDESubversion-DISABLED.ideplugin`)... **Xcode 5.1+** This is finally a built-in Xcode preference - [see @MANIAK_dobrii's answer](https://stackoverflow.com/questions/5466254/...
7449503
How can I ignore eol changes and all white space in svn?
40
2011-09-16 19:34:29
<p>Combining svn diff --ignore-eol-style and --ignore-all-space is not working:</p> <pre><code>$ svn diff -x -w --ignore-eol-style -r 1143:1177 somefile svn: invalid option: --ignore-eol-style </code></pre> <p>And,</p> <pre><code>$ svn diff -x --ignore-eol-style -x --ignore-all-space -r 1143:1177 somefile </code></p...
21,999
null
2014-09-02 12:55:19
7,451,186
59
2011-09-16 22:59:44
947,357
2011-09-16 22:59:44
https://stackoverflow.com/q/7449503
https://stackoverflow.com/a/7451186
<p>The <code>svn</code> command seems to honour only <em>one</em> <code>-x</code> option. This means, you must/can combine <em>all</em> options into <em>one</em> argument:</p> <pre><code> svn diff -x "-w --ignore-eol-style" </code></pre> <p>I did not test whether this is also true for external diff-tools.</p>
<p>The <code>svn</code> command seems to honour only <em>one</em> <code>-x</code> option. This means, you must/can combine <em>all</em> options into <em>one</em> argument:</p> <pre><code> svn diff -x "-w --ignore-eol-style" </code></pre> <p>I did not test whether this is also true for external diff-tools.</p>
63, 1084, 12863
eol, svn, whitespace
<h1>How can I ignore eol changes and all white space in svn?</h1> <p>Combining svn diff --ignore-eol-style and --ignore-all-space is not working:</p> <pre><code>$ svn diff -x -w --ignore-eol-style -r 1143:1177 somefile svn: invalid option: --ignore-eol-style </code></pre> <p>And,</p> <pre><code>$ svn diff -x --ignor...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,123
svn
# How can I ignore eol changes and all white space in svn? Combining svn diff --ignore-eol-style and --ignore-all-space is not working: ``` $ svn diff -x -w --ignore-eol-style -r 1143:1177 somefile svn: invalid option: --ignore-eol-style ``` And, ``` $ svn diff -x --ignore-eol-style -x --ignore-all-space -r 1143:11...
The `svn` command seems to honour only *one* `-x` option. This means, you must/can combine *all* options into *one* argument: ``` svn diff -x "-w --ignore-eol-style" ``` I did not test whether this is also true for external diff-tools.
2140954
Which protocol? svn:// or http(s)://?
64
2010-01-26 16:48:34
<p>There are four common protocols for network access of SVN.</p> <pre><code>svn://repos svn+ssh://repos https://repos http://repos </code></pre> <p>The Wikipedia page doesn't say much about the differences of the four different protocols. I've always preferred <code>svn://</code>, because it is the easiest to set up...
78,499
69,742
2016-08-10 17:53:55
2,140,973
58
2010-01-26 16:51:43
95,135
2015-11-14 23:38:37
https://stackoverflow.com/q/2140954
https://stackoverflow.com/a/2140973
<p><code>http://</code> has a <b>serious</b> overhead, especially when dealing with thousands of small files. I used svn for a website that had around 50,000 icons, all saved in SVN. With HTTP, it took around 20 minutes to checkout. Once I switched to <code>svn://</code>, it took less than a minute. This is because wit...
<p><code>http://</code> has a <b>serious</b> overhead, especially when dealing with thousands of small files. I used svn for a website that had around 50,000 icons, all saved in SVN. With HTTP, it took around 20 minutes to checkout. Once I switched to <code>svn://</code>, it took less than a minute. This is because wit...
63, 4462, 5210
http, protocols, svn
<h1>Which protocol? svn:// or http(s)://?</h1> <p>There are four common protocols for network access of SVN.</p> <pre><code>svn://repos svn+ssh://repos https://repos http://repos </code></pre> <p>The Wikipedia page doesn't say much about the differences of the four different protocols. I've always preferred <code>svn...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,125
svn
# Which protocol? svn:// or http(s)://? There are four common protocols for network access of SVN. ``` svn://repos svn+ssh://repos https://repos http://repos ``` The Wikipedia page doesn't say much about the differences of the four different protocols. I've always preferred `svn://`, because it is the easiest to set...
`http://` has a **serious** overhead, especially when dealing with thousands of small files. I used svn for a website that had around 50,000 icons, all saved in SVN. With HTTP, it took around 20 minutes to checkout. Once I switched to `svn://`, it took less than a minute. This is because with HTTP it's one new HTTP req...
5984625
Ignore a folder during SVN updates
38
2011-05-12 21:21:26
<p>If I svn:ignore a really big folder will it improve performance during SVN updates?</p> <p>I have this really massive (>600MB) folder in my project. The files in this folder should not be changing at all. The problem is that every time I call "svn update" it takes forever. Is there a way to ignore this folder durin...
48,564
80,559
2020-01-04 11:39:34
5,986,216
58
2011-05-13 01:02:28
368,630
2011-05-13 01:02:28
https://stackoverflow.com/q/5984625
https://stackoverflow.com/a/5986216
<p>The <code>svn:ignore</code> is only for files that are not already in the Subversion repository. This folder already is.</p> <p>You can use the <code>svn update --set-depth exclude</code> <em><code>folderName</code></em> to remove this folder from your working directory:</p> <pre><code>$ svn update --set-depth exc...
<p>The <code>svn:ignore</code> is only for files that are not already in the Subversion repository. This folder already is.</p> <p>You can use the <code>svn update --set-depth exclude</code> <em><code>folderName</code></em> to remove this folder from your working directory:</p> <pre><code>$ svn update --set-depth exc...
63, 19160
svn, svnignore
<h1>Ignore a folder during SVN updates</h1> <p>If I svn:ignore a really big folder will it improve performance during SVN updates?</p> <p>I have this really massive (>600MB) folder in my project. The files in this folder should not be changing at all. The problem is that every time I call "svn update" it takes forever...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,126
svn
# Ignore a folder during SVN updates If I svn:ignore a really big folder will it improve performance during SVN updates? I have this really massive (>600MB) folder in my project. The files in this folder should not be changing at all. The problem is that every time I call "svn update" it takes forever. Is there a way...
The `svn:ignore` is only for files that are not already in the Subversion repository. This folder already is. You can use the `svn update --set-depth exclude` *`folderName`* to remove this folder from your working directory: ``` $ svn update --set-depth exclude bigFolder #Removes "bigFolder" from workdir D bigFolder...