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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
814433 | How do I return to an older version of our code in Subversion? | 529 | 2009-05-02 08:35:42 | <p>I'm working on a project with a friend and I want to return to an older version of our code and set it to be the current. How do I do it?</p>
<p>I'm using "anksvn" on vs08.</p>
<p>I have the version that I want on my PC, but the commit is failing; The message that I get is
"commit is failed, file or directory is ... | 760,881 | 67,505 | 2021-08-27 00:52:52 | 814,436 | 848 | 2009-05-02 08:38:28 | 22,656 | 2015-05-08 11:54:40 | https://stackoverflow.com/q/814433 | https://stackoverflow.com/a/814436 | <p>Basically you need to "merge backwards" - apply a diff between the current and previous version <em>to</em> the current version (so you end up with a working copy looking like the old version) and then commit again. So for example to go from revision 150 (current) back to revision 140:</p>
<pre><code>svn update
svn... | <p>Basically you need to "merge backwards" - apply a diff between the current and previous version <em>to</em> the current version (so you end up with a working copy looking like the old version) and then commit again. So for example to go from revision 150 (current) back to revision 140:</p> <pre><code>svn update svn... | 63, 2019 | backport, svn | <h1>How do I return to an older version of our code in Subversion?</h1>
<p>I'm working on a project with a friend and I want to return to an older version of our code and set it to be the current. How do I do it?</p>
<p>I'm using "anksvn" on vs08.</p>
<p>I have the version that I want on my PC, but the commit is fail... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,874 | svn | # How do I return to an older version of our code in Subversion?
I'm working on a project with a friend and I want to return to an older version of our code and set it to be the current. How do I do it?
I'm using "anksvn" on vs08.
I have the version that I want on my PC, but the commit is failing; The message that I... | Basically you need to "merge backwards" - apply a diff between the current and previous version *to* the current version (so you end up with a working copy looking like the old version) and then commit again. So for example to go from revision 150 (current) back to revision 140:
```
svn update
svn merge -r 150:140 .
s... |
116074 | How do I ignore a directory with SVN? | 796 | 2008-09-22 16:55:59 | <p>I just started using SVN, and I have a cache directory that I don't need under source control. How can I ignore the whole directory/folder with SVN?</p>
<p>I am using <a href="https://en.wikipedia.org/wiki/Comparison_of_Subversion_clients#Standalone_Subversion_clients_comparison_table" rel="noreferrer">Versions</a>... | 629,309 | 6,305 | 2022-06-16 13:56:00 | 116,075 | 836 | 2008-09-22 16:56:30 | 4,926 | 2015-01-15 15:52:12 | https://stackoverflow.com/q/116074 | https://stackoverflow.com/a/116075 | <p>Set the <code>svn:ignore</code> property of the parent directory:</p>
<pre><code>svn propset svn:ignore dirname .
</code></pre>
<p>If you have multiple things to ignore, separate by newlines in the property value. In that case it's easier to edit the property value using an external editor:</p>
<pre><code>svn pr... | <p>Set the <code>svn:ignore</code> property of the parent directory:</p> <pre><code>svn propset svn:ignore dirname . </code></pre> <p>If you have multiple things to ignore, separate by newlines in the property value. In that case it's easier to edit the property value using an external editor:</p> <pre><code>svn pr... | 63, 218, 456 | directory, svn, version-control | <h1>How do I ignore a directory with SVN?</h1>
<p>I just started using SVN, and I have a cache directory that I don't need under source control. How can I ignore the whole directory/folder with SVN?</p>
<p>I am using <a href="https://en.wikipedia.org/wiki/Comparison_of_Subversion_clients#Standalone_Subversion_clients_... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,875 | svn | # How do I ignore a directory with SVN?
I just started using SVN, and I have a cache directory that I don't need under source control. How can I ignore the whole directory/folder with SVN?
I am using [Versions](https://en.wikipedia.org/wiki/Comparison_of_Subversion_clients#Standalone_Subversion_clients_comparison_tab... | Set the `svn:ignore` property of the parent directory:
```
svn propset svn:ignore dirname .
```
If you have multiple things to ignore, separate by newlines in the property value. In that case it's easier to edit the property value using an external editor:
```
svn propedit svn:ignore .
``` |
86049 | How do I ignore files in Subversion? | 721 | 2008-09-17 18:15:55 | <p>How do I ignore files in Subversion?</p>
<p>Also, how do I find files which are not under version control?</p>
| 709,777 | 2,108 | 2023-02-28 11:16:42 | 86,052 | 816 | 2008-09-17 18:16:07 | 2,108 | 2023-02-28 11:16:42 | https://stackoverflow.com/q/86049 | https://stackoverflow.com/a/86052 | <p>(This answer has been updated to match SVN 1.8 and 1.9's behaviour)</p>
<p>You have 2 questions:</p>
<h1>Marking files as ignored:</h1>
<p>By "ignored file" I mean the file won't appear in lists even as "unversioned": your SVN client will pretend the file doesn't exist at all in the filesystem.</... | <p>(This answer has been updated to match SVN 1.8 and 1.9's behaviour)</p> <p>You have 2 questions:</p> <h1>Marking files as ignored:</h1> <p>By "ignored file" I mean the file won't appear in lists even as "unversioned": your SVN client will pretend the file doesn't exist at all in the filesystem.</... | 63, 1796 | command, svn | <h1>How do I ignore files in Subversion?</h1>
<p>How do I ignore files in Subversion?</p>
<p>Also, how do I find files which are not under version control?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,877 | svn | # How do I ignore files in Subversion?
How do I ignore files in Subversion?
Also, how do I find files which are not under version control? | (This answer has been updated to match SVN 1.8 and 1.9's behaviour)
You have 2 questions:
# Marking files as ignored:
By "ignored file" I mean the file won't appear in lists even as "unversioned": your SVN client will pretend the file doesn't exist at all in the filesystem.
Ignored files are specified by a "file pa... |
87950 | How do you overcome the svn 'out of date' error? | 349 | 2008-09-17 21:38:50 | <p>I've been attempting move a directory structure from one location to another in Subversion, but I get an <code>Item '*' is out of date</code> commit error. </p>
<p>I have the latest version checked out (so far as I can tell). <code>svn st -u</code> turns up no differences other than the mv commands.</p>
| 341,118 | 16,562 | 2017-12-01 13:10:19 | 88,079 | 671 | 2008-09-17 21:52:50 | 9,316 | 2008-09-17 21:52:50 | https://stackoverflow.com/q/87950 | https://stackoverflow.com/a/88079 | <p>I sometimes get this with TortoiseSVN on windows. The solution for me is to <code>svn update</code> the directory, even though there are no revisions to download or update. It does something to the metadata, which magically fixes it.</p>
| <p>I sometimes get this with TortoiseSVN on windows. The solution for me is to <code>svn update</code> the directory, even though there are no revisions to download or update. It does something to the metadata, which magically fixes it.</p> | 63 | svn | <h1>How do you overcome the svn 'out of date' error?</h1>
<p>I've been attempting move a directory structure from one location to another in Subversion, but I get an <code>Item '*' is out of date</code> commit error. </p>
<p>I have the latest version checked out (so far as I can tell). <code>svn st -u</code> turns up... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,878 | svn | # How do you overcome the svn 'out of date' error?
I've been attempting move a directory structure from one location to another in Subversion, but I get an `Item '*' is out of date` commit error.
I have the latest version checked out (so far as I can tell). `svn st -u` turns up no differences other than the mv comman... | I sometimes get this with TortoiseSVN on windows. The solution for me is to `svn update` the directory, even though there are no revisions to download or update. It does something to the metadata, which magically fixes it. |
304383 | How to edit log message already committed in Subversion? | 602 | 2008-11-20 05:13:19 | <p>Is there a way to edit the log message of a certain revision in Subversion? I accidentally wrote the wrong filename in my commit message which could be confusing later.</p>
<p>I've seen <em><a href="https://stackoverflow.com/questions/179123/how-do-i-edit-an-incorrect-commit-message-in-git">How do I edit an incorre... | 331,480 | 813 | 2024-08-28 19:00:29 | 304,390 | 488 | 2008-11-20 05:16:20 | 15,061 | 2011-02-24 11:32:38 | https://stackoverflow.com/q/304383 | https://stackoverflow.com/a/304390 | <p>Essentially you have to have admin rights (directly or indirectly) to the repository to do this. You can either configure the repository to allow all users to do this, or you can modify the log message directly on the server. </p>
<p>See <a href="http://subversion.apache.org/faq.html#change-log-msg" rel="noreferre... | <p>Essentially you have to have admin rights (directly or indirectly) to the repository to do this. You can either configure the repository to allow all users to do this, or you can modify the log message directly on the server. </p> <p>See <a href="http://subversion.apache.org/faq.html#change-log-msg" rel="noreferre... | 63, 5597 | commit, svn | <h1>How to edit log message already committed in Subversion?</h1>
<p>Is there a way to edit the log message of a certain revision in Subversion? I accidentally wrote the wrong filename in my commit message which could be confusing later.</p>
<p>I've seen <em><a href="https://stackoverflow.com/questions/179123/how-do-i... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,882 | svn | # How to edit log message already committed in Subversion?
Is there a way to edit the log message of a certain revision in Subversion? I accidentally wrote the wrong filename in my commit message which could be confusing later.
I've seen *[How do I edit an incorrect commit message in Git?](https://stackoverflow.com/q... | Essentially you have to have admin rights (directly or indirectly) to the repository to do this. You can either configure the repository to allow all users to do this, or you can modify the log message directly on the server.
See [this part](http://subversion.apache.org/faq.html#change-log-msg) of the [Subversion FAQ]... |
2406469 | SVN remains in conflict? | 303 | 2010-03-09 03:35:07 | <p>How do I get this directory out of conflict? I don't care if it's resolved using "theirs" or "mine" or whatever... </p>
<pre><code>PS C:\Users\Mark\Desktop\myproject> svn ci -m "gr"
svn: Commit failed (details follow):
svn: Aborting commit: 'C:\Users\Mark\Desktop\myproject\addons' remains in conflict
PS C:\User... | 412,334 | 65,387 | 2019-11-14 06:45:23 | 6,183,827 | 488 | 2011-05-31 06:34:47 | 26,387 | 2011-05-31 06:34:47 | https://stackoverflow.com/q/2406469 | https://stackoverflow.com/a/6183827 | <p>Give the following command:</p>
<pre><code>svn resolved <filename or directory that gives trouble>
</code></pre>
<p>(Thanks to @Jeremy Leipzig for this answer in a comment)</p>
| <p>Give the following command:</p> <pre><code>svn resolved <filename or directory that gives trouble> </code></pre> <p>(Thanks to @Jeremy Leipzig for this answer in a comment)</p> | 63 | svn | <h1>SVN remains in conflict?</h1>
<p>How do I get this directory out of conflict? I don't care if it's resolved using "theirs" or "mine" or whatever... </p>
<pre><code>PS C:\Users\Mark\Desktop\myproject> svn ci -m "gr"
svn: Commit failed (details follow):
svn: Aborting commit: 'C:\Users\Mark\Desktop\myproject\addon... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,883 | svn | # SVN remains in conflict?
How do I get this directory out of conflict? I don't care if it's resolved using "theirs" or "mine" or whatever...
```
PS C:\Users\Mark\Desktop\myproject> svn ci -m "gr"
svn: Commit failed (details follow):
svn: Aborting commit: 'C:\Users\Mark\Desktop\myproject\addons' remains in conflict
... | Give the following command:
```
svn resolved <filename or directory that gives trouble>
```
(Thanks to @Jeremy Leipzig for this answer in a comment) |
62570 | How do I move a file (or folder) from one folder to another in TortoiseSVN? | 255 | 2008-09-15 12:57:16 | <p>I would like to move a file or folder from one place to another within the same repository without having to use Repo Browser to do it, and without creating two independent add/delete operations. Using Repo Browser works fine except that your code will be hanging in a broken state until you get any supporting chang... | 163,706 | 1,436 | 2019-07-09 13:02:35 | 62,642 | 460 | 2008-09-15 13:05:04 | 6,844 | 2014-10-02 21:40:47 | https://stackoverflow.com/q/62570 | https://stackoverflow.com/a/62642 | <p>To move a file or set of files using <code>Tortoise SVN</code>, right-click-and-drag the target files to their destination and release the right mouse button. The popup menu will have a <code>SVN move versioned files here</code> option.</p>
<p><strong>Note that the destination folder must have already been added to... | <p>To move a file or set of files using <code>Tortoise SVN</code>, right-click-and-drag the target files to their destination and release the right mouse button. The popup menu will have a <code>SVN move versioned files here</code> option.</p> <p><strong>Note that the destination folder must have already been added to... | 63, 656 | svn, tortoisesvn | <h1>How do I move a file (or folder) from one folder to another in TortoiseSVN?</h1>
<p>I would like to move a file or folder from one place to another within the same repository without having to use Repo Browser to do it, and without creating two independent add/delete operations. Using Repo Browser works fine excep... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,884 | svn | # How do I move a file (or folder) from one folder to another in TortoiseSVN?
I would like to move a file or folder from one place to another within the same repository without having to use Repo Browser to do it, and without creating two independent add/delete operations. Using Repo Browser works fine except that you... | To move a file or set of files using `Tortoise SVN`, right-click-and-drag the target files to their destination and release the right mouse button. The popup menu will have a `SVN move versioned files here` option.
**Note that the destination folder must have already been added to the repository for the `SVN move vers... |
4317973 | How to resolve "local edit, incoming delete upon update" message | 307 | 2010-11-30 20:03:02 | <p>When I do a <code>svn status .</code>, I get this:</p>
<pre><code>! C auto-complete-config.elc
> local edit, incoming delete upon update
! + C auto-complete.elc
> local edit, incoming delete upon update
! + C popup.elc
> local edit, incoming delete upon update
! + C fuzzy.... | 174,591 | 369,203 | 2024-04-17 19:26:07 | 4,479,378 | 454 | 2010-12-18 18:20:06 | 360,899 | 2024-04-17 19:26:07 | https://stackoverflow.com/q/4317973 | https://stackoverflow.com/a/4479378 | <p>Short version:</p>
<pre><code>$ svn st
! + C foo
> local edit, incoming delete upon update
! + C bar
> local edit, incoming delete upon update
$ touch foo bar
$ svn revert foo bar
$ rm foo bar
</code></pre>
<p>If the conflict is about directories instead of files then replace <code>touch</c... | <p>Short version:</p> <pre><code>$ svn st ! + C foo > local edit, incoming delete upon update ! + C bar > local edit, incoming delete upon update $ touch foo bar $ svn revert foo bar $ rm foo bar </code></pre> <p>If the conflict is about directories instead of files then replace <code>touch</c... | 63 | svn | <h1>How to resolve "local edit, incoming delete upon update" message</h1>
<p>When I do a <code>svn status .</code>, I get this:</p>
<pre><code>! C auto-complete-config.elc
> local edit, incoming delete upon update
! + C auto-complete.elc
> local edit, incoming delete upon update
! + C pop... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,885 | svn | # How to resolve "local edit, incoming delete upon update" message
When I do a `svn status .`, I get this:
```
! C auto-complete-config.elc
> local edit, incoming delete upon update
! + C auto-complete.elc
> local edit, incoming delete upon update
! + C popup.elc
> local edit, incoming... | Short version:
```
$ svn st
! + C foo
> local edit, incoming delete upon update
! + C bar
> local edit, incoming delete upon update
$ touch foo bar
$ svn revert foo bar
$ rm foo bar
```
If the conflict is about directories instead of files then replace `touch` with `mkdir` and `rm` with `rm -r`.
... |
122107 | Checkout one file from Subversion | 343 | 2008-09-23 16:26:32 | <p><strong>"It is not possible to check out a single file. The finest level of checkouts you can do is at the directory level."</strong></p>
<p>How do I get around this issue when using Subversion?</p>
<p>We have this folder in Subversion where we keep all our images. I just want to check out one file (image) from th... | 355,444 | 1,175,964 | 2022-04-20 19:24:41 | 122,291 | 428 | 2008-09-23 16:58:27 | 13,005 | 2015-08-23 20:14:54 | https://stackoverflow.com/q/122107 | https://stackoverflow.com/a/122291 | <p>The simple answer is that you <code>svn export</code> the file instead of checking it out.</p>
<p>But that might not be what you want. You might want to work on the file and check it back in, without having to download GB of junk you don't need.</p>
<p>If you have Subversion 1.5+, then do a sparse checkout:</p>
<... | <p>The simple answer is that you <code>svn export</code> the file instead of checking it out.</p> <p>But that might not be what you want. You might want to work on the file and check it back in, without having to download GB of junk you don't need.</p> <p>If you have Subversion 1.5+, then do a sparse checkout:</p> <... | 63, 456 | svn, version-control | <h1>Checkout one file from Subversion</h1>
<p><strong>"It is not possible to check out a single file. The finest level of checkouts you can do is at the directory level."</strong></p>
<p>How do I get around this issue when using Subversion?</p>
<p>We have this folder in Subversion where we keep all our images. I just... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,886 | svn | # Checkout one file from Subversion
**"It is not possible to check out a single file. The finest level of checkouts you can do is at the directory level."**
How do I get around this issue when using Subversion?
We have this folder in Subversion where we keep all our images. I just want to check out one file (image) ... | The simple answer is that you `svn export` the file instead of checking it out.
But that might not be what you want. You might want to work on the file and check it back in, without having to download GB of junk you don't need.
If you have Subversion 1.5+, then do a sparse checkout:
```
svn checkout <url_of_big_dir>... |
738367 | Why am I getting tree conflicts in Subversion? | 362 | 2009-04-10 17:57:06 | <p>I had a feature branch of my trunk and was merging changes from my trunk into my branch periodically and everything was working fine. Today I went to merge the branch back down into the trunk and any of the files that were added to my trunk after the creation of my branch were flagged as a "tree conflict". Is there ... | 303,978 | 18,926 | 2024-06-08 17:19:18 | 3,728,710 | 405 | 2010-09-16 16:31:53 | 134,265 | 2016-12-03 08:52:40 | https://stackoverflow.com/q/738367 | https://stackoverflow.com/a/3728710 | <p>I found the solution reading the link that Gary gave (and I suggest to follow this way).</p>
<p>Summarizing to resolve the tree conflict <strong>committing your working directory</strong> with SVN client 1.6.x you can use:</p>
<pre><code>svn resolve --accept working -R .
</code></pre>
<p>where <code>.</code> is t... | <p>I found the solution reading the link that Gary gave (and I suggest to follow this way).</p> <p>Summarizing to resolve the tree conflict <strong>committing your working directory</strong> with SVN client 1.6.x you can use:</p> <pre><code>svn resolve --accept working -R . </code></pre> <p>where <code>.</code> is t... | 63, 717, 28636 | merge, svn, tree-conflict | <h1>Why am I getting tree conflicts in Subversion?</h1>
<p>I had a feature branch of my trunk and was merging changes from my trunk into my branch periodically and everything was working fine. Today I went to merge the branch back down into the trunk and any of the files that were added to my trunk after the creation o... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,888 | svn | # Why am I getting tree conflicts in Subversion?
I had a feature branch of my trunk and was merging changes from my trunk into my branch periodically and everything was working fine. Today I went to merge the branch back down into the trunk and any of the files that were added to my trunk after the creation of my bran... | I found the solution reading the link that Gary gave (and I suggest to follow this way).
Summarizing to resolve the tree conflict **committing your working directory** with SVN client 1.6.x you can use:
```
svn resolve --accept working -R .
```
where `.` is the directory in conflict.
**WARNING**: *"Committing your ... |
2041 | How do I create a branch? | 677 | 2008-08-05 09:25:29 | <p>How do I create a branch in SVN?</p>
| 723,750 | 269 | 2020-03-27 05:54:59 | 2,310 | 379 | 2008-08-05 13:40:20 | 193 | 2018-07-02 18:44:15 | https://stackoverflow.com/q/2041 | https://stackoverflow.com/a/2310 | <p>Branching in Subversion is facilitated by a very very light and efficient copying facility.</p>
<p>Branching and tagging are effectively the same. Just copy a whole folder in the repository to somewhere else in the repository using the <code>svn copy</code> command.</p>
<p>Basically this means that it is by conven... | <p>Branching in Subversion is facilitated by a very very light and efficient copying facility.</p> <p>Branching and tagging are effectively the same. Just copy a whole folder in the repository to somewhere else in the repository using the <code>svn copy</code> command.</p> <p>Basically this means that it is by conven... | 63, 456, 1879, 53847 | branch, branching-and-merging, svn, version-control | <h1>How do I create a branch?</h1>
<p>How do I create a branch in SVN?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,889 | svn | # How do I create a branch?
How do I create a branch in SVN? | Branching in Subversion is facilitated by a very very light and efficient copying facility.
Branching and tagging are effectively the same. Just copy a whole folder in the repository to somewhere else in the repository using the `svn copy` command.
Basically this means that it is by convention what copying a folder m... |
1516188 | SVN Commit specific files | 243 | 2009-10-04 11:22:47 | <p>Is there any way to commit only a list of specific files (e.q. just one of the list of files that SVN wants to commit).</p>
<p>I'm working on MAC OS X under Terminal, without any UI.</p>
| 208,502 | 88,702 | 2015-11-30 20:01:47 | 1,516,189 | 365 | 2009-10-04 11:24:40 | 28,169 | 2009-10-04 11:36:30 | https://stackoverflow.com/q/1516188 | https://stackoverflow.com/a/1516189 | <p>Sure. Just list the files:</p>
<pre><code>$ svn ci -m "Fixed all those horrible crashes" foo bar baz graphics/logo.png
</code></pre>
<p>I'm not aware of a way to tell it to ignore a certain set of files. Of course, if the files you do want to commit are easily listed by the shell, you can use that:</p>
<pre><code... | <p>Sure. Just list the files:</p> <pre><code>$ svn ci -m "Fixed all those horrible crashes" foo bar baz graphics/logo.png </code></pre> <p>I'm not aware of a way to tell it to ignore a certain set of files. Of course, if the files you do want to commit are easily listed by the shell, you can use that:</p> <pre><code... | 63, 391 | svn, terminal | <h1>SVN Commit specific files</h1>
<p>Is there any way to commit only a list of specific files (e.q. just one of the list of files that SVN wants to commit).</p>
<p>I'm working on MAC OS X under Terminal, without any UI.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,891 | svn | # SVN Commit specific files
Is there any way to commit only a list of specific files (e.q. just one of the list of files that SVN wants to commit).
I'm working on MAC OS X under Terminal, without any UI. | Sure. Just list the files:
```
$ svn ci -m "Fixed all those horrible crashes" foo bar baz graphics/logo.png
```
I'm not aware of a way to tell it to ignore a certain set of files. Of course, if the files you do want to commit are easily listed by the shell, you can use that:
```
$ svn ci -m "No longer sets printer o... |
1071857 | How do I 'svn add' all unversioned files to SVN? | 185 | 2009-07-01 23:46:00 | <p>I'm looking for a good way to automatically 'svn add' all unversioned files in a working copy to my SVN repository. </p>
<p>I have a live server that can create a few files that should be under source control. I would like to have a short script that I can run to automatically add these, instead of going through a... | 210,229 | 100,288 | 2019-12-11 16:01:28 | 4,046,862 | 354 | 2010-10-28 20:22:16 | 490,589 | 2015-11-01 19:20:31 | https://stackoverflow.com/q/1071857 | https://stackoverflow.com/a/4046862 | <p><code>svn add --force * --auto-props --parents --depth infinity -q</code></p>
<p>Great tip! One remark: my <a href="http://en.wikipedia.org/wiki/Eclipse_%28software%29" rel="noreferrer">Eclipse</a> adds new files to the ignore list automatically. It may be a matter of configuration, but anyhow: there is the <code>-... | <p><code>svn add --force * --auto-props --parents --depth infinity -q</code></p> <p>Great tip! One remark: my <a href="http://en.wikipedia.org/wiki/Eclipse_%28software%29" rel="noreferrer">Eclipse</a> adds new files to the ignore list automatically. It may be a matter of configuration, but anyhow: there is the <code>-... | 63, 1231, 23964 | command-line, svn, windows-server-2003 | <h1>How do I 'svn add' all unversioned files to SVN?</h1>
<p>I'm looking for a good way to automatically 'svn add' all unversioned files in a working copy to my SVN repository. </p>
<p>I have a live server that can create a few files that should be under source control. I would like to have a short script that I can ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,892 | svn | # How do I 'svn add' all unversioned files to SVN?
I'm looking for a good way to automatically 'svn add' all unversioned files in a working copy to my SVN repository.
I have a live server that can create a few files that should be under source control. I would like to have a short script that I can run to automatical... | `svn add --force * --auto-props --parents --depth infinity -q`
Great tip! One remark: my [Eclipse](http://en.wikipedia.org/wiki/Eclipse_%28software%29) adds new files to the ignore list automatically. It may be a matter of configuration, but anyhow: there is the `--no-ignore` option that helps.
After this, you can co... |
8139605 | Does svn have a `revert-all` command? | 166 | 2011-11-15 16:24:04 | <p>If I want to throw away all of my changes, and return to the code that is on the repository, I do the following:</p>
<pre><code>$ rm -fr *
$ svn up
</code></pre>
<p>This is easy enough, but I'm wondering if there is a single command that will accomplish this, something like:</p>
<pre><code>$ svn revert-all
</code... | 147,123 | 82,474 | 2024-03-28 22:08:52 | 8,139,753 | 324 | 2011-11-15 16:34:14 | 1,048,003 | 2011-11-15 16:34:14 | https://stackoverflow.com/q/8139605 | https://stackoverflow.com/a/8139753 | <p>You could do:</p>
<pre><code>svn revert -R .
</code></pre>
<p>This will not delete any new file not under version control. But you can easily write a shell script to do that like:</p>
<pre><code>for file in `svn status|grep "^ *?"|sed -e 's/^ *? *//'`; do rm $file ; done
</code></pre>
| <p>You could do:</p> <pre><code>svn revert -R . </code></pre> <p>This will not delete any new file not under version control. But you can easily write a shell script to do that like:</p> <pre><code>for file in `svn status|grep "^ *?"|sed -e 's/^ *? *//'`; do rm $file ; done </code></pre> | 63, 1231 | command-line, svn | <h1>Does svn have a `revert-all` command?</h1>
<p>If I want to throw away all of my changes, and return to the code that is on the repository, I do the following:</p>
<pre><code>$ rm -fr *
$ svn up
</code></pre>
<p>This is easy enough, but I'm wondering if there is a single command that will accomplish this, somethin... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,894 | svn | # Does svn have a `revert-all` command?
If I want to throw away all of my changes, and return to the code that is on the repository, I do the following:
```
$ rm -fr *
$ svn up
```
This is easy enough, but I'm wondering if there is a single command that will accomplish this, something like:
```
$ svn revert-all
``` | You could do:
```
svn revert -R .
```
This will not delete any new file not under version control. But you can easily write a shell script to do that like:
```
for file in `svn status|grep "^ *?"|sed -e 's/^ *? *//'`; do rm $file ; done
``` |
5083242 | Undo svn add without reverting local edits | 175 | 2011-02-22 20:00:10 | <p>I accidentally ran <code>svn add *</code> and added a bunch of files that shouldn't be in the repository. I also have local edits in some files that I want to keep. Is there a simple way to just undo the <code>svn add</code> without reverting the local edits? The main suggestion I see on Google is <code>svn revert</... | 88,134 | 329,781 | 2022-05-10 05:49:41 | 8,197,658 | 311 | 2011-11-19 21:56:50 | 366,476 | 2022-05-10 05:49:41 | https://stackoverflow.com/q/5083242 | https://stackoverflow.com/a/8197658 | <p>That would be:</p>
<pre><code>svn rm --keep-local
</code></pre>
<p>The same thing happened to me. :-P</p>
<p>Many people have commented that you should use:</p>
<pre><code>svn rm --keep-local FILENAME
</code></pre>
<p>to apply the command on one or many files. (The first command would apply to everything, which may ... | <p>That would be:</p> <pre><code>svn rm --keep-local </code></pre> <p>The same thing happened to me. :-P</p> <p>Many people have commented that you should use:</p> <pre><code>svn rm --keep-local FILENAME </code></pre> <p>to apply the command on one or many files. (The first command would apply to everything, which may ... | 63 | svn | <h1>Undo svn add without reverting local edits</h1>
<p>I accidentally ran <code>svn add *</code> and added a bunch of files that shouldn't be in the repository. I also have local edits in some files that I want to keep. Is there a simple way to just undo the <code>svn add</code> without reverting the local edits? The m... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,895 | svn | # Undo svn add without reverting local edits
I accidentally ran `svn add *` and added a bunch of files that shouldn't be in the repository. I also have local edits in some files that I want to keep. Is there a simple way to just undo the `svn add` without reverting the local edits? The main suggestion I see on Google ... | That would be:
```
svn rm --keep-local
```
The same thing happened to me. :-P
Many people have commented that you should use:
```
svn rm --keep-local FILENAME
```
to apply the command on one or many files. (The first command would apply to everything, which may have unintended side-effects.) |
405690 | In Subversion can I be a user other than my login name? | 274 | 2009-01-01 23:41:25 | <p>I'd like to know how to get <code>Subversion</code> to change the name that my changes appear under.</p>
<p>I'm just starting to use <code>Subversion</code>. I'm currently using it to version control code on an XP laptop where I'm always logged in under my wife's name. I'd like the subversion DB to show the changes... | 422,237 | 4,662 | 2021-02-12 19:38:25 | 405,694 | 300 | 2009-01-01 23:43:01 | 1,879 | 2017-07-31 08:27:42 | https://stackoverflow.com/q/405690 | https://stackoverflow.com/a/405694 | <p>Most Subversion commands take the <code>--username</code> option to specify the username you want to use to the repository. Subversion remembers the last repository username and password used in each working copy, which means, among other things, that if you use <code>svn checkout --username myuser</code> you never... | <p>Most Subversion commands take the <code>--username</code> option to specify the username you want to use to the repository. Subversion remembers the last repository username and password used in each working copy, which means, among other things, that if you use <code>svn checkout --username myuser</code> you never... | 63, 183 | authentication, svn | <h1>In Subversion can I be a user other than my login name?</h1>
<p>I'd like to know how to get <code>Subversion</code> to change the name that my changes appear under.</p>
<p>I'm just starting to use <code>Subversion</code>. I'm currently using it to version control code on an XP laptop where I'm always logged in und... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,897 | svn | # In Subversion can I be a user other than my login name?
I'd like to know how to get `Subversion` to change the name that my changes appear under.
I'm just starting to use `Subversion`. I'm currently using it to version control code on an XP laptop where I'm always logged in under my wife's name. I'd like the subver... | Most Subversion commands take the `--username` option to specify the username you want to use to the repository. Subversion remembers the last repository username and password used in each working copy, which means, among other things, that if you use `svn checkout --username myuser` you never need to specify the usern... |
698313 | What is trunk, branch and tag in Subversion? | 244 | 2009-03-30 18:00:53 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://stackoverflow.com/questions/16142/what-do-branch-tag-and-trunk-really-mean">What do “branch”, “tag” and “trunk” really mean?</a> </p>
</blockquote>
<p>What is a trunk, branch and tag in Subversion and w... | 304,816 | 51,927 | 2016-02-02 19:46:03 | 698,424 | 299 | 2009-03-30 18:22:39 | 4,918 | 2013-01-09 09:33:27 | https://stackoverflow.com/q/698313 | https://stackoverflow.com/a/698424 | <p>The <strong>trunk</strong> is the main line of development in a SVN repository.</p>
<p>A <strong>branch</strong> is a side-line of development created to make larger, experimental or disrupting work without annoying users of the trunk version. Also, branches can be used to create development lines for multiple vers... | <p>The <strong>trunk</strong> is the main line of development in a SVN repository.</p> <p>A <strong>branch</strong> is a side-line of development created to make larger, experimental or disrupting work without annoying users of the trunk version. Also, branches can be used to create development lines for multiple vers... | 63, 115, 1879, 1880, 5494 | branch, conventions, svn, tags, trunk | <h1>What is trunk, branch and tag in Subversion?</h1>
<blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://stackoverflow.com/questions/16142/what-do-branch-tag-and-trunk-really-mean">What do “branch”, “tag” and “trunk” really mean?</a> </p>
</blockquote>
... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,898 | svn | # What is trunk, branch and tag in Subversion?
> **Possible Duplicate:**
> [What do “branch”, “tag” and “trunk” really mean?](https://stackoverflow.com/questions/16142/what-do-branch-tag-and-trunk-really-mean)
What is a trunk, branch and tag in Subversion and what are the best practices to use them?
What tools can... | The **trunk** is the main line of development in a SVN repository.
A **branch** is a side-line of development created to make larger, experimental or disrupting work without annoying users of the trunk version. Also, branches can be used to create development lines for multiple versions of the same product, like havin... |
2341134 | Command-line svn for Windows? | 270 | 2010-02-26 11:16:42 | <p>Is there a command-line based version of <code>svn</code> for Windows? I know I can get TortoiseSVN, but that just doesn't work for me.</p>
| 404,705 | 217,649 | 2024-04-24 10:30:34 | 15,686,341 | 293 | 2013-03-28 15:50:06 | 191,246 | 2021-05-12 15:36:06 | https://stackoverflow.com/q/2341134 | https://stackoverflow.com/a/15686341 | <p><a href="http://tortoisesvn.net/downloads.html" rel="noreferrer">TortoiseSVN</a> contains a console svn client, but by default the corresponding option is not enabled during installation.</p>
<p>The <code>svn.exe</code> executable is not standalone and it depends on some other files<sup>1</sup> in the distribution b... | <p><a href="http://tortoisesvn.net/downloads.html" rel="noreferrer">TortoiseSVN</a> contains a console svn client, but by default the corresponding option is not enabled during installation.</p> <p>The <code>svn.exe</code> executable is not standalone and it depends on some other files<sup>1</sup> in the distribution b... | 63, 64, 11225 | command-line-interface, svn, windows | <h1>Command-line svn for Windows?</h1>
<p>Is there a command-line based version of <code>svn</code> for Windows? I know I can get TortoiseSVN, but that just doesn't work for me.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,899 | svn | # Command-line svn for Windows?
Is there a command-line based version of `svn` for Windows? I know I can get TortoiseSVN, but that just doesn't work for me. | [TortoiseSVN](http://tortoisesvn.net/downloads.html) contains a console svn client, but by default the corresponding option is not enabled during installation.
The `svn.exe` executable is not standalone and it depends on some other files1 in the distribution but this should not be a problem in most cases.
Once instal... |
757435 | How to escape @ characters in Subversion managed file names? | 196 | 2009-04-16 18:25:45 | <p>For many Subversion operations, appending the '@' symbol to the end of a file or URL argument allows you to target a specific revision of that file. For example, "svn info test.txt@1234" will give information about test.txt as it existed in revision 1234.</p>
<p>However, when the name of the file contains an @, it... | 56,332 | 87,791 | 2018-04-19 10:32:49 | 757,510 | 290 | 2009-04-16 18:42:42 | 33,732 | 2009-04-16 18:42:42 | https://stackoverflow.com/q/757435 | https://stackoverflow.com/a/757510 | <p>From the <a href="http://svnbook.red-bean.com/en/1.5/svn.advanced.pegrevs.html" rel="noreferrer">SVN book</a> (emphasis added):</p>
<blockquote>
<p>The perceptive reader is probably wondering at this point whether the peg revision syntax causes problems for working copy paths or URLs that actually have at signs i... | <p>From the <a href="http://svnbook.red-bean.com/en/1.5/svn.advanced.pegrevs.html" rel="noreferrer">SVN book</a> (emphasis added):</p> <blockquote> <p>The perceptive reader is probably wondering at this point whether the peg revision syntax causes problems for working copy paths or URLs that actually have at signs i... | 63, 4804 | escaping, svn | <h1>How to escape @ characters in Subversion managed file names?</h1>
<p>For many Subversion operations, appending the '@' symbol to the end of a file or URL argument allows you to target a specific revision of that file. For example, "svn info test.txt@1234" will give information about test.txt as it existed in revis... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,900 | svn | # How to escape @ characters in Subversion managed file names?
For many Subversion operations, appending the '@' symbol to the end of a file or URL argument allows you to target a specific revision of that file. For example, "svn info test.txt@1234" will give information about test.txt as it existed in revision 1234.
... | From the [SVN book](http://svnbook.red-bean.com/en/1.5/svn.advanced.pegrevs.html) (emphasis added):
> The perceptive reader is probably wondering at this point whether the peg revision syntax causes problems for working copy paths or URLs that actually have at signs in them. After all, how does *svn* know whether `new... |
3579636 | How to remove a file from version control without deleting it? | 136 | 2010-08-26 21:23:43 | <p>If I run <code>svn rm file</code>, the file is removed from the local working copy.</p>
<p>What I do now is:</p>
<pre><code>$ cp file file2
$ svn rm file
$ svn ci
$ mv file2 file
</code></pre>
<p>How do I avoid svn also deleting the local file when using <code>svn rm</code>?</p>
| 94,638 | 157,519 | 2022-09-14 09:50:51 | 3,579,870 | 289 | 2010-08-26 21:56:45 | 1,288,364 | 2019-03-13 21:16:11 | https://stackoverflow.com/q/3579636 | https://stackoverflow.com/a/3579870 | <p>You want the <code>--keep-local</code> command-line option. This removes the file from version control without removing it from your filesystem.</p>
<pre><code>$ svn rm --keep-local my_important_file
</code></pre>
<p><strong>Note:</strong> The <code>--keep-local</code> only affects the <code>svn rm</code> of your ... | <p>You want the <code>--keep-local</code> command-line option. This removes the file from version control without removing it from your filesystem.</p> <pre><code>$ svn rm --keep-local my_important_file </code></pre> <p><strong>Note:</strong> The <code>--keep-local</code> only affects the <code>svn rm</code> of your ... | 63, 456 | svn, version-control | <h1>How to remove a file from version control without deleting it?</h1>
<p>If I run <code>svn rm file</code>, the file is removed from the local working copy.</p>
<p>What I do now is:</p>
<pre><code>$ cp file file2
$ svn rm file
$ svn ci
$ mv file2 file
</code></pre>
<p>How do I avoid svn also deleting the local fil... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,901 | svn | # How to remove a file from version control without deleting it?
If I run `svn rm file`, the file is removed from the local working copy.
What I do now is:
```
$ cp file file2
$ svn rm file
$ svn ci
$ mv file2 file
```
How do I avoid svn also deleting the local file when using `svn rm`? | You want the `--keep-local` command-line option. This removes the file from version control without removing it from your filesystem.
```
$ svn rm --keep-local my_important_file
```
**Note:** The `--keep-local` only affects the `svn rm` of your copy. Other users may have their own local copy of the file deleted unles... |
4881129 | How do you see recent SVN log entries? | 219 | 2011-02-02 23:23:04 | <p>Typing <code>svn log</code> spits out an incredibly long, useless list on a command line. I have no idea why that is the default. If I wanted to read (or even could read) 300 entries on the terminal, I wouldn't mind typing <code>svn log --full</code> or something similar. </p>
<p>Perhaps the SVN guys are thinking I... | 222,913 | 99,923 | 2017-05-03 16:03:20 | 4,881,167 | 286 | 2011-02-02 23:30:44 | 11,296 | 2011-02-02 23:30:44 | https://stackoverflow.com/q/4881129 | https://stackoverflow.com/a/4881167 | <p><code>limit</code> option, e.g.:</p>
<pre><code>svn log --limit 4
svn log -l 4
</code></pre>
<p>Only the last 4 entries</p>
| <p><code>limit</code> option, e.g.:</p> <pre><code>svn log --limit 4 svn log -l 4 </code></pre> <p>Only the last 4 entries</p> | 63 | svn | <h1>How do you see recent SVN log entries?</h1>
<p>Typing <code>svn log</code> spits out an incredibly long, useless list on a command line. I have no idea why that is the default. If I wanted to read (or even could read) 300 entries on the terminal, I wouldn't mind typing <code>svn log --full</code> or something simil... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,902 | svn | # How do you see recent SVN log entries?
Typing `svn log` spits out an incredibly long, useless list on a command line. I have no idea why that is the default. If I wanted to read (or even could read) 300 entries on the terminal, I wouldn't mind typing `svn log --full` or something similar.
Perhaps the SVN guys are t... | `limit` option, e.g.:
```
svn log --limit 4
svn log -l 4
```
Only the last 4 entries |
9463695 | How to discard local changes in an SVN checkout? | 222 | 2012-02-27 10:47:30 | <p>I wanted to submit a <strong>diff</strong> for review, for an Open Source Project.</p>
<p>I got the code using SVN (from terminal, Ubuntu). And I did minor edits in few files. Now there is only a single change I want to submit. Rest of the changes I made, were for debugging, and are no longer required.</p>
<p>I ha... | 278,813 | 558,094 | 2021-02-12 18:27:14 | 9,463,729 | 285 | 2012-02-27 10:50:12 | 718,618 | 2014-05-17 18:06:26 | https://stackoverflow.com/q/9463695 | https://stackoverflow.com/a/9463729 | <p>Just use the <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.revert.html" rel="noreferrer"><code>svn revert</code></a> command, for example: </p>
<pre><code>svn revert some_file.php
</code></pre>
<p>It is (as every other svn command) well documented in the <a href="http://svnbook.red-bean.com/" rel="nore... | <p>Just use the <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.revert.html" rel="noreferrer"><code>svn revert</code></a> command, for example: </p> <pre><code>svn revert some_file.php </code></pre> <p>It is (as every other svn command) well documented in the <a href="http://svnbook.red-bean.com/" rel="nore... | 63 | svn | <h1>How to discard local changes in an SVN checkout?</h1>
<p>I wanted to submit a <strong>diff</strong> for review, for an Open Source Project.</p>
<p>I got the code using SVN (from terminal, Ubuntu). And I did minor edits in few files. Now there is only a single change I want to submit. Rest of the changes I made, we... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,903 | svn | # How to discard local changes in an SVN checkout?
I wanted to submit a **diff** for review, for an Open Source Project.
I got the code using SVN (from terminal, Ubuntu). And I did minor edits in few files. Now there is only a single change I want to submit. Rest of the changes I made, were for debugging, and are no ... | Just use the [`svn revert`](http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.revert.html) command, for example:
```
svn revert some_file.php
```
It is (as every other svn command) well documented in the [svnbook resource](http://svnbook.red-bean.com/) or man page, or even with the `svn help` command. |
927806 | SVN checkout the contents of a folder, not the folder itself | 147 | 2009-05-29 19:48:14 | <p>I'm fairly new to linux and svn. I'm trying to checkout the trunk folder of a project into my public_html directory using this command (while in public_html):</p>
<pre><code>svn checkout file:///home/landonwinters/svn/waterproject/trunk
</code></pre>
<p>The waterproject directory contains the files from untarring ... | 130,446 | null | 2017-11-10 20:31:49 | 927,821 | 284 | 2009-05-29 19:53:31 | 103,202 | 2013-03-25 20:29:18 | https://stackoverflow.com/q/927806 | https://stackoverflow.com/a/927821 | <p>Just add a <code>.</code> to it:</p>
<pre><code>svn checkout file:///home/landonwinters/svn/waterproject/trunk .
</code></pre>
<p>That means: check out to current directory.</p>
| <p>Just add a <code>.</code> to it:</p> <pre><code>svn checkout file:///home/landonwinters/svn/waterproject/trunk . </code></pre> <p>That means: check out to current directory.</p> | 58, 63, 65722 | linux, svn, svn-checkout | <h1>SVN checkout the contents of a folder, not the folder itself</h1>
<p>I'm fairly new to linux and svn. I'm trying to checkout the trunk folder of a project into my public_html directory using this command (while in public_html):</p>
<pre><code>svn checkout file:///home/landonwinters/svn/waterproject/trunk
</code></... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,904 | svn | # SVN checkout the contents of a folder, not the folder itself
I'm fairly new to linux and svn. I'm trying to checkout the trunk folder of a project into my public_html directory using this command (while in public_html):
```
svn checkout file:///home/landonwinters/svn/waterproject/trunk
```
The waterproject directo... | Just add a `.` to it:
```
svn checkout file:///home/landonwinters/svn/waterproject/trunk .
```
That means: check out to current directory. |
542065 | Remove file from SVN repository without deleting local copy | 223 | 2009-02-12 16:12:59 | <p>How can I "delete" a file which is already in the SVN repository without deleting it from my file system?</p>
<p>TortoiseSVN or command line instructions are welcome.</p>
<p>The following works, but I am hoping for something nicer:</p>
<ol>
<li>Copy the file to some other location outside the repository.</li>
<li... | 113,289 | 41,662 | 2017-01-12 22:29:10 | 542,100 | 273 | 2009-02-12 16:18:39 | 35,070 | 2009-02-12 16:18:39 | https://stackoverflow.com/q/542065 | https://stackoverflow.com/a/542100 | <pre><code>svn delete --keep-local the_file
</code></pre>
| <pre><code>svn delete --keep-local the_file </code></pre> | 63, 656 | svn, tortoisesvn | <h1>Remove file from SVN repository without deleting local copy</h1>
<p>How can I "delete" a file which is already in the SVN repository without deleting it from my file system?</p>
<p>TortoiseSVN or command line instructions are welcome.</p>
<p>The following works, but I am hoping for something nicer:</p>
<ol>
<li>... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,906 | svn | # Remove file from SVN repository without deleting local copy
How can I "delete" a file which is already in the SVN repository without deleting it from my file system?
TortoiseSVN or command line instructions are welcome.
The following works, but I am hoping for something nicer:
1. Copy the file to some other locat... | ```
svn delete --keep-local the_file
``` |
6296284 | List files committed for a revision | 171 | 2011-06-09 16:41:15 | <p>How do I list the file names/paths that are committed, using a revision number?</p>
| 148,556 | 148,540 | 2021-03-01 22:36:23 | 6,296,344 | 263 | 2011-06-09 16:45:28 | 35,070 | 2011-06-09 16:45:28 | https://stackoverflow.com/q/6296284 | https://stackoverflow.com/a/6296344 | <pre><code>svn log --verbose -r 42
</code></pre>
<p></p>
| <pre><code>svn log --verbose -r 42 </code></pre> <p></p> | 63 | svn | <h1>List files committed for a revision</h1>
<p>How do I list the file names/paths that are committed, using a revision number?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,908 | svn | # List files committed for a revision
How do I list the file names/paths that are committed, using a revision number? | ```
svn log --verbose -r 42
``` |
13944222 | Change SVN repository URL | 153 | 2012-12-19 01:22:32 | <p>My current SVN structure:</p>
<pre><code>Path: .
URL: svn://someaddress.com.tr/project
Repository Root: svn://someaddress.com.tr
Repository UUID: -------------------------------------
Revision: 10297
Node Kind: directory
Schedule: normal
Last Changed Author: ----
Last Changed Rev: 9812
Last Changed Date: 2010-12-20... | 222,334 | 257,972 | 2023-10-30 21:47:52 | 13,944,343 | 259 | 2012-12-19 01:38:20 | 1,177,160 | 2017-03-20 23:45:38 | https://stackoverflow.com/q/13944222 | https://stackoverflow.com/a/13944343 | <p>Given that the Apache Subversion server will be moved to this new DNS alias: <code>sub.someaddress.com.tr</code>:</p>
<ul>
<li><p>With Subversion 1.7 or higher, use <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.relocate.html" rel="noreferrer"><code>svn relocate</code></a>. Relocate is used when the SVN s... | <p>Given that the Apache Subversion server will be moved to this new DNS alias: <code>sub.someaddress.com.tr</code>:</p> <ul> <li><p>With Subversion 1.7 or higher, use <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.relocate.html" rel="noreferrer"><code>svn relocate</code></a>. Relocate is used when the SVN s... | 63, 59166 | svn, svn-repository | <h1>Change SVN repository URL</h1>
<p>My current SVN structure:</p>
<pre><code>Path: .
URL: svn://someaddress.com.tr/project
Repository Root: svn://someaddress.com.tr
Repository UUID: -------------------------------------
Revision: 10297
Node Kind: directory
Schedule: normal
Last Changed Author: ----
Last Changed Rev:... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,910 | svn | # Change SVN repository URL
My current SVN structure:
```
Path: .
URL: svn://someaddress.com.tr/project
Repository Root: svn://someaddress.com.tr
Repository UUID: -------------------------------------
Revision: 10297
Node Kind: directory
Schedule: normal
Last Changed Author: ----
Last Changed Rev: 9812
Last Changed D... | Given that the Apache Subversion server will be moved to this new DNS alias: `sub.someaddress.com.tr`:
- With Subversion 1.7 or higher, use [`svn relocate`](http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.relocate.html). Relocate is used when the SVN server's location changes. `switch` is only used if you want to cha... |
2906892 | "unadd" a file to svn before commit | 218 | 2010-05-25 17:25:01 | <p>I was in the middle of doing a recursive svn add/commit, and a folder which did not have the proper ignore properties was included. I've got about 100 uploaded binary files versioned now, but I haven't committed yet.</p>
<p>What is the easiest way to 'undo' this, without deleting all the documents?</p>
| 148,175 | 304,536 | 2020-04-02 13:46:53 | 2,906,928 | 252 | 2010-05-25 17:29:23 | 183,367 | 2017-10-21 09:18:30 | https://stackoverflow.com/q/2906892 | https://stackoverflow.com/a/2906928 | <p>Use <code>svn revert --recursive folder_name</code></p>
<hr>
<h1>Warning</h1>
<blockquote>
<p><code>svn revert</code> is inherently dangerous, since its entire purpose is to throw away data — namely, your uncommitted changes. Once you've reverted, Subversion provides <em>no way</em> to get back those... | <p>Use <code>svn revert --recursive folder_name</code></p> <hr> <h1>Warning</h1> <blockquote> <p><code>svn revert</code> is inherently dangerous, since its entire purpose is to throw away data — namely, your uncommitted changes. Once you've reverted, Subversion provides <em>no way</em> to get back those... | 63 | svn | <h1>"unadd" a file to svn before commit</h1>
<p>I was in the middle of doing a recursive svn add/commit, and a folder which did not have the proper ignore properties was included. I've got about 100 uploaded binary files versioned now, but I haven't committed yet.</p>
<p>What is the easiest way to 'undo' this, without... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,912 | svn | # "unadd" a file to svn before commit
I was in the middle of doing a recursive svn add/commit, and a folder which did not have the proper ignore properties was included. I've got about 100 uploaded binary files versioned now, but I haven't committed yet.
What is the easiest way to 'undo' this, without deleting all th... | Use `svn revert --recursive folder_name`
---
# Warning
> `svn revert` is inherently dangerous, since its entire purpose is to throw away data — namely, your uncommitted changes. Once you've reverted, Subversion provides *no way* to get back those uncommitted changes.
<http://svnbook.red-bean.com/en/1.7/svn.ref.svn.... |
4218859 | How do I view an older version of an SVN file? | 165 | 2010-11-18 19:45:34 | <p>I have an SVN file which is now missing some logic and so I need to go back about 40 revisions to the time when it had the logic I need. Other than trying to view a diff of the file in the command line (<em>very hard to read</em>), is there any way I could get a copy of that file to review so I can study it to recov... | 146,551 | 99,923 | 2019-09-23 09:59:02 | 4,218,885 | 250 | 2010-11-18 19:49:04 | 68,587 | 2010-11-18 19:49:04 | https://stackoverflow.com/q/4218859 | https://stackoverflow.com/a/4218885 | <p>You can update to an older revision:</p>
<pre><code>svn update -r 666 file
</code></pre>
<p>Or you can just view the file directly:</p>
<pre><code>svn cat -r 666 file | less
</code></pre>
| <p>You can update to an older revision:</p> <pre><code>svn update -r 666 file </code></pre> <p>Or you can just view the file directly:</p> <pre><code>svn cat -r 666 file | less </code></pre> | 63, 1555, 12196 | revision, rollback, svn | <h1>How do I view an older version of an SVN file?</h1>
<p>I have an SVN file which is now missing some logic and so I need to go back about 40 revisions to the time when it had the logic I need. Other than trying to view a diff of the file in the command line (<em>very hard to read</em>), is there any way I could get ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,913 | svn | # How do I view an older version of an SVN file?
I have an SVN file which is now missing some logic and so I need to go back about 40 revisions to the time when it had the logic I need. Other than trying to view a diff of the file in the command line (*very hard to read*), is there any way I could get a copy of that f... | You can update to an older revision:
```
svn update -r 666 file
```
Or you can just view the file directly:
```
svn cat -r 666 file | less
``` |
345997 | Better way to revert to a previous SVN revision of a file? | 167 | 2008-12-06 06:03:35 | <p>I accidentally committed too many files to an SVN repository and changed some things I didn't mean to. (Sigh.) In order to revert them to their prior state, the best I could come up with was </p>
<pre><code>svn rm l3toks.dtx
svn copy -r 854 svn+ssh://<repository URL>/l3toks.dtx ./l3toks.dtx
</code></pre>
<p>... | 277,724 | 4,161 | 2016-02-05 16:33:44 | 346,120 | 242 | 2008-12-06 09:18:14 | 37,020 | 2015-01-18 13:45:29 | https://stackoverflow.com/q/345997 | https://stackoverflow.com/a/346120 | <pre><code>svn merge -r 854:853 l3toks.dtx
</code></pre>
<p>or</p>
<pre><code>svn merge -c -854 l3toks.dtx
</code></pre>
<p>The two commands <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.merge.html" rel="noreferrer">are equivalent</a>.</p>
| <pre><code>svn merge -r 854:853 l3toks.dtx </code></pre> <p>or</p> <pre><code>svn merge -c -854 l3toks.dtx </code></pre> <p>The two commands <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.merge.html" rel="noreferrer">are equivalent</a>.</p> | 63 | svn | <h1>Better way to revert to a previous SVN revision of a file?</h1>
<p>I accidentally committed too many files to an SVN repository and changed some things I didn't mean to. (Sigh.) In order to revert them to their prior state, the best I could come up with was </p>
<pre><code>svn rm l3toks.dtx
svn copy -r 854 svn+ssh... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,915 | svn | # Better way to revert to a previous SVN revision of a file?
I accidentally committed too many files to an SVN repository and changed some things I didn't mean to. (Sigh.) In order to revert them to their prior state, the best I could come up with was
```
svn rm l3toks.dtx
svn copy -r 854 svn+ssh://<repository URL>/l... | ```
svn merge -r 854:853 l3toks.dtx
```
or
```
svn merge -c -854 l3toks.dtx
```
The two commands [are equivalent](http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.merge.html). |
3883129 | Extract TortoiseSVN saved password | 132 | 2010-10-07 15:15:17 | <p>Is there any way to extract credentials saved by TortoiseSVN?</p>
| 117,528 | 243,233 | 2024-05-03 09:11:24 | 4,794,471 | 239 | 2011-01-25 14:14:18 | 589,059 | 2014-09-29 13:32:14 | https://stackoverflow.com/q/3883129 | https://stackoverflow.com/a/4794471 | <p>Short answer: You can use <strong><a href="http://www.leapbeyond.com/ric/TSvnPD/" rel="noreferrer">TortoiseSVN Password Decrypter</a></strong> to easily display your cached credentials, including passwords.</p>
<p>Long answer: Here's how the tool works.</p>
<p>The credentials are saved in subdirectories of <code>%... | <p>Short answer: You can use <strong><a href="http://www.leapbeyond.com/ric/TSvnPD/" rel="noreferrer">TortoiseSVN Password Decrypter</a></strong> to easily display your cached credentials, including passwords.</p> <p>Long answer: Here's how the tool works.</p> <p>The credentials are saved in subdirectories of <code>%... | 63, 656, 23866 | forgot-password, svn, tortoisesvn | <h1>Extract TortoiseSVN saved password</h1>
<p>Is there any way to extract credentials saved by TortoiseSVN?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,916 | svn | # Extract TortoiseSVN saved password
Is there any way to extract credentials saved by TortoiseSVN? | Short answer: You can use **[TortoiseSVN Password Decrypter](http://www.leapbeyond.com/ric/TSvnPD/)** to easily display your cached credentials, including passwords.
Long answer: Here's how the tool works.
The credentials are saved in subdirectories of `%APPDATA%\Subversion\auth\`. Listed from [this previous answer](... |
7563693 | How to merge a branch into trunk? | 135 | 2011-09-27 02:50:32 | <p>I'm facing a peculiar problem with SVN <code>merge</code>. I want to merge from a dev branch to trunk.
We have multiple dev branches cut off the trunk at the same time.</p>
<p>I'm merging one of those branches to trunk with this command:</p>
<pre><code>svn merge trunk branch_1
</code></pre>
<p>I see changes that ... | 239,268 | 190,857 | 2023-01-23 20:15:07 | 7,638,820 | 231 | 2011-10-03 18:02:22 | 85,950 | 2014-08-05 11:50:15 | https://stackoverflow.com/q/7563693 | https://stackoverflow.com/a/7638820 | <p><strong>Your <code>svn merge</code> syntax is wrong.</strong></p>
<p>You want to checkout a working copy of <code>trunk</code> and then use the <strong><code>svn merge --reintegrate</code></strong> option:</p>
<pre><code>$ pwd
/home/user/project-trunk
$ svn update # (make sure the working copy is up to date)
At ... | <p><strong>Your <code>svn merge</code> syntax is wrong.</strong></p> <p>You want to checkout a working copy of <code>trunk</code> and then use the <strong><code>svn merge --reintegrate</code></strong> option:</p> <pre><code>$ pwd /home/user/project-trunk $ svn update # (make sure the working copy is up to date) At ... | 63, 456, 717 | merge, svn, version-control | <h1>How to merge a branch into trunk?</h1>
<p>I'm facing a peculiar problem with SVN <code>merge</code>. I want to merge from a dev branch to trunk.
We have multiple dev branches cut off the trunk at the same time.</p>
<p>I'm merging one of those branches to trunk with this command:</p>
<pre><code>svn merge trunk bra... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,917 | svn | # How to merge a branch into trunk?
I'm facing a peculiar problem with SVN `merge`. I want to merge from a dev branch to trunk.
We have multiple dev branches cut off the trunk at the same time.
I'm merging one of those branches to trunk with this command:
```
svn merge trunk branch_1
```
I see changes that are not ... | **Your `svn merge` syntax is wrong.**
You want to checkout a working copy of `trunk` and then use the **`svn merge --reintegrate`** option:
```
$ pwd
/home/user/project-trunk
$ svn update # (make sure the working copy is up to date)
At revision <N>.
$ svn merge --reintegrate ^/project/branches/branch_1
--- Merging... |
9128344 | How to get svn remote repository URL? | 155 | 2012-02-03 12:01:14 | <p>I have an svn working copy on my local system. I want to get the remote repository URL. Is there some command for doing this?</p>
| 114,613 | 446,929 | 2024-08-10 23:45:26 | 9,128,385 | 222 | 2012-02-03 12:04:42 | 204,690 | 2019-10-04 07:35:00 | https://stackoverflow.com/q/9128344 | https://stackoverflow.com/a/9128385 | <p>Try:</p>
<pre><code>svn info .
</code></pre>
<p>This should give some information about the current working copy, including the remote URL.</p>
<p>From <a href="http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.info.html" rel="noreferrer">the manual</a>, an example output is:</p>
<pre><code>$ svn info foo.c
Pat... | <p>Try:</p> <pre><code>svn info . </code></pre> <p>This should give some information about the current working copy, including the remote URL.</p> <p>From <a href="http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.info.html" rel="noreferrer">the manual</a>, an example output is:</p> <pre><code>$ svn info foo.c Pat... | 63 | svn | <h1>How to get svn remote repository URL?</h1>
<p>I have an svn working copy on my local system. I want to get the remote repository URL. Is there some command for doing this?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,918 | svn | # How to get svn remote repository URL?
I have an svn working copy on my local system. I want to get the remote repository URL. Is there some command for doing this? | Try:
```
svn info .
```
This should give some information about the current working copy, including the remote URL.
From [the manual](http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.info.html), an example output is:
```
$ svn info foo.c
Path: foo.c
Name: foo.c
URL: http://svn.red-bean.com/repos/test/foo.c
... |
5910965 | Recover SVN password from local cache | 96 | 2011-05-06 11:48:18 | <p>is there a way to recover a password from local cache? The password has to be stored somewhere because I can run</p>
<pre><code>svn co http://my.svn.server/foo
</code></pre>
<p>but I've lost the password it self. Do I have to reset it or is it possible (and how) to find and decrypt the password? I'm using mostly C... | 128,756 | 600,169 | 2017-04-06 06:05:50 | 5,919,519 | 221 | 2011-05-07 06:30:04 | 48,003 | 2017-04-05 10:15:16 | https://stackoverflow.com/q/5910965 | https://stackoverflow.com/a/5919519 | <p>On Windows, Subversion stores the auth data in <code>%APPDATA%\Subversion\auth</code>. The passwords however are stored encrypted, not in plaintext.</p>
<p>You can decrypt those, but only if you log in to Windows as the same user for which the auth data was saved.</p>
<p>Someone even wrote a tool to decrypt those.... | <p>On Windows, Subversion stores the auth data in <code>%APPDATA%\Subversion\auth</code>. The passwords however are stored encrypted, not in plaintext.</p> <p>You can decrypt those, but only if you log in to Windows as the same user for which the auth data was saved.</p> <p>Someone even wrote a tool to decrypt those.... | 63, 27966 | password-recovery, svn | <h1>Recover SVN password from local cache</h1>
<p>is there a way to recover a password from local cache? The password has to be stored somewhere because I can run</p>
<pre><code>svn co http://my.svn.server/foo
</code></pre>
<p>but I've lost the password it self. Do I have to reset it or is it possible (and how) to fi... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,919 | svn | # Recover SVN password from local cache
is there a way to recover a password from local cache? The password has to be stored somewhere because I can run
```
svn co http://my.svn.server/foo
```
but I've lost the password it self. Do I have to reset it or is it possible (and how) to find and decrypt the password? I'm ... | On Windows, Subversion stores the auth data in `%APPDATA%\Subversion\auth`. The passwords however are stored encrypted, not in plaintext.
You can decrypt those, but only if you log in to Windows as the same user for which the auth data was saved.
Someone even wrote a tool to decrypt those. Never tried the tool myself... |
2675749 | How do I see the last 10 commits in reverse-chronological order with SVN? | 140 | 2010-04-20 14:07:23 | <p>Using the SVN command line, is there a way to show the last X number of commits along with commit messages, in reverse-chronological order (newest commit first)?</p>
| 109,069 | 400,407 | 2021-04-14 15:29:08 | 2,675,770 | 200 | 2010-04-20 14:08:53 | 400,407 | 2015-04-14 18:04:11 | https://stackoverflow.com/q/2675749 | https://stackoverflow.com/a/2675770 | <pre><code>svn log --limit 10
</code></pre>
<p>or </p>
<pre><code>svn log -l 10
</code></pre>
<p>Further googling uncovered the answer. <code>svn log</code> lists in reverse-chronological order by default.</p>
| <pre><code>svn log --limit 10 </code></pre> <p>or </p> <pre><code>svn log -l 10 </code></pre> <p>Further googling uncovered the answer. <code>svn log</code> lists in reverse-chronological order by default.</p> | 63, 5597 | commit, svn | <h1>How do I see the last 10 commits in reverse-chronological order with SVN?</h1>
<p>Using the SVN command line, is there a way to show the last X number of commits along with commit messages, in reverse-chronological order (newest commit first)?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,924 | svn | # How do I see the last 10 commits in reverse-chronological order with SVN?
Using the SVN command line, is there a way to show the last X number of commits along with commit messages, in reverse-chronological order (newest commit first)? | ```
svn log --limit 10
```
or
```
svn log -l 10
```
Further googling uncovered the answer. `svn log` lists in reverse-chronological order by default. |
6204572 | Is there a Subversion command to reset the working copy? | 134 | 2011-06-01 16:30:53 | <p>Is there a single Subversion command that would “reset” a working copy exactly to the state that’s stored in the repository? Something like <code>git reset --hard</code> or (ha, hard Git reset does not remove unversioned files either!) <code>rm -rf wc && svn co <url> wc</code>.</p>
<p><em>Update:</em>... | 131,937 | 17,279 | 2018-07-24 01:47:04 | 6,204,618 | 200 | 2011-06-01 16:34:31 | 492,405 | 2011-06-01 16:40:33 | https://stackoverflow.com/q/6204572 | https://stackoverflow.com/a/6204618 | <p>You can recursively revert like this:</p>
<p><code>svn revert --recursive .</code></p>
<p>There is no way (without writing a creative script) to remove things that aren't under source control. I think the closest you could do is to iterate over all of the files, use then grep the result of <code>svn list</code>, a... | <p>You can recursively revert like this:</p> <p><code>svn revert --recursive .</code></p> <p>There is no way (without writing a creative script) to remove things that aren't under source control. I think the closest you could do is to iterate over all of the files, use then grep the result of <code>svn list</code>, a... | 63 | svn | <h1>Is there a Subversion command to reset the working copy?</h1>
<p>Is there a single Subversion command that would “reset” a working copy exactly to the state that’s stored in the repository? Something like <code>git reset --hard</code> or (ha, hard Git reset does not remove unversioned files either!) <code>rm -rf wc... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,925 | svn | # Is there a Subversion command to reset the working copy?
Is there a single Subversion command that would “reset” a working copy exactly to the state that’s stored in the repository? Something like `git reset --hard` or (ha, hard Git reset does not remove unversioned files either!) `rm -rf wc && svn co <url> wc`.
*U... | You can recursively revert like this:
`svn revert --recursive .`
There is no way (without writing a creative script) to remove things that aren't under source control. I think the closest you could do is to iterate over all of the files, use then grep the result of `svn list`, and if the grep fails, then delete it.
... |
626033 | How can I set the WiX installer version to the current build version? | 152 | 2009-03-09 12:32:19 | <p>I wrote an application and its WiX installer and put it under version control using subversion. When the WiX installer builds I want its version number to be the current build version of the application. How do I accomplish this? I used c# to code the application.</p>
<p>N.B. I am using ccnet to build this project<... | 89,344 | 66,098 | 2023-09-04 17:11:20 | 641,094 | 196 | 2009-03-13 00:52:57 | 23,852 | 2023-03-06 20:34:37 | https://stackoverflow.com/q/626033 | https://stackoverflow.com/a/641094 | <p>You could use <code>Product/@Version="!(bind.FileVersion.FileId)"</code> (replace <code>FileId</code> with the <code>Id</code> of the file from which you'd like to get the version number) and light.exe will populate the value with the version of the file referenced by the <code>FileId</code>. See the <a hr... | <p>You could use <code>Product/@Version="!(bind.FileVersion.FileId)"</code> (replace <code>FileId</code> with the <code>Id</code> of the file from which you'd like to get the version number) and light.exe will populate the value with the version of the file referenced by the <code>FileId</code>. See the <a hr... | 9, 63, 4520 | c#, svn, wix | <h1>How can I set the WiX installer version to the current build version?</h1>
<p>I wrote an application and its WiX installer and put it under version control using subversion. When the WiX installer builds I want its version number to be the current build version of the application. How do I accomplish this? I used c... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,926 | svn | # How can I set the WiX installer version to the current build version?
I wrote an application and its WiX installer and put it under version control using subversion. When the WiX installer builds I want its version number to be the current build version of the application. How do I accomplish this? I used c# to code... | You could use `Product/@Version="!(bind.FileVersion.FileId)"` (replace `FileId` with the `Id` of the file from which you'd like to get the version number) and light.exe will populate the value with the version of the file referenced by the `FileId`. See the [WiX v3 documentation for all the available variables](https:/... |
173 | How to do version control for SQL Server database? | 346 | 2008-08-01 18:33:08 | <p>I want to get my databases under version control.</p>
<p>I'll always want to have at least <em>some</em> data in there (as <a href="https://stackoverflow.com/users/80/alumb">alumb</a> mentions: user types and administrators). I'll also often want a large collection of generated test data for performance measurements... | 135,825 | 83 | 2024-12-07 03:28:08 | 516 | 192 | 2008-08-02 17:33:54 | 150 | 2008-08-02 17:33:54 | https://stackoverflow.com/q/173 | https://stackoverflow.com/a/516 | <p>Martin Fowler wrote my favorite article on the subject, <a href="http://martinfowler.com/articles/evodb.html" rel="noreferrer">http://martinfowler.com/articles/evodb.html</a>. I choose not to put schema dumps in under version control as <em>alumb</em> and others suggest because I want an easy way to upgrade my prod... | <p>Martin Fowler wrote my favorite article on the subject, <a href="http://martinfowler.com/articles/evodb.html" rel="noreferrer">http://martinfowler.com/articles/evodb.html</a>. I choose not to put schema dumps in under version control as <em>alumb</em> and others suggest because I want an easy way to upgrade my prod... | 30, 63, 72, 456 | database, sql-server, svn, version-control | <h1>How to do version control for SQL Server database?</h1>
<p>I want to get my databases under version control.</p>
<p>I'll always want to have at least <em>some</em> data in there (as <a href="https://stackoverflow.com/users/80/alumb">alumb</a> mentions: user types and administrators). I'll also often want a large co... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,927 | svn | # How to do version control for SQL Server database?
I want to get my databases under version control.
I'll always want to have at least *some* data in there (as [alumb](https://stackoverflow.com/users/80/alumb) mentions: user types and administrators). I'll also often want a large collection of generated test data f... | Martin Fowler wrote my favorite article on the subject, <http://martinfowler.com/articles/evodb.html>. I choose not to put schema dumps in under version control as *alumb* and others suggest because I want an easy way to upgrade my production database.
For a web application where I'll have a single production database... |
651305 | How do I browse an old revision of a Subversion repository through the web view? | 153 | 2009-03-16 17:10:15 | <p>I know how to browse my project's Subversion repository through its web front-end, but it seems that I can only browse the latest revision of the trunk. Is there a way to browse an older revision of the trunk through the web UI?</p>
<p>I know how to do this from the command-line, but I need to know how to do this u... | 85,915 | 20,712 | 2019-06-02 18:13:10 | 651,322 | 191 | 2009-03-16 17:14:57 | 76,583 | 2016-11-26 17:06:54 | https://stackoverflow.com/q/651305 | https://stackoverflow.com/a/651322 | <p>Append something like this to your repository URL:</p>
<pre><code>!svn/bc/<revision_number>/
</code></pre>
<p>E.g.</p>
<pre><code>http://www.example.com/svnrepository/!svn/bc/3/
</code></pre>
<hr />
<h3>Alternative</h3>
<p>From <a href="https://stackoverflow.com/users/2094/bert-huijben">Bert Huijben's comment<... | <p>Append something like this to your repository URL:</p> <pre><code>!svn/bc/<revision_number>/ </code></pre> <p>E.g.</p> <pre><code>http://www.example.com/svnrepository/!svn/bc/3/ </code></pre> <hr /> <h3>Alternative</h3> <p>From <a href="https://stackoverflow.com/users/2094/bert-huijben">Bert Huijben's comment<... | 63 | svn | <h1>How do I browse an old revision of a Subversion repository through the web view?</h1>
<p>I know how to browse my project's Subversion repository through its web front-end, but it seems that I can only browse the latest revision of the trunk. Is there a way to browse an older revision of the trunk through the web UI... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,928 | svn | # How do I browse an old revision of a Subversion repository through the web view?
I know how to browse my project's Subversion repository through its web front-end, but it seems that I can only browse the latest revision of the trunk. Is there a way to browse an older revision of the trunk through the web UI?
I know... | Append something like this to your repository URL:
```
!svn/bc/<revision_number>/
```
E.g.
```
http://www.example.com/svnrepository/!svn/bc/3/
```
---
### Alternative
From [Bert Huijben's comment](https://stackoverflow.com/users/2094/bert-huijben):
> If your repository is hosted using Subversion 1.6.0 or later, ... |
282802 | How can I view all historical changes to a file in SVN | 189 | 2008-11-12 02:16:08 | <p>I know that I can <code> svn diff -r a:b repo </code> to view the changes between the two specified revisions. What I'd like is a diff for every revision that changed the file. Is such a command available?</p>
| 223,845 | 23,071 | 2019-01-06 17:57:46 | 283,168 | 189 | 2008-11-12 06:26:25 | 33,412 | 2017-03-24 14:24:36 | https://stackoverflow.com/q/282802 | https://stackoverflow.com/a/283168 | <p>There's no built-in command for it, so I usually just do something like this:</p>
<pre><code>#!/bin/bash
# history_of_file
#
# Outputs the full history of a given file as a sequence of
# logentry/diff pairs. The first revision of the file is emitted as
# full text since there's not previous version to compare it ... | <p>There's no built-in command for it, so I usually just do something like this:</p> <pre><code>#!/bin/bash # history_of_file # # Outputs the full history of a given file as a sequence of # logentry/diff pairs. The first revision of the file is emitted as # full text since there's not previous version to compare it ... | 63 | svn | <h1>How can I view all historical changes to a file in SVN</h1>
<p>I know that I can <code> svn diff -r a:b repo </code> to view the changes between the two specified revisions. What I'd like is a diff for every revision that changed the file. Is such a command available?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,929 | svn | # How can I view all historical changes to a file in SVN
I know that I can `svn diff -r a:b repo` to view the changes between the two specified revisions. What I'd like is a diff for every revision that changed the file. Is such a command available? | There's no built-in command for it, so I usually just do something like this:
```
#!/bin/bash
# history_of_file
#
# Outputs the full history of a given file as a sequence of
# logentry/diff pairs. The first revision of the file is emitted as
# full text since there's not previous version to compare it to.
function ... |
11634732 | How do I output the difference between two specific revisions in Subversion? | 132 | 2012-07-24 15:56:20 | <p>I'm using Subversion via the Linux command line interface.</p>
<p>I want to see the difference between revision 11390 and 8979 of a specific file called <code>fSupplierModel.php</code> in my terminal. How can I do that?</p>
| 180,405 | 449,364 | 2017-11-21 21:00:52 | 11,634,755 | 189 | 2012-07-24 15:57:39 | 39,430 | 2016-02-04 09:36:08 | https://stackoverflow.com/q/11634732 | https://stackoverflow.com/a/11634755 | <p>See <a href="http://svnbook.red-bean.com/en/1.8/svn.ref.svn.c.diff.html" rel="noreferrer"><code>svn diff</code></a> in the manual:</p>
<pre><code>svn diff -r 8979:11390 http://svn.collab.net/repos/svn/trunk/fSupplierModel.php
</code></pre>
| <p>See <a href="http://svnbook.red-bean.com/en/1.8/svn.ref.svn.c.diff.html" rel="noreferrer"><code>svn diff</code></a> in the manual:</p> <pre><code>svn diff -r 8979:11390 http://svn.collab.net/repos/svn/trunk/fSupplierModel.php </code></pre> | 63, 606 | diff, svn | <h1>How do I output the difference between two specific revisions in Subversion?</h1>
<p>I'm using Subversion via the Linux command line interface.</p>
<p>I want to see the difference between revision 11390 and 8979 of a specific file called <code>fSupplierModel.php</code> in my terminal. How can I do that?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,930 | svn | # How do I output the difference between two specific revisions in Subversion?
I'm using Subversion via the Linux command line interface.
I want to see the difference between revision 11390 and 8979 of a specific file called `fSupplierModel.php` in my terminal. How can I do that? | See [`svn diff`](http://svnbook.red-bean.com/en/1.8/svn.ref.svn.c.diff.html) in the manual:
```
svn diff -r 8979:11390 http://svn.collab.net/repos/svn/trunk/fSupplierModel.php
``` |
851377 | How to properly create an SVN tag from trunk? | 294 | 2009-05-12 06:17:44 | <p>I am creating my first project in <a href="http://en.wikipedia.org/wiki/Apache_Subversion" rel="noreferrer">Subversion</a>. So far I have</p>
<pre><code> branches
tags
trunk
</code></pre>
<p>I think I immediately need to make branches singular and start over. <strong>Update branches</strong> is the norm.</p>
<... | 386,486 | 66,519 | 2025-11-11 13:00:16 | 851,397 | 188 | 2009-05-12 06:22:48 | 28,169 | 2012-01-12 10:08:55 | https://stackoverflow.com/q/851377 | https://stackoverflow.com/a/851397 | <p>You are correct in that it's not "right" to add files to the tags folder.</p>
<p>You've correctly guessed that <code>copy</code> is the operation to use; it lets Subversion keep track of the history of these files, and also (I assume) store them much more efficiently.</p>
<p>In my experience, it's best to do copie... | <p>You are correct in that it's not "right" to add files to the tags folder.</p> <p>You've correctly guessed that <code>copy</code> is the operation to use; it lets Subversion keep track of the history of these files, and also (I assume) store them much more efficiently.</p> <p>In my experience, it's best to do copie... | 63, 115 | svn, tags | <h1>How to properly create an SVN tag from trunk?</h1>
<p>I am creating my first project in <a href="http://en.wikipedia.org/wiki/Apache_Subversion" rel="noreferrer">Subversion</a>. So far I have</p>
<pre><code> branches
tags
trunk
</code></pre>
<p>I think I immediately need to make branches singular and start over... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,931 | svn | # How to properly create an SVN tag from trunk?
I am creating my first project in [Subversion](http://en.wikipedia.org/wiki/Apache_Subversion). So far I have
```
branches
tags
trunk
```
I think I immediately need to make branches singular and start over. **Update branches** is the norm.
I have been doing work in... | You are correct in that it's not "right" to add files to the tags folder.
You've correctly guessed that `copy` is the operation to use; it lets Subversion keep track of the history of these files, and also (I assume) store them much more efficiently.
In my experience, it's best to do copies ("snapshots") of entire pr... |
417726 | How do I move a single folder from one Subversion repository to another repository? | 160 | 2009-01-06 19:05:46 | <p>I have a "docs" folder in a Subversion repository named "project". I've come to the conclusion that it should really be kept under a separate Subversion repository named "project_docs".</p>
<p>I'd like to move the "docs" folder (<strong>and all of its revisions</strong>) to the "project_docs" repository. Is there a... | 92,543 | 11,460 | 2020-11-04 01:28:32 | 417,748 | 184 | 2009-01-06 19:14:49 | 32,465 | 2009-07-04 13:36:23 | https://stackoverflow.com/q/417726 | https://stackoverflow.com/a/417748 | <p>If you have access the repository itself (not a working copy), you should be able to dump the current repository, filter it to only include information about the docs folder, and load it into the other repository.</p>
<p>Would be something like this:</p>
<pre><code>svnadmin dump /svn/old_repos > ./repository.du... | <p>If you have access the repository itself (not a working copy), you should be able to dump the current repository, filter it to only include information about the docs folder, and load it into the other repository.</p> <p>Would be something like this:</p> <pre><code>svnadmin dump /svn/old_repos > ./repository.du... | 63, 218, 5634, 7330 | directory, move, repository, svn | <h1>How do I move a single folder from one Subversion repository to another repository?</h1>
<p>I have a "docs" folder in a Subversion repository named "project". I've come to the conclusion that it should really be kept under a separate Subversion repository named "project_docs".</p>
<p>I'd like to move the "docs" fo... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,932 | svn | # How do I move a single folder from one Subversion repository to another repository?
I have a "docs" folder in a Subversion repository named "project". I've come to the conclusion that it should really be kept under a separate Subversion repository named "project_docs".
I'd like to move the "docs" folder (**and all ... | If you have access the repository itself (not a working copy), you should be able to dump the current repository, filter it to only include information about the docs folder, and load it into the other repository.
Would be something like this:
```
svnadmin dump /svn/old_repos > ./repository.dump
svndumpfilter include... |
1461922 | What is the simplest way to do branching and merging using TortoiseSVN? | 80 | 2009-09-22 18:50:26 | <p>What is a really simple "how to" to do branching and merging using TortoiseSVN?</p>
| 32,238 | 16,012 | 2012-04-10 19:02:16 | 1,461,935 | 184 | 2009-09-22 18:52:00 | 16,012 | 2012-04-10 19:02:16 | https://stackoverflow.com/q/1461922 | https://stackoverflow.com/a/1461935 | <p>Assuming your work directory is working from the trunk:</p>
<p>Right-click on the "root work folder" (this term always refers to Windows Explorer) and do <code>svn update</code> to update your work folder to the latest trunk.</p>
<p>Make sure what you have is stable.</p>
<p>Right-click on the root work folder and... | <p>Assuming your work directory is working from the trunk:</p> <p>Right-click on the "root work folder" (this term always refers to Windows Explorer) and do <code>svn update</code> to update your work folder to the latest trunk.</p> <p>Make sure what you have is stable.</p> <p>Right-click on the root work folder and... | 63, 456, 656, 1879 | branch, svn, tortoisesvn, version-control | <h1>What is the simplest way to do branching and merging using TortoiseSVN?</h1>
<p>What is a really simple "how to" to do branching and merging using TortoiseSVN?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,933 | svn | # What is the simplest way to do branching and merging using TortoiseSVN?
What is a really simple "how to" to do branching and merging using TortoiseSVN? | Assuming your work directory is working from the trunk:
Right-click on the "root work folder" (this term always refers to Windows Explorer) and do `svn update` to update your work folder to the latest trunk.
Make sure what you have is stable.
Right-click on the root work folder and do `svn commit` to make sure any l... |
12559929 | Resolving tree conflict | 96 | 2012-09-24 06:33:27 | <p>How to resolve tree conflict in current scenerio.</p>
<pre><code>C:\DevBranch
C:\MyBranch
</code></pre>
<p>I updated both branches. Edited MyBranch and then committed back. Now want to merge those changes into DevBranch. When I am doing the merge I am getting 'Tree Conflicts'</p>
<pre><code>The last merge operati... | 187,539 | 277,696 | 2022-12-23 09:12:59 | 12,560,172 | 182 | 2012-09-24 06:53:26 | 1,374,267 | 2022-12-23 09:12:59 | https://stackoverflow.com/q/12559929 | https://stackoverflow.com/a/12560172 | <p>What you can do to resolve your conflict is</p>
<pre><code>svn resolve --accept working -R <path>
</code></pre>
<p>where <code><path></code> is where you have your conflict (can be the root of your repo).</p>
<p>Explanations:</p>
<ul>
<li><code>resolve</code> asks <code>svn</code> to resolve the conflict... | <p>What you can do to resolve your conflict is</p> <pre><code>svn resolve --accept working -R <path> </code></pre> <p>where <code><path></code> is where you have your conflict (can be the root of your repo).</p> <p>Explanations:</p> <ul> <li><code>resolve</code> asks <code>svn</code> to resolve the conflict... | 63, 656, 28636 | svn, tortoisesvn, tree-conflict | <h1>Resolving tree conflict</h1>
<p>How to resolve tree conflict in current scenerio.</p>
<pre><code>C:\DevBranch
C:\MyBranch
</code></pre>
<p>I updated both branches. Edited MyBranch and then committed back. Now want to merge those changes into DevBranch. When I am doing the merge I am getting 'Tree Conflicts'</p>
... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,934 | svn | # Resolving tree conflict
How to resolve tree conflict in current scenerio.
```
C:\DevBranch
C:\MyBranch
```
I updated both branches. Edited MyBranch and then committed back. Now want to merge those changes into DevBranch. When I am doing the merge I am getting 'Tree Conflicts'
```
The last merge operation tried to... | What you can do to resolve your conflict is
```
svn resolve --accept working -R <path>
```
where `<path>` is where you have your conflict (can be the root of your repo).
Explanations:
- `resolve` asks `svn` to resolve the conflict
- `accept working` specifies to keep your working files
- `-R` stands for recursive
... |
33055 | SVN repository backup strategies | 197 | 2008-08-28 18:43:59 | <p>What methods are available for backing up repositories in a Windows environment?</p>
| 146,230 | 3,396 | 2022-12-29 03:07:34 | 33,064 | 181 | 2008-08-28 18:46:35 | 2,569 | 2008-09-01 09:42:28 | https://stackoverflow.com/q/33055 | https://stackoverflow.com/a/33064 | <p>You could use something like (Linux):</p>
<pre><code>svnadmin dump repositorypath | gzip > backupname.svn.gz
</code></pre>
<p>Since Windows does not support GZip it is just:</p>
<pre><code>svnadmin dump repositorypath > backupname.svn
</code></pre>
| <p>You could use something like (Linux):</p> <pre><code>svnadmin dump repositorypath | gzip > backupname.svn.gz </code></pre> <p>Since Windows does not support GZip it is just:</p> <pre><code>svnadmin dump repositorypath > backupname.svn </code></pre> | 63, 64, 493 | backup, svn, windows | <h1>SVN repository backup strategies</h1>
<p>What methods are available for backing up repositories in a Windows environment?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,935 | svn | # SVN repository backup strategies
What methods are available for backing up repositories in a Windows environment? | You could use something like (Linux):
```
svnadmin dump repositorypath | gzip > backupname.svn.gz
```
Since Windows does not support GZip it is just:
```
svnadmin dump repositorypath > backupname.svn
``` |
2882786 | Is there a command to list SVN conflicts? | 122 | 2010-05-21 14:11:50 | <p>Does anyone know an SVN command to list current conflicts between the repo and the working copy?</p>
<p>Thanks</p>
| 93,648 | 275,218 | 2023-02-16 01:55:20 | 5,707,181 | 176 | 2011-04-18 18:27:09 | 356,016 | 2023-02-16 01:55:20 | https://stackoverflow.com/q/2882786 | https://stackoverflow.com/a/5707181 | <p>On Linux, if you want to see only the conflicts, pipe the status through grep.</p>
<pre class="lang-bash prettyprint-override"><code>svn status | grep -P '^(?=.{0,6}C)'
</code></pre>
| <p>On Linux, if you want to see only the conflicts, pipe the status through grep.</p> <pre class="lang-bash prettyprint-override"><code>svn status | grep -P '^(?=.{0,6}C)' </code></pre> | 63 | svn | <h1>Is there a command to list SVN conflicts?</h1>
<p>Does anyone know an SVN command to list current conflicts between the repo and the working copy?</p>
<p>Thanks</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,938 | svn | # Is there a command to list SVN conflicts?
Does anyone know an SVN command to list current conflicts between the repo and the working copy?
Thanks | On Linux, if you want to see only the conflicts, pipe the status through grep.
```
svn status | grep -P '^(?=.{0,6}C)'
``` |
337304 | Which Eclipse files belong under version control? | 247 | 2008-12-03 14:32:26 | <p>Which Eclipse files is it appropriate to put under source control, aside from the sources obviously?</p>
<p>In my project, specifically, I'm wondering about:</p>
<blockquote>
<p>.metadata/*<br>
project-dir/.project<br>
project-dir/.classpath<br>
project-dir/.settings/* </p>
</blockquote>
<p>If there are ... | 58,371 | 4,893 | 2022-06-17 10:24:25 | 337,317 | 175 | 2008-12-03 14:36:55 | 6,309 | 2016-11-29 22:16:43 | https://stackoverflow.com/q/337304 | https://stackoverflow.com/a/337317 | <p>Metadata should not be managed in source control. They contain mostly data relevant to <em>your</em> workspace.</p>
<p>The only exception is the <code>.launch</code> XML files (launcher definition).</p>
<p>They are found in</p>
<pre><code>[eclipse-workspace]\.metadata\.plugins\org.eclipse.debug.core\.launches
</c... | <p>Metadata should not be managed in source control. They contain mostly data relevant to <em>your</em> workspace.</p> <p>The only exception is the <code>.launch</code> XML files (launcher definition).</p> <p>They are found in</p> <pre><code>[eclipse-workspace]\.metadata\.plugins\org.eclipse.debug.core\.launches </c... | 53, 63, 456 | eclipse, svn, version-control | <h1>Which Eclipse files belong under version control?</h1>
<p>Which Eclipse files is it appropriate to put under source control, aside from the sources obviously?</p>
<p>In my project, specifically, I'm wondering about:</p>
<blockquote>
<p>.metadata/*<br>
project-dir/.project<br>
project-dir/.classpath<br>
pr... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,939 | svn | # Which Eclipse files belong under version control?
Which Eclipse files is it appropriate to put under source control, aside from the sources obviously?
In my project, specifically, I'm wondering about:
> .metadata/*
> project-dir/.project
> project-dir/.classpath
> project-dir/.settings/*
If there are any of... | Metadata should not be managed in source control. They contain mostly data relevant to *your* workspace.
The only exception is the `.launch` XML files (launcher definition).
They are found in
```
[eclipse-workspace]\.metadata\.plugins\org.eclipse.debug.core\.launches
```
And they should be copied into your project ... |
22572861 | Error "can't use subversion command line client : svn" when opening android project checked out from svn | 142 | 2014-03-22 02:54:58 | <p>I'm new to Android development and the development tools around it. I have checked out a project from svn using TortoiseSVN client (can't manage to do it from within Android Studio), then get this error message after importing the project to Android Studio:</p>
<blockquote>
<p><strong>can't use subversion command li... | 191,154 | 2,998,271 | 2023-09-01 20:57:00 | 22,574,660 | 174 | 2014-03-22 07:16:48 | 641,955 | 2015-07-30 13:10:49 | https://stackoverflow.com/q/22572861 | https://stackoverflow.com/a/22574660 | <p>Android Studio cannot find the <code>svn</code> command because it's not on <code>PATH</code>, and it doesn't know where <code>svn</code> is installed.</p>
<p>One way to fix is to edit the <code>PATH</code> environment variable: add the directory that contains <code>svn.exe</code>. You will need to restart Android ... | <p>Android Studio cannot find the <code>svn</code> command because it's not on <code>PATH</code>, and it doesn't know where <code>svn</code> is installed.</p> <p>One way to fix is to edit the <code>PATH</code> environment variable: add the directory that contains <code>svn.exe</code>. You will need to restart Android ... | 63, 656, 1386, 8945, 91905 | android, android-studio, intellij-idea, svn, tortoisesvn | <h1>Error "can't use subversion command line client : svn" when opening android project checked out from svn</h1>
<p>I'm new to Android development and the development tools around it. I have checked out a project from svn using TortoiseSVN client (can't manage to do it from within Android Studio), then get this error ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,940 | svn | # Error "can't use subversion command line client : svn" when opening android project checked out from svn
I'm new to Android development and the development tools around it. I have checked out a project from svn using TortoiseSVN client (can't manage to do it from within Android Studio), then get this error message a... | Android Studio cannot find the `svn` command because it's not on `PATH`, and it doesn't know where `svn` is installed.
One way to fix is to edit the `PATH` environment variable: add the directory that contains `svn.exe`. You will need to restart Android Studio to make it re-read the `PATH` variable.
Another way is to... |
182945 | How to see what will be updated from repository before issuing "svn update" command? | 124 | 2008-10-08 14:04:27 | <p>I've committed changes in numerous files to a SVN repository from Eclipse.</p>
<p>I then go to website directory on the linux box where I want to update these changes from the repository to the directory there.</p>
<p>I want to say "svn update project100" which will update the directories under "project100" with a... | 83,943 | 4,639 | 2017-07-12 10:11:51 | 182,966 | 174 | 2008-10-08 14:08:35 | 3,171 | 2008-10-08 14:08:35 | https://stackoverflow.com/q/182945 | https://stackoverflow.com/a/182966 | <p>Try:</p>
<pre><code>svn status --show-updates
</code></pre>
<p>or (the same but shorter):</p>
<pre><code>svn status -u
</code></pre>
| <p>Try:</p> <pre><code>svn status --show-updates </code></pre> <p>or (the same but shorter):</p> <pre><code>svn status -u </code></pre> | 63 | svn | <h1>How to see what will be updated from repository before issuing "svn update" command?</h1>
<p>I've committed changes in numerous files to a SVN repository from Eclipse.</p>
<p>I then go to website directory on the linux box where I want to update these changes from the repository to the directory there.</p>
<p>I w... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,941 | svn | # How to see what will be updated from repository before issuing "svn update" command?
I've committed changes in numerous files to a SVN repository from Eclipse.
I then go to website directory on the linux box where I want to update these changes from the repository to the directory there.
I want to say "svn update ... | Try:
```
svn status --show-updates
```
or (the same but shorter):
```
svn status -u
``` |
1909651 | SVN+SSH, not having to do ssh-add every time? (Mac OS) | 109 | 2009-12-15 19:10:24 | <p>I know the answer is out there, but I'm pretty Unix-dumb and probably wouldn't recognize the solution if it hit me in the face.</p>
<p>I'm on a Mac, connecting to a SVN server via SSH tunneling. I have to <code>ssh-add privateKey.txt</code> every time I want to connect to the SVN server (Both Cornerstone and Xcode... | 40,688 | 176,780 | 2018-06-24 20:28:22 | 1,912,042 | 174 | 2009-12-16 03:18:31 | 6,372 | 2009-12-16 03:18:31 | https://stackoverflow.com/q/1909651 | https://stackoverflow.com/a/1912042 | <p>First, move your private key file into <code>~/.ssh</code>. This is not strictly necessary but it's the standard place for such things.</p>
<p>Then run <code>ssh-add -K ~/.ssh/privateKey.txt</code>. It'll prompt for your passphrase if necessary, then add it to your Keychain.</p>
<p>After that, you shouldn't have... | <p>First, move your private key file into <code>~/.ssh</code>. This is not strictly necessary but it's the standard place for such things.</p> <p>Then run <code>ssh-add -K ~/.ssh/privateKey.txt</code>. It'll prompt for your passphrase if necessary, then add it to your Keychain.</p> <p>After that, you shouldn't have... | 63, 369, 386 | macos, ssh, svn | <h1>SVN+SSH, not having to do ssh-add every time? (Mac OS)</h1>
<p>I know the answer is out there, but I'm pretty Unix-dumb and probably wouldn't recognize the solution if it hit me in the face.</p>
<p>I'm on a Mac, connecting to a SVN server via SSH tunneling. I have to <code>ssh-add privateKey.txt</code> every time... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,942 | svn | # SVN+SSH, not having to do ssh-add every time? (Mac OS)
I know the answer is out there, but I'm pretty Unix-dumb and probably wouldn't recognize the solution if it hit me in the face.
I'm on a Mac, connecting to a SVN server via SSH tunneling. I have to `ssh-add privateKey.txt` every time I want to connect to the SV... | First, move your private key file into `~/.ssh`. This is not strictly necessary but it's the standard place for such things.
Then run `ssh-add -K ~/.ssh/privateKey.txt`. It'll prompt for your passphrase if necessary, then add it to your Keychain.
After that, you shouldn't have to do anything else. A slightly longer e... |
681833 | List all svn:externals recursively? | 107 | 2009-03-25 14:30:45 | <p>How can I get a list of all svn:externals (recursively) in a directory? Is there any utility for this?</p>
<p>(I'm using Windows (and tortoise))</p>
<p>I have a bunch of svn:externals linking to different shared parts of my project and I when I branch it's usually quite error prone to find all externals and change... | 62,151 | 40,939 | 2017-08-07 15:49:09 | 682,287 | 172 | 2009-03-25 16:04:49 | 52,626 | 2017-08-07 15:49:09 | https://stackoverflow.com/q/681833 | https://stackoverflow.com/a/682287 | <p>Do the following in the root of your working copy:</p>
<pre><code>svn propget svn:externals -R
</code></pre>
<p>As discussed in the comments below, this does not list externals in externals.</p>
<p>Note for TortoiseSVN users: there is an option in the TortoiseSVN installer to also install the SVN command line cli... | <p>Do the following in the root of your working copy:</p> <pre><code>svn propget svn:externals -R </code></pre> <p>As discussed in the comments below, this does not list externals in externals.</p> <p>Note for TortoiseSVN users: there is an option in the TortoiseSVN installer to also install the SVN command line cli... | 63, 656 | svn, tortoisesvn | <h1>List all svn:externals recursively?</h1>
<p>How can I get a list of all svn:externals (recursively) in a directory? Is there any utility for this?</p>
<p>(I'm using Windows (and tortoise))</p>
<p>I have a bunch of svn:externals linking to different shared parts of my project and I when I branch it's usually quite... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,943 | svn | # List all svn:externals recursively?
How can I get a list of all svn:externals (recursively) in a directory? Is there any utility for this?
(I'm using Windows (and tortoise))
I have a bunch of svn:externals linking to different shared parts of my project and I when I branch it's usually quite error prone to find al... | Do the following in the root of your working copy:
```
svn propget svn:externals -R
```
As discussed in the comments below, this does not list externals in externals.
Note for TortoiseSVN users: there is an option in the TortoiseSVN installer to also install the SVN command line client. This option is not enabled by... |
2331841 | svn : how to create a branch from certain revision of trunk | 122 | 2010-02-25 05:27:31 | <p>The following action will only create a branch from the head revision of the trunk. How do I create a branch from a specific revision? Thanks.</p>
<pre><code>$ svn copy http://svn.example.com/repos/calc/trunk \
http://svn.example.com/repos/calc/branches/my-calc-branch \
-m "Creating a private branch of /c... | 148,885 | 115,722 | 2019-02-25 09:48:36 | 2,331,857 | 168 | 2010-02-25 05:32:03 | 53,653 | 2011-07-05 17:19:20 | https://stackoverflow.com/q/2331841 | https://stackoverflow.com/a/2331857 | <p>Check out the help command:</p>
<pre><code>svn help copy
-r [--revision] arg : ARG (some commands also take ARG1:ARG2 range)
A revision argument can be one of:
NUMBER revision number
'{' DATE '}' revision at s... | <p>Check out the help command:</p> <pre><code>svn help copy -r [--revision] arg : ARG (some commands also take ARG1:ARG2 range) A revision argument can be one of: NUMBER revision number '{' DATE '}' revision at s... | 63, 1879 | branch, svn | <h1>svn : how to create a branch from certain revision of trunk</h1>
<p>The following action will only create a branch from the head revision of the trunk. How do I create a branch from a specific revision? Thanks.</p>
<pre><code>$ svn copy http://svn.example.com/repos/calc/trunk \
http://svn.example.com/repos... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,945 | svn | # svn : how to create a branch from certain revision of trunk
The following action will only create a branch from the head revision of the trunk. How do I create a branch from a specific revision? Thanks.
```
$ svn copy http://svn.example.com/repos/calc/trunk \
http://svn.example.com/repos/calc/branches/my-cal... | Check out the help command:
```
svn help copy
-r [--revision] arg : ARG (some commands also take ARG1:ARG2 range)
A revision argument can be one of:
NUMBER revision number
'{' DATE '}' revision at start of the da... |
4939045 | SVN: Folder already under version control but not comitting? | 113 | 2011-02-08 22:05:11 | <pre><code>mark@mark-ubuntu:~/myproject$ svn stat
? runserver.sh
? media/images/icons
? apps/autocomplete
mark@mark-ubuntu:~/myproject$ svn add apps/autocomplete
svn: warning: 'apps/autocomplete' is already under version control
</code></pre>
<p><code>svn stat</code> says its not under version contro... | 153,950 | 65,387 | 2024-10-19 05:01:27 | 4,939,085 | 165 | 2011-02-08 22:09:03 | 605,744 | 2012-04-03 12:37:07 | https://stackoverflow.com/q/4939045 | https://stackoverflow.com/a/4939085 | <p>Copy problematic folder into some backup directory and remove it from your SVN working directory. Remember to delete all <code>.svn</code> hidden directories from the copied folder.</p>
<p>Now update your project, clean-up and commit what has left. Now move your folder back to working directory, add it and commit. ... | <p>Copy problematic folder into some backup directory and remove it from your SVN working directory. Remember to delete all <code>.svn</code> hidden directories from the copied folder.</p> <p>Now update your project, clean-up and commit what has left. Now move your folder back to working directory, add it and commit. ... | 63 | svn | <h1>SVN: Folder already under version control but not comitting?</h1>
<pre><code>mark@mark-ubuntu:~/myproject$ svn stat
? runserver.sh
? media/images/icons
? apps/autocomplete
mark@mark-ubuntu:~/myproject$ svn add apps/autocomplete
svn: warning: 'apps/autocomplete' is already under version control
</c... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,946 | svn | # SVN: Folder already under version control but not comitting?
```
mark@mark-ubuntu:~/myproject$ svn stat
? runserver.sh
? media/images/icons
? apps/autocomplete
mark@mark-ubuntu:~/myproject$ svn add apps/autocomplete
svn: warning: 'apps/autocomplete' is already under version control
```
`svn stat` ... | Copy problematic folder into some backup directory and remove it from your SVN working directory. Remember to delete all `.svn` hidden directories from the copied folder.
Now update your project, clean-up and commit what has left. Now move your folder back to working directory, add it and commit. Most of the time this... |
7992034 | SVN upgrade working copy | 140 | 2011-11-03 08:37:09 | <p>I cannot do a SVN commit. I get this error:</p>
<pre><code>org.apache.subversion.javahl.ClientException: The working copy needs to be upgraded
svn: Working copy 'C:\.... is too old (format 10, created by Subversion 1.6)
</code></pre>
<p>How can it be fixed?</p>
| 248,909 | 810,430 | 2018-03-18 05:03:17 | 7,992,072 | 162 | 2011-11-03 08:41:14 | 112,968 | 2011-11-03 08:48:29 | https://stackoverflow.com/q/7992034 | https://stackoverflow.com/a/7992072 | <p>You have to upgrade your subversion client to at least 1.7.</p>
<p>With the command line client, you have to manually upgrade your working copy format by issuing the command <code>svn upgrade</code>:</p>
<blockquote>
<p><strong>Upgrading the Working Copy</strong></p>
<p>Subversion 1.7 introduces substantial... | <p>You have to upgrade your subversion client to at least 1.7.</p> <p>With the command line client, you have to manually upgrade your working copy format by issuing the command <code>svn upgrade</code>:</p> <blockquote> <p><strong>Upgrading the Working Copy</strong></p> <p>Subversion 1.7 introduces substantial... | 63, 5792, 19697 | svn, version, working-copy | <h1>SVN upgrade working copy</h1>
<p>I cannot do a SVN commit. I get this error:</p>
<pre><code>org.apache.subversion.javahl.ClientException: The working copy needs to be upgraded
svn: Working copy 'C:\.... is too old (format 10, created by Subversion 1.6)
</code></pre>
<p>How can it be fixed?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,947 | svn | # SVN upgrade working copy
I cannot do a SVN commit. I get this error:
```
org.apache.subversion.javahl.ClientException: The working copy needs to be upgraded
svn: Working copy 'C:\.... is too old (format 10, created by Subversion 1.6)
```
How can it be fixed? | You have to upgrade your subversion client to at least 1.7.
With the command line client, you have to manually upgrade your working copy format by issuing the command `svn upgrade`:
> **Upgrading the Working Copy**
>
> Subversion 1.7 introduces substantial changes to the working copy
> format. In previous releases of... |
4335719 | SVN- How to commit multiple files in a single shot | 109 | 2010-12-02 13:54:16 | <p>I tried to commit multiple files across different directories in a single shot as below,</p>
<pre><code>svn commit –m”log msg” mydir/dir1/file1.c mydir/dir2/myfile1.h mydir/dir3/myfile3.c etc etc
</code></pre>
<p>Since, I wanted to exclude some files from the commit list so I’ve placed each file name in the comman... | 162,256 | 51,529 | 2023-07-03 20:59:14 | 4,335,763 | 162 | 2010-12-02 13:59:20 | 38,883 | 2016-07-26 21:56:12 | https://stackoverflow.com/q/4335719 | https://stackoverflow.com/a/4335763 | <p>You can use an <a href="http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.changelist.html" rel="noreferrer">svn changelist</a> to keep track of a set of files that you want to commit together.</p>
<p>The linked page goes into lots of details, but here's an executive summary example:</p>
<pre><code>$ svn changelist ... | <p>You can use an <a href="http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.changelist.html" rel="noreferrer">svn changelist</a> to keep track of a set of files that you want to commit together.</p> <p>The linked page goes into lots of details, but here's an executive summary example:</p> <pre><code>$ svn changelist ... | 63, 5310, 5597 | commit, file, svn | <h1>SVN- How to commit multiple files in a single shot</h1>
<p>I tried to commit multiple files across different directories in a single shot as below,</p>
<pre><code>svn commit –m”log msg” mydir/dir1/file1.c mydir/dir2/myfile1.h mydir/dir3/myfile3.c etc etc
</code></pre>
<p>Since, I wanted to exclude some files from... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,948 | svn | # SVN- How to commit multiple files in a single shot
I tried to commit multiple files across different directories in a single shot as below,
```
svn commit –m”log msg” mydir/dir1/file1.c mydir/dir2/myfile1.h mydir/dir3/myfile3.c etc etc
```
Since, I wanted to exclude some files from the commit list so I’ve placed e... | You can use an [svn changelist](http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.changelist.html) to keep track of a set of files that you want to commit together.
The linked page goes into lots of details, but here's an executive summary example:
```
$ svn changelist my-changelist mydir/dir1/file1.c mydir/dir2/myfil... |
1449836 | How to manage Rails database.yml | 82 | 2009-09-19 23:51:46 | <p>What's the best way to handle the Rails database.yml if multiple people are working on the project and database locations are different (the socket in particular).</p>
| 26,364 | 176,070 | 2014-07-16 07:32:48 | 1,450,108 | 160 | 2009-09-20 02:17:52 | 1,190 | 2013-05-06 07:58:30 | https://stackoverflow.com/q/1449836 | https://stackoverflow.com/a/1450108 | <h3>First, move <code>database.yml</code> to a template file.</h3>
<p>If you're on Git:</p>
<pre><code>git mv config/database.yml config/database.yml.example
git commit -m "moved database.yml to an example file"
</code></pre>
<p>Or, if you're on Subversion:</p>
<pre><code>svn move config/database.yml config/databas... | <h3>First, move <code>database.yml</code> to a template file.</h3> <p>If you're on Git:</p> <pre><code>git mv config/database.yml config/database.yml.example git commit -m "moved database.yml to an example file" </code></pre> <p>Or, if you're on Subversion:</p> <pre><code>svn move config/database.yml config/databas... | 21, 63, 4984 | mysql, ruby-on-rails, svn | <h1>How to manage Rails database.yml</h1>
<p>What's the best way to handle the Rails database.yml if multiple people are working on the project and database locations are different (the socket in particular).</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,950 | svn | # How to manage Rails database.yml
What's the best way to handle the Rails database.yml if multiple people are working on the project and database locations are different (the socket in particular). | ### First, move `database.yml` to a template file.
If you're on Git:
```
git mv config/database.yml config/database.yml.example
git commit -m "moved database.yml to an example file"
```
Or, if you're on Subversion:
```
svn move config/database.yml config/database.yml.example
svn ci -m "moved database.yml to an exam... |
14656527 | Svn switch from trunk to branch | 82 | 2013-02-01 23:01:00 | <p>I am in the root folder of an SVN-hosted project's <code>trunk</code> and am exploring setting up two branches. </p>
<p>One branch will be a "snapshot" of the project at the current (stable) revision, and a second branch will be one I'll work on to apply some new code, test, and then upgrade the trunk to a new vers... | 127,021 | 19,410 | 2020-04-15 16:34:36 | 14,656,576 | 159 | 2013-02-01 23:05:41 | 257,465 | 2013-02-01 23:05:41 | https://stackoverflow.com/q/14656527 | https://stackoverflow.com/a/14656576 | <p>You don't need to <code>--relocate</code> since the branch is within the same repository URL. Just do:</p>
<pre><code>svn switch https://www.example.com/svn/branches/v1p2p3
</code></pre>
| <p>You don't need to <code>--relocate</code> since the branch is within the same repository URL. Just do:</p> <pre><code>svn switch https://www.example.com/svn/branches/v1p2p3 </code></pre> | 63, 1879, 1880 | branch, svn, trunk | <h1>Svn switch from trunk to branch</h1>
<p>I am in the root folder of an SVN-hosted project's <code>trunk</code> and am exploring setting up two branches. </p>
<p>One branch will be a "snapshot" of the project at the current (stable) revision, and a second branch will be one I'll work on to apply some new code, test,... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,951 | svn | # Svn switch from trunk to branch
I am in the root folder of an SVN-hosted project's `trunk` and am exploring setting up two branches.
One branch will be a "snapshot" of the project at the current (stable) revision, and a second branch will be one I'll work on to apply some new code, test, and then upgrade the trunk ... | You don't need to `--relocate` since the branch is within the same repository URL. Just do:
```
svn switch https://www.example.com/svn/branches/v1p2p3
``` |
5874090 | How to get diff between all files inside 2 folders that are on the web? | 77 | 2011-05-03 18:38:16 | <p>So I want to <a href="http://cloudobserver.googlecode.com/svn/branches/v0.4/Boost.Extension.Tutorial/libs/boost/extension/" rel="noreferrer">compare this folder</a> <code>http://cloudobserver.googlecode.com/svn/branches/v0.4/Boost.Extension.Tutorial/libs/boost/extension/</code> with <a href="http://svn.boost.org/svn... | 111,264 | 434,051 | 2015-08-27 23:38:13 | 5,875,428 | 158 | 2011-05-03 20:39:34 | 85,371 | 2011-05-03 20:39:34 | https://stackoverflow.com/q/5874090 | https://stackoverflow.com/a/5875428 | <p>Once you have the source trees, e.g.</p>
<pre><code>diff -ENwbur repos1/ repos2/
</code></pre>
<p>Even better</p>
<pre><code>diff -ENwbur repos1/ repos2/ | kompare -o -
</code></pre>
<p>and have a crack at it in a good gui tool :)</p>
<ul>
<li>-Ewb ignore the bulk of whitespace changes</li>
<li>-N detect new ... | <p>Once you have the source trees, e.g.</p> <pre><code>diff -ENwbur repos1/ repos2/ </code></pre> <p>Even better</p> <pre><code>diff -ENwbur repos1/ repos2/ | kompare -o - </code></pre> <p>and have a crack at it in a good gui tool :)</p> <ul> <li>-Ewb ignore the bulk of whitespace changes</li> <li>-N detect new ... | 58, 63, 119, 606, 5310 | diff, file, git, linux, svn | <h1>How to get diff between all files inside 2 folders that are on the web?</h1>
<p>So I want to <a href="http://cloudobserver.googlecode.com/svn/branches/v0.4/Boost.Extension.Tutorial/libs/boost/extension/" rel="noreferrer">compare this folder</a> <code>http://cloudobserver.googlecode.com/svn/branches/v0.4/Boost.Exten... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,952 | svn | # How to get diff between all files inside 2 folders that are on the web?
So I want to [compare this folder](http://cloudobserver.googlecode.com/svn/branches/v0.4/Boost.Extension.Tutorial/libs/boost/extension/) `http://cloudobserver.googlecode.com/svn/branches/v0.4/Boost.Extension.Tutorial/libs/boost/extension/` with ... | Once you have the source trees, e.g.
```
diff -ENwbur repos1/ repos2/
```
Even better
```
diff -ENwbur repos1/ repos2/ | kompare -o -
```
and have a crack at it in a good gui tool :)
- -Ewb ignore the bulk of whitespace changes
- -N detect new files
- -u unified
- -r recurse |
3147660 | Server certificate verification failed: issuer is not trusted | 76 | 2010-06-30 08:43:44 | <p>I am getting below error when running a target of ANT script. Error message saying that "server certificate verification is failed". Please help how to remove this problem. I am working in Windows XP. </p>
<pre><code>C:\apache-ant-1.8.1>ant checkout
Buildfile: C:\Program Files\Java\apache-ant-1.8.1\build.xml
... | 162,254 | 379,833 | 2022-02-20 09:44:16 | 3,147,730 | 158 | 2010-06-30 08:52:19 | 289,396 | 2013-01-31 05:53:35 | https://stackoverflow.com/q/3147660 | https://stackoverflow.com/a/3147730 | <p>can you try to run <code>svn checkout</code> once manually to your URL <code>https://yoururl/trunk C:\ant-1.8.1\Test_Checkout</code> using command line
and accept certificate.</p>
<p>Or as @AndrewSpear says below</p>
<p>Rather than checking out manually run <code>svn list https://your.repository.url</code> from Te... | <p>can you try to run <code>svn checkout</code> once manually to your URL <code>https://yoururl/trunk C:\ant-1.8.1\Test_Checkout</code> using command line and accept certificate.</p> <p>Or as @AndrewSpear says below</p> <p>Rather than checking out manually run <code>svn list https://your.repository.url</code> from Te... | 63, 142 | ant, svn | <h1>Server certificate verification failed: issuer is not trusted</h1>
<p>I am getting below error when running a target of ANT script. Error message saying that "server certificate verification is failed". Please help how to remove this problem. I am working in Windows XP. </p>
<pre><code>C:\apache-ant-1.8.1>ant... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,953 | svn | # Server certificate verification failed: issuer is not trusted
I am getting below error when running a target of ANT script. Error message saying that "server certificate verification is failed". Please help how to remove this problem. I am working in Windows XP.
```
C:\apache-ant-1.8.1>ant checkout
Buildfile: C:\Pr... | can you try to run `svn checkout` once manually to your URL `https://yoururl/trunk C:\ant-1.8.1\Test_Checkout` using command line
and accept certificate.
Or as @AndrewSpear says below
Rather than checking out manually run `svn list https://your.repository.url` from Terminal (Mac) / Command Line (Win) to get the optio... |
21720865 | How to view changes made to files on a certain revision in Subversion | 103 | 2014-02-12 07:01:08 | <p>I am looking for a Subversion command which does the equivalent of </p>
<pre><code>git show <commit-number>
</code></pre>
| 145,629 | 2,539,015 | 2018-08-29 10:46:52 | 21,720,928 | 152 | 2014-02-12 07:04:47 | 1,329,844 | 2014-02-12 07:14:31 | https://stackoverflow.com/q/21720865 | https://stackoverflow.com/a/21720928 | <p>With this command you will see all changes in the repository <code>path/to/repo</code> that were committed in revision <code><revision></code>:</p>
<pre><code>svn diff -c <revision> path/to/repo
</code></pre>
<p>The <code>-c</code> indicates that you would like to look at a <em>changeset</em>, but ther... | <p>With this command you will see all changes in the repository <code>path/to/repo</code> that were committed in revision <code><revision></code>:</p> <pre><code>svn diff -c <revision> path/to/repo </code></pre> <p>The <code>-c</code> indicates that you would like to look at a <em>changeset</em>, but ther... | 63 | svn | <h1>How to view changes made to files on a certain revision in Subversion</h1>
<p>I am looking for a Subversion command which does the equivalent of </p>
<pre><code>git show <commit-number>
</code></pre>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,954 | svn | # How to view changes made to files on a certain revision in Subversion
I am looking for a Subversion command which does the equivalent of
```
git show <commit-number>
``` | With this command you will see all changes in the repository `path/to/repo` that were committed in revision `<revision>`:
```
svn diff -c <revision> path/to/repo
```
The `-c` indicates that you would like to look at a *changeset*, but there are many other ways you can look at diffs and changesets. For example, if you... |
15510119 | How to add an existing folder with files to SVN? | 92 | 2013-03-19 20:47:23 | <p>How do you add a folder without version control to a specific SVN location? I often start writing code and only after I have a few folders containing code files do I add it to SVN.</p>
<p>What I usually do is:</p>
<ol>
<li><strong>svn co</strong> the parent directory where I want to make a new folder to store my ... | 243,212 | 1,724,273 | 2019-06-18 10:37:47 | 30,966,256 | 151 | 2015-06-21 15:36:08 | 575,699 | 2016-12-15 19:27:53 | https://stackoverflow.com/q/15510119 | https://stackoverflow.com/a/30966256 | <p>Let's say I have code in the directory <code>~/local_dir/myNewApp</code>, and I want to put it under '<a href="https://svn.host/existing_path/myNewApp" rel="noreferrer">https://svn.host/existing_path/myNewApp</a>' (while being able to ignore some binaries, vendor libraries, etc.).</p>
<ol>
<li>Create an empty folde... | <p>Let's say I have code in the directory <code>~/local_dir/myNewApp</code>, and I want to put it under '<a href="https://svn.host/existing_path/myNewApp" rel="noreferrer">https://svn.host/existing_path/myNewApp</a>' (while being able to ignore some binaries, vendor libraries, etc.).</p> <ol> <li>Create an empty folde... | 63 | svn | <h1>How to add an existing folder with files to SVN?</h1>
<p>How do you add a folder without version control to a specific SVN location? I often start writing code and only after I have a few folders containing code files do I add it to SVN.</p>
<p>What I usually do is:</p>
<ol>
<li><strong>svn co</strong> the paren... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,955 | svn | # How to add an existing folder with files to SVN?
How do you add a folder without version control to a specific SVN location? I often start writing code and only after I have a few folders containing code files do I add it to SVN.
What I usually do is:
1. **svn co** the parent directory where I want to make a new f... | Let's say I have code in the directory `~/local_dir/myNewApp`, and I want to put it under '<https://svn.host/existing_path/myNewApp>' (while being able to ignore some binaries, vendor libraries, etc.).
1. Create an empty folder in the repository `svn mkdir https://svn.host/existing_path/myNewApp`
2. Go to the parent d... |
35962861 | How to fix "unable to create pristine install stream" | 59 | 2016-03-12 20:23:53 | <p>Since about one or two weeks I get this error message and I don't know how to resolve it.</p>
<blockquote>
<p>Commit failed (details follow):</p>
<p>Unable to create pristine install stream</p>
<p>The system cannot find the path specified.</p>
</blockquote>
<p><a href="https://i.sstatic.net/r4NcG.png" ... | 28,505 | 480,982 | 2022-10-09 03:11:11 | 35,962,862 | 151 | 2016-03-12 20:23:53 | 480,982 | 2016-03-12 20:23:53 | https://stackoverflow.com/q/35962861 | https://stackoverflow.com/a/35962862 | <p>I dug into it with <a href="https://technet.microsoft.com/en-us/sysinternals/processmonitor.aspx" rel="noreferrer">Process Monitor</a> and I found a line (one column per line below)</p>
<pre><code>21:06:17,6337584
TortoiseProc.exe
14144
CreateFile
[...]\.svn\tmp\svn-4F235F40
PATH NOT FOUND
Desired A... | <p>I dug into it with <a href="https://technet.microsoft.com/en-us/sysinternals/processmonitor.aspx" rel="noreferrer">Process Monitor</a> and I found a line (one column per line below)</p> <pre><code>21:06:17,6337584 TortoiseProc.exe 14144 CreateFile [...]\.svn\tmp\svn-4F235F40 PATH NOT FOUND Desired A... | 63 | svn | <h1>How to fix "unable to create pristine install stream"</h1>
<p>Since about one or two weeks I get this error message and I don't know how to resolve it.</p>
<blockquote>
<p>Commit failed (details follow):</p>
<p>Unable to create pristine install stream</p>
<p>The system cannot find the path specified.</... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,956 | svn | # How to fix "unable to create pristine install stream"
Since about one or two weeks I get this error message and I don't know how to resolve it.
> Commit failed (details follow):
>
> Unable to create pristine install stream
>
> The system cannot find the path specified.
[ and I found a line (one column per line below)
```
21:06:17,6337584
TortoiseProc.exe
14144
CreateFile
[...]\.svn\tmp\svn-4F235F40
PATH NOT FOUND
Desired Access: Generic Write, Read Attributes, Del... |
1786687 | SVN undo delete before commit | 143 | 2009-11-23 23:05:11 | <p>If you delete a directory from an SVN working copy, but haven't committed yet, it's not obvious how to get it back. Google even suggests "svn undo delete before commit" as a common query when you type "svn undo d", but the search results are unhelpful.</p>
<p>edit: I'd like a solution that works in subversion 1.4.4... | 131,745 | 151,238 | 2017-07-12 13:33:45 | 1,790,283 | 147 | 2009-11-24 14:04:53 | 189,919 | 2009-11-25 15:08:38 | https://stackoverflow.com/q/1786687 | https://stackoverflow.com/a/1790283 | <p><code>svn revert deletedDirectory</code></p>
<p><a href="http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.revert.html" rel="noreferrer">Here's the documentation</a> for the <code>svn revert</code> command.</p>
<hr />
<h3>EDIT</h3>
<p>If <code>deletedDirectory</code> was deleted using <code>rmdir</code> and not <... | <p><code>svn revert deletedDirectory</code></p> <p><a href="http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.revert.html" rel="noreferrer">Here's the documentation</a> for the <code>svn revert</code> command.</p> <hr /> <h3>EDIT</h3> <p>If <code>deletedDirectory</code> was deleted using <code>rmdir</code> and not <... | 63, 218, 5766, 106270 | delete-directory, directory, svn, undo | <h1>SVN undo delete before commit</h1>
<p>If you delete a directory from an SVN working copy, but haven't committed yet, it's not obvious how to get it back. Google even suggests "svn undo delete before commit" as a common query when you type "svn undo d", but the search results are unhelpful.</p>
<p>edit: I'd like a ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,958 | svn | # SVN undo delete before commit
If you delete a directory from an SVN working copy, but haven't committed yet, it's not obvious how to get it back. Google even suggests "svn undo delete before commit" as a common query when you type "svn undo d", but the search results are unhelpful.
edit: I'd like a solution that wo... | `svn revert deletedDirectory`
[Here's the documentation](http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.revert.html) for the `svn revert` command.
---
### EDIT
If `deletedDirectory` was deleted using `rmdir` and not `svn rm`, you'll need to do
`svn update deletedDirectory`
instead. |
2273548 | Associating existing Eclipse project with existing SVN repository | 94 | 2010-02-16 14:28:01 | <p>I have an eclipse project on my hard disk, which is a fairly recent check out from an SVN repository. I've imported this project into my Eclipse workspace, and now want to associate it with the SVN repository. </p>
<p>How do I do this? The only options I seem to have under Right-click -> Team is "Share Project", wh... | 107,173 | 183,579 | 2016-07-15 07:26:43 | 2,273,612 | 147 | 2010-02-16 14:38:28 | 3,306 | 2016-03-17 09:02:19 | https://stackoverflow.com/q/2273548 | https://stackoverflow.com/a/2273612 | <p><code>Team->Share project</code> is exactly what you need to do. Select <strong>SVN</strong> from the list, then click <strong>"Next"</strong>. <strong>Subclipse</strong> will notice the presence of .svn directories that will ask you to confirm that the information is correct, and associate the project with <stro... | <p><code>Team->Share project</code> is exactly what you need to do. Select <strong>SVN</strong> from the list, then click <strong>"Next"</strong>. <strong>Subclipse</strong> will notice the presence of .svn directories that will ask you to confirm that the information is correct, and associate the project with <stro... | 53, 55, 63 | eclipse, subclipse, svn | <h1>Associating existing Eclipse project with existing SVN repository</h1>
<p>I have an eclipse project on my hard disk, which is a fairly recent check out from an SVN repository. I've imported this project into my Eclipse workspace, and now want to associate it with the SVN repository. </p>
<p>How do I do this? The o... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,959 | svn | # Associating existing Eclipse project with existing SVN repository
I have an eclipse project on my hard disk, which is a fairly recent check out from an SVN repository. I've imported this project into my Eclipse workspace, and now want to associate it with the SVN repository.
How do I do this? The only options I see... | `Team->Share project` is exactly what you need to do. Select **SVN** from the list, then click **"Next"**. **Subclipse** will notice the presence of .svn directories that will ask you to confirm that the information is correct, and associate the project with **subclipse**. |
60736 | How to set up a Subversion (SVN) server on GNU/Linux - Ubuntu | 96 | 2008-09-13 18:00:42 | <p>I have a laptop running Ubuntu that I would like to act as a Subversion server. Both for myself to commit to locally, and for others remotely. What are the steps required to get this working? Please include steps to:</p>
<ul>
<li>Get and configure Apache, and necessary modules (I know there are other ways to create... | 216,786 | 4,120 | 2016-12-27 21:04:39 | 60,792 | 146 | 2008-09-13 19:37:23 | 4,120 | 2013-03-08 01:58:29 | https://stackoverflow.com/q/60736 | https://stackoverflow.com/a/60792 | <p>Steps I've taken to make my laptop a Subversion server. Credit must go to <a href="http://alephzarro.com/blog/" rel="noreferrer">AlephZarro</a> for his directions <a href="http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/" rel="noreferrer">here</a>. I now have ... | <p>Steps I've taken to make my laptop a Subversion server. Credit must go to <a href="http://alephzarro.com/blog/" rel="noreferrer">AlephZarro</a> for his directions <a href="http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/" rel="noreferrer">here</a>. I now have ... | 58, 63, 549, 1012 | debian, linux, svn, ubuntu | <h1>How to set up a Subversion (SVN) server on GNU/Linux - Ubuntu</h1>
<p>I have a laptop running Ubuntu that I would like to act as a Subversion server. Both for myself to commit to locally, and for others remotely. What are the steps required to get this working? Please include steps to:</p>
<ul>
<li>Get and configu... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,960 | svn | # How to set up a Subversion (SVN) server on GNU/Linux - Ubuntu
I have a laptop running Ubuntu that I would like to act as a Subversion server. Both for myself to commit to locally, and for others remotely. What are the steps required to get this working? Please include steps to:
- Get and configure Apache, and neces... | Steps I've taken to make my laptop a Subversion server. Credit must go to [AlephZarro](http://alephzarro.com/blog/) for his directions [here](http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/). I now have a working SVN server (which has currently only been tested ... |
571232 | SVN:externals equivalent in Git? | 202 | 2009-02-20 21:08:18 | <p>I have two SVN projects in use from another SVN repository using <a href="http://svnbook.red-bean.com/en/1.0/ch07s03.html" rel="noreferrer">svn:externals</a>. </p>
<p>How can I have the same repository layout structure in Git?</p>
| 99,734 | 42,866 | 2025-07-10 11:23:25 | 571,715 | 145 | 2009-02-20 23:58:34 | 23,356 | 2023-04-28 18:54:43 | https://stackoverflow.com/q/571232 | https://stackoverflow.com/a/571715 | <p>Git has two approaches similar to, but not exactly equivalent to svn:externals:</p>
<ul>
<li><p><strong>Subtree merges</strong> insert the external project's code into a separate sub-directory within your repo. This has a <a href="https://help.github.com/articles/about-git-subtree-merges/" rel="noreferrer">detailed ... | <p>Git has two approaches similar to, but not exactly equivalent to svn:externals:</p> <ul> <li><p><strong>Subtree merges</strong> insert the external project's code into a separate sub-directory within your repo. This has a <a href="https://help.github.com/articles/about-git-subtree-merges/" rel="noreferrer">detailed ... | 63, 119 | git, svn | <h1>SVN:externals equivalent in Git?</h1>
<p>I have two SVN projects in use from another SVN repository using <a href="http://svnbook.red-bean.com/en/1.0/ch07s03.html" rel="noreferrer">svn:externals</a>. </p>
<p>How can I have the same repository layout structure in Git?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,961 | svn | # SVN:externals equivalent in Git?
I have two SVN projects in use from another SVN repository using [svn:externals](http://svnbook.red-bean.com/en/1.0/ch07s03.html).
How can I have the same repository layout structure in Git? | Git has two approaches similar to, but not exactly equivalent to svn:externals:
- **Subtree merges** insert the external project's code into a separate sub-directory within your repo. This has a [detailed process to set up](https://help.github.com/articles/about-git-subtree-merges/) and then is very easy for other use... |
4737605 | Reintegrate can only be used if revisions X through Y were previously merged from <URL> to reintegrate the source, but this is not the case | 130 | 2011-01-19 16:08:53 | <p>Been using SVN branches with Tortoise 1.6. I've been periodically merging the trunk into the branch to keep it up to date. </p>
<p>Today, I thought I'd reintegrate the branch. I chose "Reintegrate a branch" from Tortoise and received the following error message:</p>
<p><strong>Reintegrate can only be used if revis... | 65,406 | 110,545 | 2022-12-24 00:16:15 | 13,409,835 | 145 | 2012-11-16 03:14:02 | 1,035,279 | 2022-12-24 00:16:15 | https://stackoverflow.com/q/4737605 | https://stackoverflow.com/a/13409835 | <p>If you are working on a branch and have been keeping it up to date with others work you might be bemused when you create a working copy of the trunk and attempt to reintegrate your branch if you get a message something like this:</p>
<pre><code>$ svn merge --reintegrate https://server.blah/source/orb/branches/bronze... | <p>If you are working on a branch and have been keeping it up to date with others work you might be bemused when you create a working copy of the trunk and attempt to reintegrate your branch if you get a message something like this:</p> <pre><code>$ svn merge --reintegrate https://server.blah/source/orb/branches/bronze... | 63, 656 | svn, tortoisesvn | <h1>Reintegrate can only be used if revisions X through Y were previously merged from <URL> to reintegrate the source, but this is not the case</h1>
<p>Been using SVN branches with Tortoise 1.6. I've been periodically merging the trunk into the branch to keep it up to date. </p>
<p>Today, I thought I'd reintegrate the... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,962 | svn | # Reintegrate can only be used if revisions X through Y were previously merged from to reintegrate the source, but this is not the case
Been using SVN branches with Tortoise 1.6. I've been periodically merging the trunk into the branch to keep it up to date.
Today, I thought I'd reintegrate the branch. I chose "Reint... | If you are working on a branch and have been keeping it up to date with others work you might be bemused when you create a working copy of the trunk and attempt to reintegrate your branch if you get a message something like this:
```
$ svn merge --reintegrate https://server.blah/source/orb/branches/bronze_services
svn... |
10617648 | Where is the user's Subversion config file stored on the major operating systems? | 100 | 2012-05-16 11:33:23 | <p>For Subversion 1.7, where is the SVN "config" file located on the various major operating systems (specifically on Windows, Mac OS X and Linux)?</p>
| 138,108 | 241,453 | 2020-05-07 15:18:13 | 10,617,826 | 144 | 2012-05-16 11:46:27 | 184,822 | 2017-02-15 12:39:28 | https://stackoverflow.com/q/10617648 | https://stackoverflow.com/a/10617826 | <p><code>~/.subversion/config</code>
or
<code>/etc/subversion/config</code></p>
<p>for Mac/Linux</p>
<p>and </p>
<p><code>%appdata%\subversion\config</code></p>
<p>for Windows</p>
| <p><code>~/.subversion/config</code> or <code>/etc/subversion/config</code></p> <p>for Mac/Linux</p> <p>and </p> <p><code>%appdata%\subversion\config</code></p> <p>for Windows</p> | 63, 3574, 9084 | config, configuration-files, svn | <h1>Where is the user's Subversion config file stored on the major operating systems?</h1>
<p>For Subversion 1.7, where is the SVN "config" file located on the various major operating systems (specifically on Windows, Mac OS X and Linux)?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,963 | svn | # Where is the user's Subversion config file stored on the major operating systems?
For Subversion 1.7, where is the SVN "config" file located on the various major operating systems (specifically on Windows, Mac OS X and Linux)? | `~/.subversion/config`
or
`/etc/subversion/config`
for Mac/Linux
and
`%appdata%\subversion\config`
for Windows |
1991526 | Current Subversion revision command | 88 | 2010-01-02 12:55:29 | <p>Is there a Subversion command to show the current revision number?</p>
<p>After <code>svn checkout</code> I want to start a script and need the revision number in a variable. It would be great if there is a command like <code>svn info get_revision_number</code>.</p>
| 133,378 | 238,444 | 2018-10-03 08:31:52 | 1,991,555 | 140 | 2010-01-02 13:04:46 | 195,347 | 2018-05-14 17:19:35 | https://stackoverflow.com/q/1991526 | https://stackoverflow.com/a/1991555 | <p>Newer versions of svn support the <code>--show-item</code> argument:</p>
<pre><code>svn info --show-item revision
</code></pre>
<p>For the revision number of your local working copy, use:</p>
<pre><code>svn info --show-item last-changed-revision
</code></pre>
<p>You can use <code>os.system()</code> to execute a ... | <p>Newer versions of svn support the <code>--show-item</code> argument:</p> <pre><code>svn info --show-item revision </code></pre> <p>For the revision number of your local working copy, use:</p> <pre><code>svn info --show-item last-changed-revision </code></pre> <p>You can use <code>os.system()</code> to execute a ... | 63 | svn | <h1>Current Subversion revision command</h1>
<p>Is there a Subversion command to show the current revision number?</p>
<p>After <code>svn checkout</code> I want to start a script and need the revision number in a variable. It would be great if there is a command like <code>svn info get_revision_number</code>.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,964 | svn | # Current Subversion revision command
Is there a Subversion command to show the current revision number?
After `svn checkout` I want to start a script and need the revision number in a variable. It would be great if there is a command like `svn info get_revision_number`. | Newer versions of svn support the `--show-item` argument:
```
svn info --show-item revision
```
For the revision number of your local working copy, use:
```
svn info --show-item last-changed-revision
```
You can use `os.system()` to execute a command line like this:
```
svn info | grep "Revision" | awk '{print $2}... |
2783816 | Commit changes to a different branch than the currently checked out branch with subversion | 123 | 2010-05-06 19:24:06 | <p>I've been working on code checked out from the development line and discovered that the changes made might be breaking changes and need to be moved to an experimental branch before committing to the main dev tree. However, I don't have the experimental branch checked out and I don't want to lose the changes that hav... | 64,302 | 76,456 | 2015-07-16 16:08:57 | 2,783,904 | 138 | 2010-05-06 19:37:58 | 93,979 | 2010-05-06 19:37:58 | https://stackoverflow.com/q/2783816 | https://stackoverflow.com/a/2783904 | <p>You should create a branch from a known <code>sourceURL</code> (this would be your 'development line' you mentioned in the question) first:</p>
<pre><code>svn copy sourceURL branchURL
</code></pre>
<p>Then, switch to that branch:</p>
<pre><code>svn switch branchURL
</code></pre>
<p>And commit your changes:</p>
... | <p>You should create a branch from a known <code>sourceURL</code> (this would be your 'development line' you mentioned in the question) first:</p> <pre><code>svn copy sourceURL branchURL </code></pre> <p>Then, switch to that branch:</p> <pre><code>svn switch branchURL </code></pre> <p>And commit your changes:</p> ... | 63, 456, 1879 | branch, svn, version-control | <h1>Commit changes to a different branch than the currently checked out branch with subversion</h1>
<p>I've been working on code checked out from the development line and discovered that the changes made might be breaking changes and need to be moved to an experimental branch before committing to the main dev tree. How... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,965 | svn | # Commit changes to a different branch than the currently checked out branch with subversion
I've been working on code checked out from the development line and discovered that the changes made might be breaking changes and need to be moved to an experimental branch before committing to the main dev tree. However, I d... | You should create a branch from a known `sourceURL` (this would be your 'development line' you mentioned in the question) first:
```
svn copy sourceURL branchURL
```
Then, switch to that branch:
```
svn switch branchURL
```
And commit your changes:
```
svn commit
``` |
1477236 | How to ignore SVN folders in WinMerge? | 132 | 2009-09-25 13:18:10 | <p>I'm trying to recursively compare two Subversion working copy folders using WinMerge.</p>
<p>Unfortunately, WinMerge displays lots of differencing files inside of the subversion control folders (<code>.svn</code> or <code>_svn</code>).</p>
<p>Is it possible to somehow exclude the subversion folders from the comparis... | 60,261 | 19,635 | 2024-04-04 23:43:26 | 1,477,287 | 137 | 2009-09-25 13:27:22 | 105,101 | 2020-08-25 13:27:07 | https://stackoverflow.com/q/1477236 | https://stackoverflow.com/a/1477287 | <h1>Try making a Filefilter</h1>
<p>WinMerge handles this just fine. You want to create and use a <a href="http://manual.winmerge.org/Filters.html" rel="noreferrer"><strong>Filter</strong></a>. Under <code>Tools | Filters... | Filefilters</code>, create a new filter or modify an existing one.</p>
<p>It will look like... | <h1>Try making a Filefilter</h1> <p>WinMerge handles this just fine. You want to create and use a <a href="http://manual.winmerge.org/Filters.html" rel="noreferrer"><strong>Filter</strong></a>. Under <code>Tools | Filters... | Filefilters</code>, create a new filter or modify an existing one.</p> <p>It will look like... | 63, 606, 10933 | diff, svn, winmerge | <h1>How to ignore SVN folders in WinMerge?</h1>
<p>I'm trying to recursively compare two Subversion working copy folders using WinMerge.</p>
<p>Unfortunately, WinMerge displays lots of differencing files inside of the subversion control folders (<code>.svn</code> or <code>_svn</code>).</p>
<p>Is it possible to somehow ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,968 | svn | # How to ignore SVN folders in WinMerge?
I'm trying to recursively compare two Subversion working copy folders using WinMerge.
Unfortunately, WinMerge displays lots of differencing files inside of the subversion control folders (`.svn` or `_svn`).
Is it possible to somehow exclude the subversion folders from the com... | # Try making a Filefilter
WinMerge handles this just fine. You want to create and use a [**Filter**](http://manual.winmerge.org/Filters.html). Under `Tools | Filters... | Filefilters`, create a new filter or modify an existing one.
It will look like this:
```
## Ignore Java class and jar files
f: \.class$
f: \.jar$
... |
374313 | What causes the SVN Error "Not a working copy"? | 228 | 2008-12-17 11:51:40 | <p>Recently our <a href="https://en.wikipedia.org/wiki/Apache_Subversion" rel="noreferrer">Subversion</a> (SVN) server was changed and we did a <code>svn switch</code>.</p>
<p>Since the working copy had a huge amount of unversioned resources, the working copy got locked and we started switching folder by folder for all... | 586,349 | 27,474 | 2023-03-27 06:39:47 | 374,337 | 136 | 2008-12-17 11:59:04 | 13,051 | 2023-01-15 09:51:42 | https://stackoverflow.com/q/374313 | https://stackoverflow.com/a/374337 | <p>If you get a "not a working copy" when doing a recursive <code>svn cleanup</code>, you likely have a subdirectory which should be a working copy (i.e. the <code>.svn</code> directory at the top level says so), but the subdirectory is missing its own <code>.svn</code> directory.</p>
<p>In that case, you cou... | <p>If you get a "not a working copy" when doing a recursive <code>svn cleanup</code>, you likely have a subdirectory which should be a working copy (i.e. the <code>.svn</code> directory at the top level says so), but the subdirectory is missing its own <code>.svn</code> directory.</p> <p>In that case, you cou... | 63 | svn | <h1>What causes the SVN Error "Not a working copy"?</h1>
<p>Recently our <a href="https://en.wikipedia.org/wiki/Apache_Subversion" rel="noreferrer">Subversion</a> (SVN) server was changed and we did a <code>svn switch</code>.</p>
<p>Since the working copy had a huge amount of unversioned resources, the working copy got... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,969 | svn | # What causes the SVN Error "Not a working copy"?
Recently our [Subversion](https://en.wikipedia.org/wiki/Apache_Subversion) (SVN) server was changed and we did a `svn switch`.
Since the working copy had a huge amount of unversioned resources, the working copy got locked and we started switching folder by folder for ... | If you get a "not a working copy" when doing a recursive `svn cleanup`, you likely have a subdirectory which should be a working copy (i.e. the `.svn` directory at the top level says so), but the subdirectory is missing its own `.svn` directory.
In that case, you could move or delete that directory and then do a local... |
1252270 | How do I view all ignored patterns set with svn:ignore recursively in an SVN repository? | 66 | 2009-08-09 20:56:52 | <p>I see it is possible to view a list of properties set on every directory within an SVN repository using proplist and the -R flag (recursive) and -v flag (verbose):</p>
<pre><code>svn proplist -Rv
</code></pre>
<p>This shows me all properties, such as svn:mime-type or svn:executable. I'm looking to filter this to j... | 34,437 | 149,503 | 2017-03-06 09:14:25 | 1,252,303 | 136 | 2009-08-09 21:10:36 | 33,006 | 2016-02-16 13:43:16 | https://stackoverflow.com/q/1252270 | https://stackoverflow.com/a/1252303 | <pre><code>svn pg -R svn:ignore .
</code></pre>
<p>...with <code>pg</code> being a shorthand notation for <code>propget</code>, so this is equal to...</p>
<pre><code>svn propget -R svn:ignore .
</code></pre>
| <pre><code>svn pg -R svn:ignore . </code></pre> <p>...with <code>pg</code> being a shorthand notation for <code>propget</code>, so this is equal to...</p> <pre><code>svn propget -R svn:ignore . </code></pre> | 63, 990, 1271 | awk, grep, svn | <h1>How do I view all ignored patterns set with svn:ignore recursively in an SVN repository?</h1>
<p>I see it is possible to view a list of properties set on every directory within an SVN repository using proplist and the -R flag (recursive) and -v flag (verbose):</p>
<pre><code>svn proplist -Rv
</code></pre>
<p>This... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,970 | svn | # How do I view all ignored patterns set with svn:ignore recursively in an SVN repository?
I see it is possible to view a list of properties set on every directory within an SVN repository using proplist and the -R flag (recursive) and -v flag (verbose):
```
svn proplist -Rv
```
This shows me all properties, such as... | ```
svn pg -R svn:ignore .
```
...with `pg` being a shorthand notation for `propget`, so this is equal to...
```
svn propget -R svn:ignore .
``` |
2224814 | Commit only property changes on root of repo, not files | 86 | 2010-02-08 20:55:29 | <p>I have an SVN repository with uncommitted changes to files. There is also a change in the svn:externals property on the root folder.</p>
<p>How do I commit the property changes, WITHOUT committing the changes to the files themselves?</p>
| 26,501 | 2,192 | 2010-10-11 17:01:12 | 3,012,940 | 135 | 2010-06-10 08:54:23 | 105,344 | 2010-10-11 17:01:12 | https://stackoverflow.com/q/2224814 | https://stackoverflow.com/a/3012940 | <p>In order to commit only the explicit paths specified on the command line use the <code>--depth empty</code> option e.g. in the directory with the newly modified externals property:</p>
<pre><code>$svn commit --depth empty . -m "Modify svn externals definition only."
</code></pre>
| <p>In order to commit only the explicit paths specified on the command line use the <code>--depth empty</code> option e.g. in the directory with the newly modified externals property:</p> <pre><code>$svn commit --depth empty . -m "Modify svn externals definition only." </code></pre> | 63, 456 | svn, version-control | <h1>Commit only property changes on root of repo, not files</h1>
<p>I have an SVN repository with uncommitted changes to files. There is also a change in the svn:externals property on the root folder.</p>
<p>How do I commit the property changes, WITHOUT committing the changes to the files themselves?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,971 | svn | # Commit only property changes on root of repo, not files
I have an SVN repository with uncommitted changes to files. There is also a change in the svn:externals property on the root folder.
How do I commit the property changes, WITHOUT committing the changes to the files themselves? | In order to commit only the explicit paths specified on the command line use the `--depth empty` option e.g. in the directory with the newly modified externals property:
```
$svn commit --depth empty . -m "Modify svn externals definition only."
``` |
1491180 | How to configure a HTTP proxy for svn | 101 | 2009-09-29 08:09:07 | <p>I want to check code from the repository <a href="http://code.sixapart.com/svn/perlbal/" rel="noreferrer">http://code.sixapart.com/svn/perlbal/</a> . I can only access the the repository url by setting a proxy. I guess if I want to get the code from the same URL by svn I need to configure a proxy, too. So does anyon... | 158,862 | 157,300 | 2025-03-13 15:59:27 | 1,491,206 | 132 | 2009-09-29 08:15:27 | 123,582 | 2021-01-29 15:34:04 | https://stackoverflow.com/q/1491180 | https://stackoverflow.com/a/1491206 | <p>Have you seen the FAQ entry <a href="http://subversion.apache.org/faq.html#proxy" rel="noreferrer">What if I'm behind a proxy?</a>?</p>
<blockquote>
<p>... edit your "servers" configuration file to indicate which proxy to use. The files location depends on your operating system. On Linux or Unix it is loca... | <p>Have you seen the FAQ entry <a href="http://subversion.apache.org/faq.html#proxy" rel="noreferrer">What if I'm behind a proxy?</a>?</p> <blockquote> <p>... edit your "servers" configuration file to indicate which proxy to use. The files location depends on your operating system. On Linux or Unix it is loca... | 63, 760 | proxy, svn | <h1>How to configure a HTTP proxy for svn</h1>
<p>I want to check code from the repository <a href="http://code.sixapart.com/svn/perlbal/" rel="noreferrer">http://code.sixapart.com/svn/perlbal/</a> . I can only access the the repository url by setting a proxy. I guess if I want to get the code from the same URL by svn ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,973 | svn | # How to configure a HTTP proxy for svn
I want to check code from the repository <http://code.sixapart.com/svn/perlbal/> . I can only access the the repository url by setting a proxy. I guess if I want to get the code from the same URL by svn I need to configure a proxy, too. So does anyone of you could tell me how to... | Have you seen the FAQ entry [What if I'm behind a proxy?](http://subversion.apache.org/faq.html#proxy)?
> ... edit your "servers" configuration file to indicate which proxy to use. The files location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in ... |
16787065 | "svn log" not showing all recent commits | 86 | 2013-05-28 08:14:03 | <p><em>Note: This is probably a no-brainer for experienced SVN users, but it stumped me for quite a while...so here's hoping this will help someone like me!</em></p>
<p>After issuing <code>svn log</code> from the command line, I noticed that several recent commit messages were missing. I knew that these messages were c... | 28,516 | 896,660 | 2024-01-07 19:05:21 | 16,787,066 | 132 | 2013-05-28 08:14:03 | 896,660 | 2013-05-28 08:14:03 | https://stackoverflow.com/q/16787065 | https://stackoverflow.com/a/16787066 | <p>The problem had to do with my poor understanding of what <code>svn log</code> was showing. With no other arguments supplied, it outputs log messages from the <em>working copy</em> of the log, not from the actual repository. Thus, issuing <code>svn update</code> will bring the working copy up-to-date with the reposit... | <p>The problem had to do with my poor understanding of what <code>svn log</code> was showing. With no other arguments supplied, it outputs log messages from the <em>working copy</em> of the log, not from the actual repository. Thus, issuing <code>svn update</code> will bring the working copy up-to-date with the reposit... | 63 | svn | <h1>"svn log" not showing all recent commits</h1>
<p><em>Note: This is probably a no-brainer for experienced SVN users, but it stumped me for quite a while...so here's hoping this will help someone like me!</em></p>
<p>After issuing <code>svn log</code> from the command line, I noticed that several recent commit messag... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,974 | svn | # "svn log" not showing all recent commits
*Note: This is probably a no-brainer for experienced SVN users, but it stumped me for quite a while...so here's hoping this will help someone like me!*
After issuing `svn log` from the command line, I noticed that several recent commit messages were missing. I knew that thes... | The problem had to do with my poor understanding of what `svn log` was showing. With no other arguments supplied, it outputs log messages from the *working copy* of the log, not from the actual repository. Thus, issuing `svn update` will bring the working copy up-to-date with the repository, and then `svn log` will ref... |
925698 | svn switch error - is not the same repository | 78 | 2009-05-29 12:14:43 | <p>I have recently moved the SVN server and now i am tring to relocate the working copies from my computer to the new server. But i get the strangest error.
i do :</p>
<pre><code>svn switch http://99.99.99.new/svn/company/project/trunk/web
</code></pre>
<p>but i get</p>
<pre><code>svn: 'http://99.99.99.old/svn/compa... | 40,994 | 65,503 | 2021-05-22 09:19:40 | 925,705 | 130 | 2009-05-29 12:17:08 | 71,347 | 2013-04-04 14:29:49 | https://stackoverflow.com/q/925698 | https://stackoverflow.com/a/925705 | <p>Try using </p>
<pre><code>svn switch --relocate http://99.99.99.old/svn/company/project/trunk/web http://99.99.99.new/svn/company/project/trunk/web
</code></pre>
<p>As noted by Sporino in the comments, since Subversion 1.7, there's a seperate <code>relocate</code> command:</p>
<pre><code>svn relocate http://99.99... | <p>Try using </p> <pre><code>svn switch --relocate http://99.99.99.old/svn/company/project/trunk/web http://99.99.99.new/svn/company/project/trunk/web </code></pre> <p>As noted by Sporino in the comments, since Subversion 1.7, there's a seperate <code>relocate</code> command:</p> <pre><code>svn relocate http://99.99... | 63 | svn | <h1>svn switch error - is not the same repository</h1>
<p>I have recently moved the SVN server and now i am tring to relocate the working copies from my computer to the new server. But i get the strangest error.
i do :</p>
<pre><code>svn switch http://99.99.99.new/svn/company/project/trunk/web
</code></pre>
<p>but i ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,975 | svn | # svn switch error - is not the same repository
I have recently moved the SVN server and now i am tring to relocate the working copies from my computer to the new server. But i get the strangest error.
i do :
```
svn switch http://99.99.99.new/svn/company/project/trunk/web
```
but i get
```
svn: 'http://99.99.99.ol... | Try using
```
svn switch --relocate http://99.99.99.old/svn/company/project/trunk/web http://99.99.99.new/svn/company/project/trunk/web
```
As noted by Sporino in the comments, since Subversion 1.7, there's a seperate `relocate` command:
```
svn relocate http://99.99.99.old/svn/company/project/trunk/web http://99.99... |
5503923 | Reverting to a previous revision using TortoiseSVN | 65 | 2011-03-31 17:35:31 | <p>What is the easiest way to revert my working copy to a previous revision using Windows <a href="http://en.wikipedia.org/wiki/TortoiseSVN" rel="noreferrer">TortoiseSVN</a>?</p>
<p>I did not find any "findable" command to do that quickly.</p>
| 143,026 | 680,594 | 2024-01-16 08:24:39 | 5,513,761 | 130 | 2011-04-01 13:03:16 | 48,003 | 2024-01-16 08:24:39 | https://stackoverflow.com/q/5503923 | https://stackoverflow.com/a/5513761 | <p>There are several ways to do that. <strong>But do not just update to the earlier revision as suggested here</strong>.</p>
<p>The easiest way to revert the changes from a single revision, or from a range of revisions, is to use the revision log dialog. This is also the method to use of you want to discard recent chan... | <p>There are several ways to do that. <strong>But do not just update to the earlier revision as suggested here</strong>.</p> <p>The easiest way to revert the changes from a single revision, or from a range of revisions, is to use the revision log dialog. This is also the method to use of you want to discard recent chan... | 63, 656, 1555, 12309 | revert, revision, svn, tortoisesvn | <h1>Reverting to a previous revision using TortoiseSVN</h1>
<p>What is the easiest way to revert my working copy to a previous revision using Windows <a href="http://en.wikipedia.org/wiki/TortoiseSVN" rel="noreferrer">TortoiseSVN</a>?</p>
<p>I did not find any "findable" command to do that quickly.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,976 | svn | # Reverting to a previous revision using TortoiseSVN
What is the easiest way to revert my working copy to a previous revision using Windows [TortoiseSVN](http://en.wikipedia.org/wiki/TortoiseSVN)?
I did not find any "findable" command to do that quickly. | There are several ways to do that. **But do not just update to the earlier revision as suggested here**.
The easiest way to revert the changes from a single revision, or from a range of revisions, is to use the revision log dialog. This is also the method to use of you want to discard recent changes and make an earlie... |
1096899 | Back to revision in Subversion | 61 | 2009-07-08 08:48:32 | <p>suppose you update your code to revision 10 which is broken. You want to go back to revision 9, work on the code and wait until someone will fix the build:</p>
<pre><code>svn merge -rHEAD:9 .
</code></pre>
<p>But it won't work, why?</p>
| 71,457 | 61,628 | 2023-01-19 01:56:05 | 1,096,921 | 130 | 2009-07-08 08:53:11 | 123,527 | 2017-07-06 22:06:46 | https://stackoverflow.com/q/1096899 | https://stackoverflow.com/a/1096921 | <p>If you simply want to go back to an other revision, <code>update</code> is what you are looking for:</p>
<pre><code>svn update -r 9
</code></pre>
<p>You can work on the code but you can't commit changes. Well, if revision 10 didn't change the same file you changed, you could commit but it's better if you wait for ... | <p>If you simply want to go back to an other revision, <code>update</code> is what you are looking for:</p> <pre><code>svn update -r 9 </code></pre> <p>You can work on the code but you can't commit changes. Well, if revision 10 didn't change the same file you changed, you could commit but it's better if you wait for ... | 63, 456 | svn, version-control | <h1>Back to revision in Subversion</h1>
<p>suppose you update your code to revision 10 which is broken. You want to go back to revision 9, work on the code and wait until someone will fix the build:</p>
<pre><code>svn merge -rHEAD:9 .
</code></pre>
<p>But it won't work, why?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,977 | svn | # Back to revision in Subversion
suppose you update your code to revision 10 which is broken. You want to go back to revision 9, work on the code and wait until someone will fix the build:
```
svn merge -rHEAD:9 .
```
But it won't work, why? | If you simply want to go back to an other revision, `update` is what you are looking for:
```
svn update -r 9
```
You can work on the code but you can't commit changes. Well, if revision 10 didn't change the same file you changed, you could commit but it's better if you wait for revision 10 to be fixed.
Instead, if ... |
1364618 | How do I determine the SVN working copy layout version? | 72 | 2009-09-01 20:57:32 | <p>For example, the SVN 1.5 client has one layout for working copies, and the SVN 1.6 client has a different layout. I understand that the layout automatically gets upgraded when it gets touched by a newer client.</p>
<p>If I have a working copy on my system, how can I find out the version of the layout it's using?</p... | 34,755 | 116,166 | 2019-01-25 18:41:38 | 1,364,648 | 128 | 2009-09-01 21:03:54 | 156,063 | 2019-01-25 18:41:38 | https://stackoverflow.com/q/1364618 | https://stackoverflow.com/a/1364648 | <p>If <code>.svn/format</code> exists, then read the number in it:</p>
<ul>
<li>Version 7 is SVN 1.3</li>
<li>Version 8 is SVN 1.4</li>
<li>Version 9 is SVN 1.5</li>
</ul>
<p>If <code>.svn/format</code> doesn't exist then the version number is on the first line in <code>.svn/entries</code>:</p>
<ul>
<li>Version 10 i... | <p>If <code>.svn/format</code> exists, then read the number in it:</p> <ul> <li>Version 7 is SVN 1.3</li> <li>Version 8 is SVN 1.4</li> <li>Version 9 is SVN 1.5</li> </ul> <p>If <code>.svn/format</code> doesn't exist then the version number is on the first line in <code>.svn/entries</code>:</p> <ul> <li>Version 10 i... | 63, 19697 | svn, working-copy | <h1>How do I determine the SVN working copy layout version?</h1>
<p>For example, the SVN 1.5 client has one layout for working copies, and the SVN 1.6 client has a different layout. I understand that the layout automatically gets upgraded when it gets touched by a newer client.</p>
<p>If I have a working copy on my sy... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,978 | svn | # How do I determine the SVN working copy layout version?
For example, the SVN 1.5 client has one layout for working copies, and the SVN 1.6 client has a different layout. I understand that the layout automatically gets upgraded when it gets touched by a newer client.
If I have a working copy on my system, how can I ... | If `.svn/format` exists, then read the number in it:
- Version 7 is SVN 1.3
- Version 8 is SVN 1.4
- Version 9 is SVN 1.5
If `.svn/format` doesn't exist then the version number is on the first line in `.svn/entries`:
- Version 10 is SVN 1.6
- Version 12 is SVN 1.7
Subversion 1.6 was the first one not to use `.svn/f... |
17279947 | How to rename a file using svn? | 98 | 2013-06-24 16:04:20 | <p>When I try <code>svn mv old_file_name new_file_name</code>, I get</p>
<pre><code> svn: Path 'new_file_name' is not a directory
</code></pre>
<p>What's the correct way? (sorry, this seems so trivial, but I'm stuck).</p>
<p>PS. using svn version 1.6.11</p>
<p><strong>EDIT</strong> it seems I get this error only if... | 139,493 | 1,023,390 | 2018-10-03 09:08:54 | 17,284,471 | 127 | 2013-06-24 20:26:24 | 1,305,501 | 2018-10-03 09:08:54 | https://stackoverflow.com/q/17279947 | https://stackoverflow.com/a/17284471 | <p>The behaviour differs depending on whether the target file name already exists or not. It's usually a safety mechanism, and there are at least 3 different cases:</p>
<h2>Target file does <em>not</em> exist:</h2>
<p>In this case <code>svn mv</code> should work as follows:</p>
<pre><code>$ svn mv old_file_name new_... | <p>The behaviour differs depending on whether the target file name already exists or not. It's usually a safety mechanism, and there are at least 3 different cases:</p> <h2>Target file does <em>not</em> exist:</h2> <p>In this case <code>svn mv</code> should work as follows:</p> <pre><code>$ svn mv old_file_name new_... | 63 | svn | <h1>How to rename a file using svn?</h1>
<p>When I try <code>svn mv old_file_name new_file_name</code>, I get</p>
<pre><code> svn: Path 'new_file_name' is not a directory
</code></pre>
<p>What's the correct way? (sorry, this seems so trivial, but I'm stuck).</p>
<p>PS. using svn version 1.6.11</p>
<p><strong>EDIT</... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,979 | svn | # How to rename a file using svn?
When I try `svn mv old_file_name new_file_name`, I get
```
svn: Path 'new_file_name' is not a directory
```
What's the correct way? (sorry, this seems so trivial, but I'm stuck).
PS. using svn version 1.6.11
**EDIT** it seems I get this error only if `new_file_name` refers to the... | The behaviour differs depending on whether the target file name already exists or not. It's usually a safety mechanism, and there are at least 3 different cases:
## Target file does *not* exist:
In this case `svn mv` should work as follows:
```
$ svn mv old_file_name new_file_name
A new_file_name
D o... |
2899209 | How to save password when using Subversion from the console | 129 | 2010-05-24 18:17:47 | <p>I was wondering if there is a way to save my Subversion password when doing <code>svn</code> operations from the console. The console is the only option that I have. When I try to do any Subversion action, e.g. <code>svn commit</code>, it prompts for the account password every time. Is there a way to save this passw... | 209,951 | 349,197 | 2024-11-05 14:20:40 | 2,899,319 | 125 | 2010-05-24 18:33:04 | 309,308 | 2017-08-05 08:38:45 | https://stackoverflow.com/q/2899209 | https://stackoverflow.com/a/2899319 | <p>In <code>~/.subversion/config</code>, you probably have <code>store-passwords = no</code>. Change it to <code>yes</code> (or just comment it out because it defaults to yes), and the next time you give Subversion your password it should save it.</p>
<p>You might want to ensure that the owner and permissions of <code... | <p>In <code>~/.subversion/config</code>, you probably have <code>store-passwords = no</code>. Change it to <code>yes</code> (or just comment it out because it defaults to yes), and the next time you give Subversion your password it should save it.</p> <p>You might want to ensure that the owner and permissions of <code... | 63, 220 | passwords, svn | <h1>How to save password when using Subversion from the console</h1>
<p>I was wondering if there is a way to save my Subversion password when doing <code>svn</code> operations from the console. The console is the only option that I have. When I try to do any Subversion action, e.g. <code>svn commit</code>, it prompts f... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,980 | svn | # How to save password when using Subversion from the console
I was wondering if there is a way to save my Subversion password when doing `svn` operations from the console. The console is the only option that I have. When I try to do any Subversion action, e.g. `svn commit`, it prompts for the account password every t... | In `~/.subversion/config`, you probably have `store-passwords = no`. Change it to `yes` (or just comment it out because it defaults to yes), and the next time you give Subversion your password it should save it.
You might want to ensure that the owner and permissions of `~/.subversion/config` are correct (no public or... |
9317600 | Deleting a folder from svn repository | 58 | 2012-02-16 19:16:34 | <p>I sometimes make mistakes with svn and have folders stuck in my repository. I want to remove these folders but I cannot figure out a way to do this. Keep in mind I am very new with SVN. I am running this command from apple terminal:</p>
<p><code>sudo svn delete http://www.yourrepository.com/svn/folder</code></p>... | 132,391 | 1,214,633 | 2021-02-16 12:48:14 | 9,317,667 | 125 | 2012-02-16 19:20:44 | 1,441 | 2012-02-16 19:20:44 | https://stackoverflow.com/q/9317600 | https://stackoverflow.com/a/9317667 | <p>Looks like a commit message is required, and you do not have your system configured to launch an editor for you to add one (without specifying on the command line).</p>
<p>Try this:</p>
<pre><code>svn delete http://www.yourrepository.com/svn/folder --message "Deleting"
</code></pre>
| <p>Looks like a commit message is required, and you do not have your system configured to launch an editor for you to add one (without specifying on the command line).</p> <p>Try this:</p> <pre><code>svn delete http://www.yourrepository.com/svn/folder --message "Deleting" </code></pre> | 58, 63, 391 | linux, svn, terminal | <h1>Deleting a folder from svn repository</h1>
<p>I sometimes make mistakes with svn and have folders stuck in my repository. I want to remove these folders but I cannot figure out a way to do this. Keep in mind I am very new with SVN. I am running this command from apple terminal:</p>
<p><code>sudo svn delete http... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,981 | svn | # Deleting a folder from svn repository
I sometimes make mistakes with svn and have folders stuck in my repository. I want to remove these folders but I cannot figure out a way to do this. Keep in mind I am very new with SVN. I am running this command from apple terminal:
`sudo svn delete http://www.yourrepository.co... | Looks like a commit message is required, and you do not have your system configured to launch an editor for you to add one (without specifying on the command line).
Try this:
```
svn delete http://www.yourrepository.com/svn/folder --message "Deleting"
``` |
635446 | SVN: Is there a way to mark a file as "do not commit"? | 161 | 2009-03-11 17:00:28 | <p>With TortoiseSVN, I can move a file into the ignore-on-commit changelist, so that when I commit a whole tree, changes to that file do not get committed.</p>
<p>Is there a way to do something like that using the svn command-line tool?</p>
<p>EDIT: Thanks for the suggestions to use <code>svn:ignore</code>, but that ... | 119,773 | 4,086 | 2021-11-11 15:12:12 | 635,787 | 123 | 2009-03-11 18:31:51 | 235 | 2016-02-21 19:36:33 | https://stackoverflow.com/q/635446 | https://stackoverflow.com/a/635787 | <h2>Subversion does not have a built-in "do not commit" / "ignore on commit" feature, as of February 2016 / version 1.9. This answer is a non-ideal command-line workaround</h2>
<p>As the OP states, TortoiseSVN has a built in changelist, "ignore-on-commit", which is automatically excluded from commits. <strong>The comm... | <h2>Subversion does not have a built-in "do not commit" / "ignore on commit" feature, as of February 2016 / version 1.9. This answer is a non-ideal command-line workaround</h2> <p>As the OP states, TortoiseSVN has a built in changelist, "ignore-on-commit", which is automatically excluded from commits. <strong>The comm... | 63, 1231 | command-line, svn | <h1>SVN: Is there a way to mark a file as "do not commit"?</h1>
<p>With TortoiseSVN, I can move a file into the ignore-on-commit changelist, so that when I commit a whole tree, changes to that file do not get committed.</p>
<p>Is there a way to do something like that using the svn command-line tool?</p>
<p>EDIT: Than... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,983 | svn | # SVN: Is there a way to mark a file as "do not commit"?
With TortoiseSVN, I can move a file into the ignore-on-commit changelist, so that when I commit a whole tree, changes to that file do not get committed.
Is there a way to do something like that using the svn command-line tool?
EDIT: Thanks for the suggestions ... | ## Subversion does not have a built-in "do not commit" / "ignore on commit" feature, as of February 2016 / version 1.9. This answer is a non-ideal command-line workaround
As the OP states, TortoiseSVN has a built in changelist, "ignore-on-commit", which is automatically excluded from commits. **The command-line client... |
331388 | svn: replace trunk with branch | 161 | 2008-12-01 16:43:55 | <p><strong>What is the best way to make one of the branches of a subversion repository the new trunk?</strong> </p>
<p>There has been a major rewrite for the entire system: things have been moved around, rewritten, replaces, removed, renamed etc. The rewritten code has been tested and is ready to replace the old trun... | 94,110 | 22,674 | 2019-02-02 11:55:35 | 331,395 | 123 | 2008-12-01 16:47:10 | 34,088 | 2019-02-02 11:55:35 | https://stackoverflow.com/q/331388 | https://stackoverflow.com/a/331395 | <p>Use <a href="http://svnbook.red-bean.com/en/1.1/re18.html" rel="noreferrer">svn move</a> to move the contents of the old trunk somewhere else and rename the branch to trunk afterward.</p>
<p>Note that copy and move in svn work like file operations. You can use them to move/copy stuff around in your repository and t... | <p>Use <a href="http://svnbook.red-bean.com/en/1.1/re18.html" rel="noreferrer">svn move</a> to move the contents of the old trunk somewhere else and rename the branch to trunk afterward.</p> <p>Note that copy and move in svn work like file operations. You can use them to move/copy stuff around in your repository and t... | 63, 456 | svn, version-control | <h1>svn: replace trunk with branch</h1>
<p><strong>What is the best way to make one of the branches of a subversion repository the new trunk?</strong> </p>
<p>There has been a major rewrite for the entire system: things have been moved around, rewritten, replaces, removed, renamed etc. The rewritten code has been tes... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,984 | svn | # svn: replace trunk with branch
**What is the best way to make one of the branches of a subversion repository the new trunk?**
There has been a major rewrite for the entire system: things have been moved around, rewritten, replaces, removed, renamed etc. The rewritten code has been tested and is ready to replace the... | Use [svn move](http://svnbook.red-bean.com/en/1.1/re18.html) to move the contents of the old trunk somewhere else and rename the branch to trunk afterward.
Note that copy and move in svn work like file operations. You can use them to move/copy stuff around in your repository and these changes are versioned as well. Th... |
20068654 | AnkhSvn is installed but not working in Visual Studio 2013 | 50 | 2013-11-19 10:11:14 | <p>I have installed Visual studio 2013 , and I have installed AnkhSvn-2.5.12266.msi for svn, but this "Add-On" is not available in Visual Studio. Why?</p>
| 26,620 | 2,926,782 | 2015-11-17 18:29:14 | 20,071,628 | 122 | 2013-11-19 12:29:57 | 1,105,777 | 2015-02-10 14:39:14 | https://stackoverflow.com/q/20068654 | https://stackoverflow.com/a/20071628 | <p>It is there. Just change the source control options in visual studio to use Ankh instead of TFS.</p>
<p>Go to <code>Tools/Options/Source Control/Plug-in Selection</code>, select the AnkhSVN plug-in.</p>
<p>Then restart visual studio and you are good to go. Its working perfectly for me.</p>
<p>Or reinstall the com... | <p>It is there. Just change the source control options in visual studio to use Ankh instead of TFS.</p> <p>Go to <code>Tools/Options/Source Control/Plug-in Selection</code>, select the AnkhSVN plug-in.</p> <p>Then restart visual studio and you are good to go. Its working perfectly for me.</p> <p>Or reinstall the com... | 63, 2018, 93364 | ankhsvn, svn, visual-studio-2013 | <h1>AnkhSvn is installed but not working in Visual Studio 2013</h1>
<p>I have installed Visual studio 2013 , and I have installed AnkhSvn-2.5.12266.msi for svn, but this "Add-On" is not available in Visual Studio. Why?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,985 | svn | # AnkhSvn is installed but not working in Visual Studio 2013
I have installed Visual studio 2013 , and I have installed AnkhSvn-2.5.12266.msi for svn, but this "Add-On" is not available in Visual Studio. Why? | It is there. Just change the source control options in visual studio to use Ankh instead of TFS.
Go to `Tools/Options/Source Control/Plug-in Selection`, select the AnkhSVN plug-in.
Then restart visual studio and you are good to go. Its working perfectly for me.
Or reinstall the complete ankhsvn client. As this guy h... |
13675615 | svn cleanup: sqlite: database disk image is malformed | 108 | 2012-12-03 00:32:14 | <p>I was trying to do a <code>svn cleanup</code> because I can't commit the changes in my working copy, and I got the following error: </p>
<blockquote>
<p>sqllite: database disk image is malformed</p>
</blockquote>
<p><img src="https://i.sstatic.net/ysspk.png" alt="Cleanup failed to process the following paths"></... | 213,472 | 439,427 | 2024-05-29 08:37:24 | 15,874,781 | 121 | 2013-04-08 08:43:03 | 242,679 | 2020-11-20 09:09:57 | https://stackoverflow.com/q/13675615 | https://stackoverflow.com/a/15874781 | <p>First, open <code>command</code>/<code>terminal</code> at repository root (folder which has <code>.svn</code> as child folder):</p>
<pre><code>cd /path/to/repository
</code></pre>
<p>Download <a href="https://www.sqlite.org/download.html" rel="noreferrer"><code>sqlite3</code></a> and put executable <code>sqlite3</co... | <p>First, open <code>command</code>/<code>terminal</code> at repository root (folder which has <code>.svn</code> as child folder):</p> <pre><code>cd /path/to/repository </code></pre> <p>Download <a href="https://www.sqlite.org/download.html" rel="noreferrer"><code>sqlite3</code></a> and put executable <code>sqlite3</co... | 63, 121, 656 | sqlite, svn, tortoisesvn | <h1>svn cleanup: sqlite: database disk image is malformed</h1>
<p>I was trying to do a <code>svn cleanup</code> because I can't commit the changes in my working copy, and I got the following error: </p>
<blockquote>
<p>sqllite: database disk image is malformed</p>
</blockquote>
<p><img src="https://i.sstatic.net/ys... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,986 | svn | # svn cleanup: sqlite: database disk image is malformed
I was trying to do a `svn cleanup` because I can't commit the changes in my working copy, and I got the following error:
> sqllite: database disk image is malformed

What can I do... | First, open `command`/`terminal` at repository root (folder which has `.svn` as child folder):
```
cd /path/to/repository
```
Download [`sqlite3`](https://www.sqlite.org/download.html) and put executable `sqlite3` at root of folder.
You do an integrity check on the sqlite database that keeps track of the repository ... |
2302592 | How do I back up a remote SVN repository | 52 | 2010-02-20 15:07:45 | <p>I am currently moving my SVN server from my home server to my remote server so I can access it more easily from other locations.
My remote server is not backed up so I want to regularly back it up to my home server.</p>
<p>Remote server is Windows 2003 server. Home server is Windows Home Server.</p>
<p>What is the... | 30,480 | 151,770 | 2020-03-04 13:15:21 | 2,303,862 | 121 | 2010-02-20 21:46:11 | 48,003 | 2018-06-16 05:40:43 | https://stackoverflow.com/q/2302592 | https://stackoverflow.com/a/2303862 | <p>Just use the <a href="http://svnbook.red-bean.com/en/1.4/svn.ref.svnsync.html" rel="noreferrer">svnsync</a> command.</p>
<p>First, create a fresh repository on your home machine.</p>
<pre><code>svnadmin create c:\backuprepo
</code></pre>
<p>Or on Unix:</p>
<pre><code>svnadmin create ./backuprepo
</code></pre>
<... | <p>Just use the <a href="http://svnbook.red-bean.com/en/1.4/svn.ref.svnsync.html" rel="noreferrer">svnsync</a> command.</p> <p>First, create a fresh repository on your home machine.</p> <pre><code>svnadmin create c:\backuprepo </code></pre> <p>Or on Unix:</p> <pre><code>svnadmin create ./backuprepo </code></pre> <... | 63, 493 | backup, svn | <h1>How do I back up a remote SVN repository</h1>
<p>I am currently moving my SVN server from my home server to my remote server so I can access it more easily from other locations.
My remote server is not backed up so I want to regularly back it up to my home server.</p>
<p>Remote server is Windows 2003 server. Home ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,987 | svn | # How do I back up a remote SVN repository
I am currently moving my SVN server from my home server to my remote server so I can access it more easily from other locations.
My remote server is not backed up so I want to regularly back it up to my home server.
Remote server is Windows 2003 server. Home server is Window... | Just use the [svnsync](http://svnbook.red-bean.com/en/1.4/svn.ref.svnsync.html) command.
First, create a fresh repository on your home machine.
```
svnadmin create c:\backuprepo
```
Or on Unix:
```
svnadmin create ./backuprepo
```
Next, create a file named pre-revprop-change.bat:
```
echo exit 0 > c:\backuprepo\h... |
3773345 | Check diff against file on the server | 77 | 2010-09-22 20:27:17 | <p>I have a working copy of a repository on my machine, and I know that it has been updated on the server. I would like to know how to get the difference between the new version and the version in my working copy by using <code>svn</code> command line arguments.</p>
<p>Is there a way for me to do this?</p>
| 64,944 | 277,256 | 2012-06-28 02:02:12 | 3,773,399 | 118 | 2010-09-22 20:34:10 | 68,587 | 2010-09-22 20:42:57 | https://stackoverflow.com/q/3773345 | https://stackoverflow.com/a/3773399 | <p>The working copy is revision BASE. The latest copy from the repository is revision HEAD. This will compare your working copy against the HEAD revision:</p>
<pre><code>svn diff -r HEAD <file>
</code></pre>
<p>Actually that'll spit the changes out in reverse, i.e. it tells you how to go from HEAD to BASE. So t... | <p>The working copy is revision BASE. The latest copy from the repository is revision HEAD. This will compare your working copy against the HEAD revision:</p> <pre><code>svn diff -r HEAD <file> </code></pre> <p>Actually that'll spit the changes out in reverse, i.e. it tells you how to go from HEAD to BASE. So t... | 63, 606 | diff, svn | <h1>Check diff against file on the server</h1>
<p>I have a working copy of a repository on my machine, and I know that it has been updated on the server. I would like to know how to get the difference between the new version and the version in my working copy by using <code>svn</code> command line arguments.</p>
<p>Is... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,988 | svn | # Check diff against file on the server
I have a working copy of a repository on my machine, and I know that it has been updated on the server. I would like to know how to get the difference between the new version and the version in my working copy by using `svn` command line arguments.
Is there a way for me to do t... | The working copy is revision BASE. The latest copy from the repository is revision HEAD. This will compare your working copy against the HEAD revision:
```
svn diff -r HEAD <file>
```
Actually that'll spit the changes out in reverse, i.e. it tells you how to go from HEAD to BASE. So technically you want:
```
svn dif... |
3816626 | Deleting an SVN branch | 97 | 2010-09-28 20:08:55 | <p>I created a branch of an SVN project called 'features', and now whenever I try to update said project, it brings with it a features folder, which contains another copy of the project from the branch.</p>
<p>Is there a way to remove the branch from the repository completely so that this doesn't happen any more?</p>
| 161,144 | 89,761 | 2021-06-16 14:38:09 | 3,816,671 | 114 | 2010-09-28 20:15:11 | 52,626 | 2010-09-28 20:21:26 | https://stackoverflow.com/q/3816626 | https://stackoverflow.com/a/3816671 | <p>Sure: <code>svn rm</code> the unwanted folder, and commit.</p>
<p>To avoid this situation in the future, I would follow the <a href="http://svnbook.red-bean.com/en/1.5/svn.tour.importing.html#svn.tour.importing.layout" rel="noreferrer">recommended layout</a> for SVN projects:</p>
<ul>
<li>Put your code in the
<cod... | <p>Sure: <code>svn rm</code> the unwanted folder, and commit.</p> <p>To avoid this situation in the future, I would follow the <a href="http://svnbook.red-bean.com/en/1.5/svn.tour.importing.html#svn.tour.importing.layout" rel="noreferrer">recommended layout</a> for SVN projects:</p> <ul> <li>Put your code in the <cod... | 63, 456, 53847 | branching-and-merging, svn, version-control | <h1>Deleting an SVN branch</h1>
<p>I created a branch of an SVN project called 'features', and now whenever I try to update said project, it brings with it a features folder, which contains another copy of the project from the branch.</p>
<p>Is there a way to remove the branch from the repository completely so that thi... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,990 | svn | # Deleting an SVN branch
I created a branch of an SVN project called 'features', and now whenever I try to update said project, it brings with it a features folder, which contains another copy of the project from the branch.
Is there a way to remove the branch from the repository completely so that this doesn't happe... | Sure: `svn rm` the unwanted folder, and commit.
To avoid this situation in the future, I would follow the [recommended layout](http://svnbook.red-bean.com/en/1.5/svn.tour.importing.html#svn.tour.importing.layout) for SVN projects:
- Put your code in the
`/someproject/trunk` folder (or just
`/trunk` if you want to... |
10414814 | TortoiseSVN reports conflict, but no conflict can be found | 55 | 2012-05-02 13:31:07 | <p>I have a working copy for my entire repository, which contains multiple Python projects. When I choose right-click --> SVN Update in Windows File Explorer I am getting an error message listing a particular project folder:</p>
<pre><code>Command: Update
Updating: path\to\working\copy
Skipped obstructing working cop... | 62,792 | 897,224 | 2018-09-28 16:09:57 | 10,415,610 | 114 | 2012-05-02 14:18:17 | 48,003 | 2012-05-02 14:18:17 | https://stackoverflow.com/q/10414814 | https://stackoverflow.com/a/10415610 | <pre><code>Skipped obstructing working copy
</code></pre>
<p>this means that there's a working copy folder in the way: your update wants to add a folder with name 'project', but you already have a versioned folder 'project' in your working copy.
Maybe you moved that folder from another working copy? Or that folder is ... | <pre><code>Skipped obstructing working copy </code></pre> <p>this means that there's a working copy folder in the way: your update wants to add a folder with name 'project', but you already have a versioned folder 'project' in your working copy. Maybe you moved that folder from another working copy? Or that folder is ... | 63, 456, 656, 3146, 10201 | conflict, svn, tortoisesvn, version-control, working-directory | <h1>TortoiseSVN reports conflict, but no conflict can be found</h1>
<p>I have a working copy for my entire repository, which contains multiple Python projects. When I choose right-click --> SVN Update in Windows File Explorer I am getting an error message listing a particular project folder:</p>
<pre><code>Command: U... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,991 | svn | # TortoiseSVN reports conflict, but no conflict can be found
I have a working copy for my entire repository, which contains multiple Python projects. When I choose right-click --> SVN Update in Windows File Explorer I am getting an error message listing a particular project folder:
```
Command: Update
Updating: path\... | ```
Skipped obstructing working copy
```
this means that there's a working copy folder in the way: your update wants to add a folder with name 'project', but you already have a versioned folder 'project' in your working copy.
Maybe you moved that folder from another working copy? Or that folder is its own working copy... |
9600382 | SVN command to delete all locally missing files | 150 | 2012-03-07 11:12:42 | <p>In SVN is there a command I can use to delete all locally missing files in a directory?</p>
<p>Or failing that, some way of listing only those files that are missing (or, in the more general case, have status A, D, ?, etc.)</p>
| 116,756 | 87,739 | 2019-01-08 06:21:37 | 9,628,914 | 113 | 2012-03-09 04:24:20 | 115,690 | 2016-12-24 08:30:40 | https://stackoverflow.com/q/9600382 | https://stackoverflow.com/a/9628914 | <p>If you are using TortoiseSVN, just do a <em>Check for Modifications</em>, sort by the <em>Status</em> column, select all the entries marked <code>missing</code>, right-click to open the context menu, and select <em>Delete</em>. Finally, commit to publish the changes to the repository.</p>
<p>If you are on Windows, ... | <p>If you are using TortoiseSVN, just do a <em>Check for Modifications</em>, sort by the <em>Status</em> column, select all the entries marked <code>missing</code>, right-click to open the context menu, and select <em>Delete</em>. Finally, commit to publish the changes to the repository.</p> <p>If you are on Windows, ... | 63, 724 | file-io, svn | <h1>SVN command to delete all locally missing files</h1>
<p>In SVN is there a command I can use to delete all locally missing files in a directory?</p>
<p>Or failing that, some way of listing only those files that are missing (or, in the more general case, have status A, D, ?, etc.)</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,992 | svn | # SVN command to delete all locally missing files
In SVN is there a command I can use to delete all locally missing files in a directory?
Or failing that, some way of listing only those files that are missing (or, in the more general case, have status A, D, ?, etc.) | If you are using TortoiseSVN, just do a *Check for Modifications*, sort by the *Status* column, select all the entries marked `missing`, right-click to open the context menu, and select *Delete*. Finally, commit to publish the changes to the repository.
If you are on Windows, but prefer the command-line and enjoy dabb... |
31964627 | TortoiseSVN icons overlay not showing after updating to Windows 10 | 158 | 2015-08-12 12:00:20 | <p>I had been using Windows 8 and TortoiseSVN icons have been displaying properly, but after installing Windows 10 I can no longer see the icons for the files/folder status.</p>
| 269,593 | 3,340,627 | 2025-12-01 11:10:28 | 32,073,399 | 112 | 2015-08-18 13:09:40 | 1,375,516 | 2015-11-25 21:09:15 | https://stackoverflow.com/q/31964627 | https://stackoverflow.com/a/32073399 | <p>Had same issue, and was solved by running <code>regedit</code>, erasing some entries in <code>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers</code> and restarting.
Deleting OneDrive1... enties was not permited, but I had some from Google Drive.
You can also make a ... | <p>Had same issue, and was solved by running <code>regedit</code>, erasing some entries in <code>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers</code> and restarting. Deleting OneDrive1... enties was not permited, but I had some from Google Drive. You can also make a ... | 656, 107329 | tortoisesvn, windows-10 | <h1>TortoiseSVN icons overlay not showing after updating to Windows 10</h1>
<p>I had been using Windows 8 and TortoiseSVN icons have been displaying properly, but after installing Windows 10 I can no longer see the icons for the files/folder status.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,993 | svn | # TortoiseSVN icons overlay not showing after updating to Windows 10
I had been using Windows 8 and TortoiseSVN icons have been displaying properly, but after installing Windows 10 I can no longer see the icons for the files/folder status. | Had same issue, and was solved by running `regedit`, erasing some entries in `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers` and restarting.
Deleting OneDrive1... enties was not permited, but I had some from Google Drive.
You can also make a bakup by double-clicking i... |
99391 | How do I fix this Subversion MKCOL error? | 76 | 2008-09-19 03:46:59 | <p>When I commit I get this error from Subversion:</p>
<pre><code>bash-2.05b$ svn commit -m "testing subversion, still"
Adding baz
svn: Commit failed (details follow):
svn: MKCOL of '/viper/!svn/wrk/6b9bcd38-b2fe-0310-95ff-9d1a44098866/sandboxes/ohammersmith/trunk/baz': 405 Method Not Allowed (http://svn.examp... | 99,713 | 9,594 | 2021-06-06 06:39:33 | 99,413 | 112 | 2008-09-19 03:50:18 | 9,594 | 2008-09-19 03:50:18 | https://stackoverflow.com/q/99391 | https://stackoverflow.com/a/99413 | <p>This happens when you have added a directory that someone else has also added and already committed. The error message on a commit is really confusing, but if you do an <code>svn up</code> instead you'll see this message:</p>
<pre><code>bash-2.05b$ svn up
svn: Failed to add directory 'baz': object of the same name... | <p>This happens when you have added a directory that someone else has also added and already committed. The error message on a commit is really confusing, but if you do an <code>svn up</code> instead you'll see this message:</p> <pre><code>bash-2.05b$ svn up svn: Failed to add directory 'baz': object of the same name... | 63 | svn | <h1>How do I fix this Subversion MKCOL error?</h1>
<p>When I commit I get this error from Subversion:</p>
<pre><code>bash-2.05b$ svn commit -m "testing subversion, still"
Adding baz
svn: Commit failed (details follow):
svn: MKCOL of '/viper/!svn/wrk/6b9bcd38-b2fe-0310-95ff-9d1a44098866/sandboxes/ohammersmith/t... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,994 | svn | # How do I fix this Subversion MKCOL error?
When I commit I get this error from Subversion:
```
bash-2.05b$ svn commit -m "testing subversion, still"
Adding baz
svn: Commit failed (details follow):
svn: MKCOL of '/viper/!svn/wrk/6b9bcd38-b2fe-0310-95ff-9d1a44098866/sandboxes/ohammersmith/trunk/baz': 405 Metho... | This happens when you have added a directory that someone else has also added and already committed. The error message on a commit is really confusing, but if you do an `svn up` instead you'll see this message:
```
bash-2.05b$ svn up
svn: Failed to add directory 'baz': object of the same name already exists
```
To re... |
2250873 | Find difference between trunk and branch? | 72 | 2010-02-12 09:49:35 | <p>Is there a way to find the differences between the <code>trunk</code> and say a branch <code>0.4.x</code>?</p>
<p>I need to create a tag - however I can't remember if my latest corrections were done in the trunk or the branch.</p>
| 75,001 | 154,280 | 2017-02-16 14:58:06 | 2,250,893 | 112 | 2010-02-12 09:52:30 | 4,918 | 2013-10-21 08:51:02 | https://stackoverflow.com/q/2250873 | https://stackoverflow.com/a/2250893 | <p>If you have a checkout of the repository at hand, you can use the <code>^</code> (caret, search for it in the <a href="http://svnbook.red-bean.com/en/1.6/svn.basic.in-action.html" rel="noreferrer">manual</a>) notation to reference the root of the repo like this:</p>
<pre><code>svn diff --old ^/branches/0.4.x --new ... | <p>If you have a checkout of the repository at hand, you can use the <code>^</code> (caret, search for it in the <a href="http://svnbook.red-bean.com/en/1.6/svn.basic.in-action.html" rel="noreferrer">manual</a>) notation to reference the root of the repo like this:</p> <pre><code>svn diff --old ^/branches/0.4.x --new ... | 63, 606 | diff, svn | <h1>Find difference between trunk and branch?</h1>
<p>Is there a way to find the differences between the <code>trunk</code> and say a branch <code>0.4.x</code>?</p>
<p>I need to create a tag - however I can't remember if my latest corrections were done in the trunk or the branch.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,995 | svn | # Find difference between trunk and branch?
Is there a way to find the differences between the `trunk` and say a branch `0.4.x`?
I need to create a tag - however I can't remember if my latest corrections were done in the trunk or the branch. | If you have a checkout of the repository at hand, you can use the `^` (caret, search for it in the [manual](http://svnbook.red-bean.com/en/1.6/svn.basic.in-action.html)) notation to reference the root of the repo like this:
```
svn diff --old ^/branches/0.4.x --new ^/trunk
```
This works since Subversion 1.6.
If you... |
216049 | How do I get a list of all unversioned files from SVN? | 82 | 2008-10-19 05:25:29 | <p>Sometimes you're developing and you decide to commit, forgetting you created a few files on your project. Then a few days down the line your buddy gets your build out of Subversion and complains that some files appear to be missing. You realize, ah crap, I forgot to add those files!</p>
<p>How can I get a list of t... | 58,265 | 8,123 | 2018-10-19 15:57:33 | 216,052 | 111 | 2008-10-19 05:26:55 | 893 | 2008-10-19 05:33:16 | https://stackoverflow.com/q/216049 | https://stackoverflow.com/a/216052 | <p>Use the <a href="http://svnbook.red-bean.com/en/1.0/re26.html" rel="noreferrer"><code>svn status</code></a> command:</p>
<pre><code>svn status | grep ^?
</code></pre>
<p>Files that are not versioned are indicated with a ? at the start of the line.</p>
<p>If you find that you always have some specific files that s... | <p>Use the <a href="http://svnbook.red-bean.com/en/1.0/re26.html" rel="noreferrer"><code>svn status</code></a> command:</p> <pre><code>svn status | grep ^? </code></pre> <p>Files that are not versioned are indicated with a ? at the start of the line.</p> <p>If you find that you always have some specific files that s... | 63, 456 | svn, version-control | <h1>How do I get a list of all unversioned files from SVN?</h1>
<p>Sometimes you're developing and you decide to commit, forgetting you created a few files on your project. Then a few days down the line your buddy gets your build out of Subversion and complains that some files appear to be missing. You realize, ah crap... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,996 | svn | # How do I get a list of all unversioned files from SVN?
Sometimes you're developing and you decide to commit, forgetting you created a few files on your project. Then a few days down the line your buddy gets your build out of Subversion and complains that some files appear to be missing. You realize, ah crap, I forgo... | Use the [`svn status`](http://svnbook.red-bean.com/en/1.0/re26.html) command:
```
svn status | grep ^?
```
Files that are not versioned are indicated with a ? at the start of the line.
If you find that you always have some specific files that should not be added to the repository (for example, generated binaries), y... |
192824 | SVN checkout ignore folder | 102 | 2008-10-10 19:54:44 | <p>Can I ignore a folder on svn checkout? I need to ignore DOCs folder on checkout at my build server.</p>
<p><strong>edit:</strong> Ignore externals isn't an option. I have some externals that I need.</p>
| 98,237 | 20,683 | 2022-08-18 15:30:56 | 218,131 | 106 | 2008-10-20 11:44:29 | 6,945 | 2008-10-20 11:44:29 | https://stackoverflow.com/q/192824 | https://stackoverflow.com/a/218131 | <p>You can't directly ignore folders on a checkout, but you can use sparse checkouts in svn 1.5. For example:</p>
<pre><code>$ svn co http://subversion/project/trunk my_checkout --depth immediates
</code></pre>
<p>This will check files and directories from your project trunk into 'my_checkout', but not recurse into ... | <p>You can't directly ignore folders on a checkout, but you can use sparse checkouts in svn 1.5. For example:</p> <pre><code>$ svn co http://subversion/project/trunk my_checkout --depth immediates </code></pre> <p>This will check files and directories from your project trunk into 'my_checkout', but not recurse into ... | 63, 264, 487, 65722 | build-automation, cruisecontrol.net, svn, svn-checkout | <h1>SVN checkout ignore folder</h1>
<p>Can I ignore a folder on svn checkout? I need to ignore DOCs folder on checkout at my build server.</p>
<p><strong>edit:</strong> Ignore externals isn't an option. I have some externals that I need.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,997 | svn | # SVN checkout ignore folder
Can I ignore a folder on svn checkout? I need to ignore DOCs folder on checkout at my build server.
**edit:** Ignore externals isn't an option. I have some externals that I need. | You can't directly ignore folders on a checkout, but you can use sparse checkouts in svn 1.5. For example:
```
$ svn co http://subversion/project/trunk my_checkout --depth immediates
```
This will check files and directories from your project trunk into 'my_checkout', but not recurse into those directories. Eg:
```
... |
41934 | How can I make Eclipse file search not include svn directories? | 58 | 2008-09-03 15:27:19 | <p>When I do a file search on eclipse it includes the <code>.svn</code> directories by default. I tried excluding them from the build path but they still appear on file search results.</p>
| 20,641 | 823 | 2017-01-12 09:27:21 | 3,693,293 | 106 | 2010-09-12 00:48:16 | 330,923 | 2014-07-14 08:08:43 | https://stackoverflow.com/q/41934 | https://stackoverflow.com/a/3693293 | <p>Spaceman is right. With Helios, choose <code>Project -> Properties -> Resource -> Resource Filters</code> and then add an <code>exclude</code> filter for type "Folder" with name <code>.svn</code>.</p>
| <p>Spaceman is right. With Helios, choose <code>Project -> Properties -> Resource -> Resource Filters</code> and then add an <code>exclude</code> filter for type "Folder" with name <code>.svn</code>.</p> | 53, 63 | eclipse, svn | <h1>How can I make Eclipse file search not include svn directories?</h1>
<p>When I do a file search on eclipse it includes the <code>.svn</code> directories by default. I tried excluding them from the build path but they still appear on file search results.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,998 | svn | # How can I make Eclipse file search not include svn directories?
When I do a file search on eclipse it includes the `.svn` directories by default. I tried excluding them from the build path but they still appear on file search results. | Spaceman is right. With Helios, choose `Project -> Properties -> Resource -> Resource Filters` and then add an `exclude` filter for type "Folder" with name `.svn`. |
2494984 | How to get a list of all Subversion commit author usernames? | 91 | 2010-03-22 19:07:29 | <p>I'm looking for an efficient way to get the list of unique commit authors for an SVN repository as a whole, or for a given resource path. I haven't been able to find an SVN command specifically for this (and don't expect one) but I'm hoping there may be a better way that what I've tried so far in Terminal (on OS X):... | 58,248 | 120,292 | 2021-02-16 21:22:17 | 2,495,010 | 105 | 2010-03-22 19:13:06 | 2,624,511 | 2015-09-25 03:32:58 | https://stackoverflow.com/q/2494984 | https://stackoverflow.com/a/2495010 | <p>To filter out duplicates, take your output and pipe through: <code>sort | uniq</code>. Thus:</p>
<pre><code>svn log --quiet | grep "^r" | awk '{print $3}' | sort | uniq
</code></pre>
<p>I woud not be surprised if this is the way to do what you ask. Unix tools often expect the user to do fancy processing and anal... | <p>To filter out duplicates, take your output and pipe through: <code>sort | uniq</code>. Thus:</p> <pre><code>svn log --quiet | grep "^r" | awk '{print $3}' | sort | uniq </code></pre> <p>I woud not be surprised if this is the way to do what you ask. Unix tools often expect the user to do fancy processing and anal... | 63, 3794, 5597 | commit, metadata, svn | <h1>How to get a list of all Subversion commit author usernames?</h1>
<p>I'm looking for an efficient way to get the list of unique commit authors for an SVN repository as a whole, or for a given resource path. I haven't been able to find an SVN command specifically for this (and don't expect one) but I'm hoping there ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,999 | svn | # How to get a list of all Subversion commit author usernames?
I'm looking for an efficient way to get the list of unique commit authors for an SVN repository as a whole, or for a given resource path. I haven't been able to find an SVN command specifically for this (and don't expect one) but I'm hoping there may be a ... | To filter out duplicates, take your output and pipe through: `sort | uniq`. Thus:
```
svn log --quiet | grep "^r" | awk '{print $3}' | sort | uniq
```
I woud not be surprised if this is the way to do what you ask. Unix tools often expect the user to do fancy processing and analysis with other tools.
P.S. Come to thi... |
16433933 | svn: E155004: ..(path of resource).. is already locked | 45 | 2013-05-08 06:19:09 | <p>I'm getting an error when trying to commit a change to a repository. I'm sure that my resources (classes) are not locked but it still gives me the error: </p>
<pre><code>Some resources were not updated.
svn: E155004: Working copy 'D:\svnworkspace\crm\weblayer\com\lmkr\crm\web\model\dashboard' locked
svn: E155004: ... | 127,569 | 1,826,985 | 2022-08-11 05:57:44 | 16,434,111 | 105 | 2013-05-08 06:32:07 | 22,364 | 2014-06-25 19:46:23 | https://stackoverflow.com/q/16433933 | https://stackoverflow.com/a/16434111 | <p>Update and <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.cleanup.html">clean</a> your working copy.</p>
<pre><code>svn update
svn cleanup
</code></pre>
<hr>
<p>If nothing else works, save your changes as a patch (<strong>TortoiseSVN</strong> → <strong>Create patch...</strong> or <code>svn diff &g... | <p>Update and <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.cleanup.html">clean</a> your working copy.</p> <pre><code>svn update svn cleanup </code></pre> <hr> <p>If nothing else works, save your changes as a patch (<strong>TortoiseSVN</strong> → <strong>Create patch...</strong> or <code>svn diff &g... | 63 | svn | <h1>svn: E155004: ..(path of resource).. is already locked</h1>
<p>I'm getting an error when trying to commit a change to a repository. I'm sure that my resources (classes) are not locked but it still gives me the error: </p>
<pre><code>Some resources were not updated.
svn: E155004: Working copy 'D:\svnworkspace\crm\... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,000 | svn | # svn: E155004: ..(path of resource).. is already locked
I'm getting an error when trying to commit a change to a repository. I'm sure that my resources (classes) are not locked but it still gives me the error:
```
Some resources were not updated.
svn: E155004: Working copy 'D:\svnworkspace\crm\weblayer\com\lmkr\crm\... | Update and [clean](http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.cleanup.html) your working copy.
```
svn update
svn cleanup
```
---
If nothing else works, save your changes as a patch (**TortoiseSVN** → **Create patch...** or `svn diff > changes.diff`), and check out the repository anew. You can then apply the p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.