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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6591938 | svn copy -r [revision number] [url] [path] | 21 | 2011-07-06 05:31:13 | <p>So, I've done this before and I just can't seem to figure out what's broken this time...</p>
<p>I'm trying to restore a file from SVN. I went and found the revision where it was deleted (or at least last existed. I verified by using svn list -r)</p>
<p>Here is my command:</p>
<pre><code>svn copy -r 925 url/to/rep... | 22,002 | 536,733 | 2015-05-19 21:45:08 | 6,591,967 | 38 | 2011-07-06 05:33:59 | 13,860 | 2015-05-19 21:45:08 | https://stackoverflow.com/q/6591938 | https://stackoverflow.com/a/6591967 | <p>I think what you want is:</p>
<pre><code>svn copy url/to/repo/foldername@925 htdocs/foldername
</code></pre>
<p>From <code>svn help copy</code>:</p>
<pre><code>usage: copy SRC[@REV]... DST
</code></pre>
<p>See <a href="http://svnbook.red-bean.com/en/1.6/svn.advanced.pegrevs.html">Peg and Operative Revisions</a>.... | <p>I think what you want is:</p> <pre><code>svn copy url/to/repo/foldername@925 htdocs/foldername </code></pre> <p>From <code>svn help copy</code>:</p> <pre><code>usage: copy SRC[@REV]... DST </code></pre> <p>See <a href="http://svnbook.red-bean.com/en/1.6/svn.advanced.pegrevs.html">Peg and Operative Revisions</a>.... | 63 | svn | <h1>svn copy -r [revision number] [url] [path]</h1>
<p>So, I've done this before and I just can't seem to figure out what's broken this time...</p>
<p>I'm trying to restore a file from SVN. I went and found the revision where it was deleted (or at least last existed. I verified by using svn list -r)</p>
<p>Here is my... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,260 | svn | # svn copy -r [revision number] [url] [path]
So, I've done this before and I just can't seem to figure out what's broken this time...
I'm trying to restore a file from SVN. I went and found the revision where it was deleted (or at least last existed. I verified by using svn list -r)
Here is my command:
```
svn copy... | I think what you want is:
```
svn copy url/to/repo/foldername@925 htdocs/foldername
```
From `svn help copy`:
```
usage: copy SRC[@REV]... DST
```
See [Peg and Operative Revisions](http://svnbook.red-bean.com/en/1.6/svn.advanced.pegrevs.html).
Using `-r REV without @REV` means "the ancestor (revision REV) of the c... |
247888 | How to require commit messages in VisualSVN server? | 49 | 2008-10-29 18:30:50 | <p>We've got VisualSVN Server set up as our Subversion server on Windows, and we use Ankhsvn + TortoiseSVN as clients on our workstations.</p>
<p>How can you configure the server to require commit messages to be non-empty?</p>
| 26,869 | 3,279 | 2018-09-13 15:51:17 | 247,916 | 37 | 2008-10-29 18:36:45 | 13,103 | 2018-09-13 15:51:17 | https://stackoverflow.com/q/247888 | https://stackoverflow.com/a/247916 | <p>VisualSVN Server 3.9 provides the <code>VisualSVNServerHooks.exe check-logmessage</code> pre-commit hook that helps you reject commits with empty or short log messages. See the article <a href="https://www.visualsvn.com/support/topic/00140/" rel="nofollow noreferrer">KB140: Validating commit log messages in VisualSV... | <p>VisualSVN Server 3.9 provides the <code>VisualSVNServerHooks.exe check-logmessage</code> pre-commit hook that helps you reject commits with empty or short log messages. See the article <a href="https://www.visualsvn.com/support/topic/00140/" rel="nofollow noreferrer">KB140: Validating commit log messages in VisualSV... | 63, 853, 995, 11603, 64649 | hook, notifications, svn, svn-hooks, visualsvn-server | <h1>How to require commit messages in VisualSVN server?</h1>
<p>We've got VisualSVN Server set up as our Subversion server on Windows, and we use Ankhsvn + TortoiseSVN as clients on our workstations.</p>
<p>How can you configure the server to require commit messages to be non-empty?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,261 | svn | # How to require commit messages in VisualSVN server?
We've got VisualSVN Server set up as our Subversion server on Windows, and we use Ankhsvn + TortoiseSVN as clients on our workstations.
How can you configure the server to require commit messages to be non-empty? | VisualSVN Server 3.9 provides the `VisualSVNServerHooks.exe check-logmessage` pre-commit hook that helps you reject commits with empty or short log messages. See the article [KB140: Validating commit log messages in VisualSVN Server](https://www.visualsvn.com/support/topic/00140/) for instructions.
Besides the built-i... |
1943041 | How can I make svn command line client to forget the login credentials on windows (sliksvn)? | 40 | 2009-12-21 22:26:19 | <p>After having checked out once the repository to a folder, the svn command line client remembers the username and password (along with the repository url?). So, 2 questions arise:</p>
<ul>
<li>is there a way to make it stop remembering the login info (and ask user/pass every time)?</li>
<li>is there a way to make it... | 65,880 | 102,957 | 2018-03-12 22:39:26 | 1,943,055 | 37 | 2009-12-21 22:30:40 | 5,555 | 2012-02-08 12:28:40 | https://stackoverflow.com/q/1943041 | https://stackoverflow.com/a/1943055 | <p>To make it forget the current credentials:<br>
The credentials are cached somewhere in <code>%APPDATA%\Subversion\auth</code> Check the files in there to decide where to check, or remove all the files.</p>
<p>To make it stop remembering the login info:</p>
<ol>
<li><p>Edit <code>%APPDATA%\Subversion\config</code>.... | <p>To make it forget the current credentials:<br> The credentials are cached somewhere in <code>%APPDATA%\Subversion\auth</code> Check the files in there to decide where to check, or remove all the files.</p> <p>To make it stop remembering the login info:</p> <ol> <li><p>Edit <code>%APPDATA%\Subversion\config</code>.... | 63, 183, 1231 | authentication, command-line, svn | <h1>How can I make svn command line client to forget the login credentials on windows (sliksvn)?</h1>
<p>After having checked out once the repository to a folder, the svn command line client remembers the username and password (along with the repository url?). So, 2 questions arise:</p>
<ul>
<li>is there a way to make... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,262 | svn | # How can I make svn command line client to forget the login credentials on windows (sliksvn)?
After having checked out once the repository to a folder, the svn command line client remembers the username and password (along with the repository url?). So, 2 questions arise:
- is there a way to make it stop remembering... | To make it forget the current credentials:
The credentials are cached somewhere in `%APPDATA%\Subversion\auth` Check the files in there to decide where to check, or remove all the files.
To make it stop remembering the login info:
1. Edit `%APPDATA%\Subversion\config`.
2. Set `store-auth-creds=no` |
4104608 | How do I fix SVN 'Working copy text base is corrupt'? | 36 | 2010-11-05 09:16:02 | <p>After many happy commits to my svn repo, all of the sudden the relationship went sour...svn flipped her lid and yelled: "<strong>Working copy text base is corrupt!</strong>"</p>
<p>What could have caused this? How do I fix it?</p>
<pre><code>Working copy text base is corrupt
svn: Commit failed (details follow):
sv... | 45,428 | 297,331 | 2019-11-19 14:55:46 | 28,151,806 | 37 | 2015-01-26 14:16:23 | 2,761,849 | 2015-01-26 14:16:23 | https://stackoverflow.com/q/4104608 | https://stackoverflow.com/a/28151806 | <p>This was the error.</p>
<pre><code>svn: E155017: Working copy text base is corrupt
svn: E200014: Checksum mismatch for text base of : '/home/.../exampleFileCorrupted.cpp'
....
</code></pre>
<p><strong><em>CLEAR SOLUTION WHICH WORKED FOR ME SMOOTHLY:</em></strong></p>
<p><em>ATTENTION:</em> <strong>Copy your file ... | <p>This was the error.</p> <pre><code>svn: E155017: Working copy text base is corrupt svn: E200014: Checksum mismatch for text base of : '/home/.../exampleFileCorrupted.cpp' .... </code></pre> <p><strong><em>CLEAR SOLUTION WHICH WORKED FOR ME SMOOTHLY:</em></strong></p> <p><em>ATTENTION:</em> <strong>Copy your file ... | 63, 7330 | repository, svn | <h1>How do I fix SVN 'Working copy text base is corrupt'?</h1>
<p>After many happy commits to my svn repo, all of the sudden the relationship went sour...svn flipped her lid and yelled: "<strong>Working copy text base is corrupt!</strong>"</p>
<p>What could have caused this? How do I fix it?</p>
<pre><code>Working co... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,264 | svn | # How do I fix SVN 'Working copy text base is corrupt'?
After many happy commits to my svn repo, all of the sudden the relationship went sour...svn flipped her lid and yelled: "**Working copy text base is corrupt!**"
What could have caused this? How do I fix it?
```
Working copy text base is corrupt
svn: Commit fail... | This was the error.
```
svn: E155017: Working copy text base is corrupt
svn: E200014: Checksum mismatch for text base of : '/home/.../exampleFileCorrupted.cpp'
....
```
***CLEAR SOLUTION WHICH WORKED FOR ME SMOOTHLY:***
*ATTENTION:* **Copy your file in another file outside of the SVN environment.**
```
cp exampleFi... |
3903037 | Commit failed error when committing new version to svn repository | 28 | 2010-10-11 01:42:51 | <p>I'm trying to commit a new version to my SVN repository but am met with this error:</p>
<blockquote>
<p>svn: Commit failed (details follow):<br>
svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options<br>
... | 33,987 | 421,109 | 2019-05-02 07:41:50 | 3,903,053 | 37 | 2010-10-11 01:47:01 | 269,746 | 2016-03-23 17:56:54 | https://stackoverflow.com/q/3903037 | https://stackoverflow.com/a/3903053 | <p>Justin,</p>
<p>Every time you commit with Subversion, you need to write a summary of what is being committed (i.e. the commit message). The error is because Subversion is trying to launch a text editor so that you can write a commit message, but the editor is never being launched. Setting the <code>SVN_EDITOR</code... | <p>Justin,</p> <p>Every time you commit with Subversion, you need to write a summary of what is being committed (i.e. the commit message). The error is because Subversion is trying to launch a text editor so that you can write a commit message, but the editor is never being launched. Setting the <code>SVN_EDITOR</code... | 63, 5597, 7330 | commit, repository, svn | <h1>Commit failed error when committing new version to svn repository</h1>
<p>I'm trying to commit a new version to my SVN repository but am met with this error:</p>
<blockquote>
<p>svn: Commit failed (details follow):<br>
svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR en... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,265 | svn | # Commit failed error when committing new version to svn repository
I'm trying to commit a new version to my SVN repository but am met with this error:
> svn: Commit failed (details follow):
> svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the... | Justin,
Every time you commit with Subversion, you need to write a summary of what is being committed (i.e. the commit message). The error is because Subversion is trying to launch a text editor so that you can write a commit message, but the editor is never being launched. Setting the `SVN_EDITOR` in your .bash_profi... |
335770 | What are the uses of svn copy? | 27 | 2008-12-02 23:06:21 | <p>Example: </p>
<pre><code>$ svn copy foo.txt bar.txt
A bar.txt
</code></pre>
<ul>
<li>When would you use this technique, and why? </li>
<li>Will this command (taken from svn's "red book") creates a copy of <code><foo.txt></code> while preserving the history of it to be shared with <code><bar.txt><... | 25,830 | 10,312 | 2016-01-02 11:31:22 | 335,862 | 37 | 2008-12-02 23:54:25 | 27,009 | 2016-01-02 11:31:22 | https://stackoverflow.com/q/335770 | https://stackoverflow.com/a/335862 | <p>Aside from branching/tagging, you can also use it when you split a file in two. In this case both new files will have history and you'll be able to look at the code before the split.</p>
<p>BTW: that's one of few features that SVN has, but Git doesn't (Git will try to guess origin of code after the fact, especially... | <p>Aside from branching/tagging, you can also use it when you split a file in two. In this case both new files will have history and you'll be able to look at the code before the split.</p> <p>BTW: that's one of few features that SVN has, but Git doesn't (Git will try to guess origin of code after the fact, especially... | 63, 456 | svn, version-control | <h1>What are the uses of svn copy?</h1>
<p>Example: </p>
<pre><code>$ svn copy foo.txt bar.txt
A bar.txt
</code></pre>
<ul>
<li>When would you use this technique, and why? </li>
<li>Will this command (taken from svn's "red book") creates a copy of <code><foo.txt></code> while preserving the history of it ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,266 | svn | # What are the uses of svn copy?
Example:
```
$ svn copy foo.txt bar.txt
A bar.txt
```
- When would you use this technique, and why?
- Will this command (taken from svn's "red book") creates a copy of `<foo.txt>` while preserving the history of it to be shared with `<bar.txt>`?
- If I'm changing `<bar.txt>`, wh... | Aside from branching/tagging, you can also use it when you split a file in two. In this case both new files will have history and you'll be able to look at the code before the split.
BTW: that's one of few features that SVN has, but Git doesn't (Git will try to guess origin of code after the fact, especially if you ad... |
372218 | Insert Subversion revision number in Xcode | 25 | 2008-12-16 18:31:56 | <p>I would like to insert the current Subversion revision number (as reported by <code>svnversion</code>) into my Xcode project. I managed to insert the revision number into the <code>Info.plist</code> in the <code>$PROJECT_DIR</code>, but this is not a good solution, since the file is versioned. I tried to insert the ... | 23,737 | 17,279 | 2012-12-20 13:48:47 | 1,061,901 | 37 | 2009-06-30 05:38:36 | 120,292 | 2011-04-28 11:35:51 | https://stackoverflow.com/q/372218 | https://stackoverflow.com/a/1061901 | <p>There's a much simpler solution: using <a href="http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/PlistBuddy.8.html" rel="nofollow noreferrer"><strong>PlistBuddy</strong></a>, included at <code>/usr/libexec/PlistBuddy</code> in Leopard. See <a href="https://stackoverflow.com/questions/877128/#1... | <p>There's a much simpler solution: using <a href="http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/PlistBuddy.8.html" rel="nofollow noreferrer"><strong>PlistBuddy</strong></a>, included at <code>/usr/libexec/PlistBuddy</code> in Leopard. See <a href="https://stackoverflow.com/questions/877128/#1... | 63, 908 | svn, xcode | <h1>Insert Subversion revision number in Xcode</h1>
<p>I would like to insert the current Subversion revision number (as reported by <code>svnversion</code>) into my Xcode project. I managed to insert the revision number into the <code>Info.plist</code> in the <code>$PROJECT_DIR</code>, but this is not a good solution,... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,267 | svn | # Insert Subversion revision number in Xcode
I would like to insert the current Subversion revision number (as reported by `svnversion`) into my Xcode project. I managed to insert the revision number into the `Info.plist` in the `$PROJECT_DIR`, but this is not a good solution, since the file is versioned. I tried to i... | There's a much simpler solution: using [**PlistBuddy**](http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/PlistBuddy.8.html), included at `/usr/libexec/PlistBuddy` in Leopard. See [my answer to a related SO question](https://stackoverflow.com/questions/877128/#1061864) for details.
PlistBuddy can... |
9593157 | How to print line number with svn blame? | 22 | 2012-03-06 22:48:16 | <p>I did an <code>svn blame</code> on a file like </p>
<pre><code>$ svn blame folder1/file.txt
</code></pre>
<p>It gives me the otput that looks like:</p>
<pre><code>svnRevision userName line
</code></pre>
<p>How do I make it to print the line number as well?, something like</p>
<pre><code>lineNumber svnRevision u... | 10,203 | 567,345 | 2014-12-15 09:14:27 | 11,633,248 | 37 | 2012-07-24 14:37:49 | 1,549,060 | 2012-07-24 15:46:09 | https://stackoverflow.com/q/9593157 | https://stackoverflow.com/a/11633248 | <p>Based on Kunal Cholera, but without creating any files</p>
<pre><code>svn blame file.cpp | cat -n
</code></pre>
| <p>Based on Kunal Cholera, but without creating any files</p> <pre><code>svn blame file.cpp | cat -n </code></pre> | 63 | svn | <h1>How to print line number with svn blame?</h1>
<p>I did an <code>svn blame</code> on a file like </p>
<pre><code>$ svn blame folder1/file.txt
</code></pre>
<p>It gives me the otput that looks like:</p>
<pre><code>svnRevision userName line
</code></pre>
<p>How do I make it to print the line number as well?, somet... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,268 | svn | # How to print line number with svn blame?
I did an `svn blame` on a file like
```
$ svn blame folder1/file.txt
```
It gives me the otput that looks like:
```
svnRevision userName line
```
How do I make it to print the line number as well?, something like
```
lineNumber svnRevision userName line
``` | Based on Kunal Cholera, but without creating any files
```
svn blame file.cpp | cat -n
``` |
6143176 | How can I password protect dev but not live while using SVN? | 22 | 2011-05-26 18:14:34 | <p>We have this workflow:
Development is done on dev.example.com
Changes are committed to SVN, then exported to live site.
Live site is at www.example.com</p>
<p>I want to password protect dev.example.com, but if I do it with .htaccess, we will be using the same .htaccess at live site and it will get password protecte... | 1,845 | 515,942 | 2011-06-20 13:12:59 | 6,353,506 | 37 | 2011-06-15 05:39:02 | 577,300 | 2011-06-20 13:12:59 | https://stackoverflow.com/q/6143176 | https://stackoverflow.com/a/6353506 | <p>If <code>mod_setenvif</code> is enabled on the server, you could add this to your <code>.htaccess</code> file:</p>
<pre><code>SetEnvIfNoCase ^HOST$ .+ unauthenticated
SetEnvIfNoCase ^HOST$ ^dev\.example\.com$ !unauthenticated
AuthType Basic
AuthName "Secured"
AuthUserFile /path/to/.htpasswd
Require valid-user
Orde... | <p>If <code>mod_setenvif</code> is enabled on the server, you could add this to your <code>.htaccess</code> file:</p> <pre><code>SetEnvIfNoCase ^HOST$ .+ unauthenticated SetEnvIfNoCase ^HOST$ ^dev\.example\.com$ !unauthenticated AuthType Basic AuthName "Secured" AuthUserFile /path/to/.htpasswd Require valid-user Orde... | 5, 63, 220 | passwords, php, svn | <h1>How can I password protect dev but not live while using SVN?</h1>
<p>We have this workflow:
Development is done on dev.example.com
Changes are committed to SVN, then exported to live site.
Live site is at www.example.com</p>
<p>I want to password protect dev.example.com, but if I do it with .htaccess, we will be u... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,269 | svn | # How can I password protect dev but not live while using SVN?
We have this workflow:
Development is done on dev.example.com
Changes are committed to SVN, then exported to live site.
Live site is at www.example.com
I want to password protect dev.example.com, but if I do it with .htaccess, we will be using the same .h... | If `mod_setenvif` is enabled on the server, you could add this to your `.htaccess` file:
```
SetEnvIfNoCase ^HOST$ .+ unauthenticated
SetEnvIfNoCase ^HOST$ ^dev\.example\.com$ !unauthenticated
AuthType Basic
AuthName "Secured"
AuthUserFile /path/to/.htpasswd
Require valid-user
Order allow,deny
Allow from env=unauthen... |
1052784 | svn checkout and update without the .svn directory | 17 | 2009-06-27 12:59:06 | <p>I have a website under svn and I want to patch the live website with what's currently in the repository (i.e. effectively calling svn update on the live website), but I don't want .svn directories in every folder on the production website.</p>
<p>Is there a way to set up svn so that the .svn folder with version inf... | 8,511 | 11,708 | 2011-12-17 20:56:22 | 1,052,795 | 37 | 2009-06-27 13:06:01 | 101,361 | 2009-06-27 13:06:01 | https://stackoverflow.com/q/1052784 | https://stackoverflow.com/a/1052795 | <p><code>svn export</code> works similarly to a <code>checkout</code> but without the <code>.svn</code> directories. However, you cannot <code>update</code> such a structure since it's not a svn working copy.</p>
<p>You can also configure the web server to disallow access to the <code>.svn</code> directories and just ... | <p><code>svn export</code> works similarly to a <code>checkout</code> but without the <code>.svn</code> directories. However, you cannot <code>update</code> such a structure since it's not a svn working copy.</p> <p>You can also configure the web server to disallow access to the <code>.svn</code> directories and just ... | 63, 33407 | svn, website-deployment | <h1>svn checkout and update without the .svn directory</h1>
<p>I have a website under svn and I want to patch the live website with what's currently in the repository (i.e. effectively calling svn update on the live website), but I don't want .svn directories in every folder on the production website.</p>
<p>Is there ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,270 | svn | # svn checkout and update without the .svn directory
I have a website under svn and I want to patch the live website with what's currently in the repository (i.e. effectively calling svn update on the live website), but I don't want .svn directories in every folder on the production website.
Is there a way to set up ... | `svn export` works similarly to a `checkout` but without the `.svn` directories. However, you cannot `update` such a structure since it's not a svn working copy.
You can also configure the web server to disallow access to the `.svn` directories and just go with the checkout+update method. |
716021 | How can I downgrade the version of an SVN working copy? | 36 | 2009-04-03 22:59:31 | <p>SVN directories are conveniently easy to move between computers, but this can occasion version mismatches between the working copy and installed svn client resulting in the error </p>
<pre><code>svn: This client is too old to work with working copy '.';
please get a newer Subversion client
</code></pre>
<p>In... | 34,280 | 85,950 | 2012-12-28 17:59:58 | 716,030 | 36 | 2009-04-03 23:02:00 | 85,950 | 2012-01-20 18:10:50 | https://stackoverflow.com/q/716021 | https://stackoverflow.com/a/716030 | <p>Short answer: it's not trivial.</p>
<p>Fortunately, the developers anticipated this problem and deal with it in an FAQ:
<a href="http://subversion.apache.org/faq.html#working-copy-format-change" rel="noreferrer">http://subversion.apache.org/faq.html#working-copy-format-change</a><br>
The upshot being to download an... | <p>Short answer: it's not trivial.</p> <p>Fortunately, the developers anticipated this problem and deal with it in an FAQ: <a href="http://subversion.apache.org/faq.html#working-copy-format-change" rel="noreferrer">http://subversion.apache.org/faq.html#working-copy-format-change</a><br> The upshot being to download an... | 63 | svn | <h1>How can I downgrade the version of an SVN working copy?</h1>
<p>SVN directories are conveniently easy to move between computers, but this can occasion version mismatches between the working copy and installed svn client resulting in the error </p>
<pre><code>svn: This client is too old to work with working copy '... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,271 | svn | # How can I downgrade the version of an SVN working copy?
SVN directories are conveniently easy to move between computers, but this can occasion version mismatches between the working copy and installed svn client resulting in the error
```
svn: This client is too old to work with working copy '.';
please get a n... | Short answer: it's not trivial.
Fortunately, the developers anticipated this problem and deal with it in an FAQ:
<http://subversion.apache.org/faq.html#working-copy-format-change>
The upshot being to download and use their script for the purpose:
<http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/ch... |
1118051 | How do I search all revisions of a file in a SubVersion repository? | 35 | 2009-07-13 07:10:13 | <p>I'd like to <code>grep</code> all revisions of a file for a string. e.g. to find when a function was added or removed.</p>
<p>Is there a "simple" way to do this? (i.e. a single <code>bash</code> command line would be nice.) Doing a manual binary search by checking out revisions and testing individually seems too ... | 12,684 | 3,715 | 2021-09-24 12:41:40 | 1,130,535 | 36 | 2009-07-15 10:12:04 | 6,521 | 2021-09-24 12:41:40 | https://stackoverflow.com/q/1118051 | https://stackoverflow.com/a/1130535 | <p>I wrote a script to do it</p>
<p>TYpical usage:</p>
<pre><code>perl searchrev.pl Import.php setImportStatus
----------------------------------------------------------------------
r19565 | johnf | 2009-06-24 14:33:00 +0100 (Wed, 24 Jun 2009) | 1 line
------------------------------------------------------------------... | <p>I wrote a script to do it</p> <p>TYpical usage:</p> <pre><code>perl searchrev.pl Import.php setImportStatus ---------------------------------------------------------------------- r19565 | johnf | 2009-06-24 14:33:00 +0100 (Wed, 24 Jun 2009) | 1 line ------------------------------------------------------------------... | 63 | svn | <h1>How do I search all revisions of a file in a SubVersion repository?</h1>
<p>I'd like to <code>grep</code> all revisions of a file for a string. e.g. to find when a function was added or removed.</p>
<p>Is there a "simple" way to do this? (i.e. a single <code>bash</code> command line would be nice.) Doing a manua... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,272 | svn | # How do I search all revisions of a file in a SubVersion repository?
I'd like to `grep` all revisions of a file for a string. e.g. to find when a function was added or removed.
Is there a "simple" way to do this? (i.e. a single `bash` command line would be nice.) Doing a manual binary search by checking out revision... | I wrote a script to do it
TYpical usage:
```
perl searchrev.pl Import.php setImportStatus
----------------------------------------------------------------------
r19565 | johnf | 2009-06-24 14:33:00 +0100 (Wed, 24 Jun 2009) | 1 line
----------------------------------------------------------------------
line 60 $this-... |
3776747 | Subversion post-merge tree conflict - "local delete, incoming edit upon merge" | 30 | 2010-09-23 08:56:19 | <p>I did a merge between the trunk and a branch.</p>
<p>On the trunk, there is a folder, let's say templates/Toto.</p>
<p>On the branch, everything but the folder Toto is there (not a local delete, Toto is simply not in the repo).</p>
<p>After I performed the merge (I tried several times), I always end up with a fre... | 39,576 | 277,128 | 2015-03-21 00:11:02 | 3,777,231 | 36 | 2010-09-23 10:02:42 | 426,834 | 2010-09-23 13:02:31 | https://stackoverflow.com/q/3776747 | https://stackoverflow.com/a/3777231 | <p>What version(s) of subversion are you using on the client and server side? Version 1.4.x on the server and 1.6.x on the client may end up in 'tree errors'.</p>
<p>Referring to <a href="https://stackoverflow.com/questions/767763/svn-how-to-resolve-new-tree-conflicts-when-file-is-added-on-two-branches">SVN how to res... | <p>What version(s) of subversion are you using on the client and server side? Version 1.4.x on the server and 1.6.x on the client may end up in 'tree errors'.</p> <p>Referring to <a href="https://stackoverflow.com/questions/767763/svn-how-to-resolve-new-tree-conflicts-when-file-is-added-on-two-branches">SVN how to res... | 63, 717, 3146 | conflict, merge, svn | <h1>Subversion post-merge tree conflict - "local delete, incoming edit upon merge"</h1>
<p>I did a merge between the trunk and a branch.</p>
<p>On the trunk, there is a folder, let's say templates/Toto.</p>
<p>On the branch, everything but the folder Toto is there (not a local delete, Toto is simply not in the repo).... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,273 | svn | # Subversion post-merge tree conflict - "local delete, incoming edit upon merge"
I did a merge between the trunk and a branch.
On the trunk, there is a folder, let's say templates/Toto.
On the branch, everything but the folder Toto is there (not a local delete, Toto is simply not in the repo).
After I performed the... | What version(s) of subversion are you using on the client and server side? Version 1.4.x on the server and 1.6.x on the client may end up in 'tree errors'.
Referring to [SVN how to resolve new tree conflicts when file is added on two branches](https://stackoverflow.com/questions/767763/svn-how-to-resolve-new-tree-conf... |
8685931 | PHP code organization for deployment to our servers | 29 | 2011-12-31 02:39:43 | <p>We just got new servers for our new system and I want to know what I should do to make my new code as efficient as possible, and how to organize it.</p>
<p>I want a good solution so I don't have to reorganize it one year from now on (for example) and I want the best practices and techniques to make sure my code will... | 1,364 | 1,111,919 | 2021-02-07 19:59:06 | 8,686,036 | 36 | 2011-12-31 03:05:18 | 905,093 | 2021-02-07 19:59:06 | https://stackoverflow.com/q/8685931 | https://stackoverflow.com/a/8686036 | <p>You can centralize your code in one common folder (either create a script that copies all the code to the eight servers or use <a href="http://en.wikipedia.org/wiki/Network_File_System_%28protocol%29" rel="nofollow noreferrer">NFS</a>).</p>
<p>This centralized code can be in one or more repositories in your SVN inst... | <p>You can centralize your code in one common folder (either create a script that copies all the code to the eight servers or use <a href="http://en.wikipedia.org/wiki/Network_File_System_%28protocol%29" rel="nofollow noreferrer">NFS</a>).</p> <p>This centralized code can be in one or more repositories in your SVN inst... | 63, 698 | lamp, svn | <h1>PHP code organization for deployment to our servers</h1>
<p>We just got new servers for our new system and I want to know what I should do to make my new code as efficient as possible, and how to organize it.</p>
<p>I want a good solution so I don't have to reorganize it one year from now on (for example) and I wan... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,274 | svn | # PHP code organization for deployment to our servers
We just got new servers for our new system and I want to know what I should do to make my new code as efficient as possible, and how to organize it.
I want a good solution so I don't have to reorganize it one year from now on (for example) and I want the best prac... | You can centralize your code in one common folder (either create a script that copies all the code to the eight servers or use [NFS](http://en.wikipedia.org/wiki/Network_File_System_%28protocol%29)).
This centralized code can be in one or more repositories in your SVN installation. So when you push, you only push what... |
8343020 | how to cancel svn commit when editing the commit-notes (command line client) | 27 | 2011-12-01 14:34:29 | <p>I'm using the command-line SVN client on Linux. I typed <code>svn commit</code> which invoked <code>vim</code> to edit the commit notes. When I looked into the list of modified and added files I decided to cancel the commit. But how can I achieve that? Is it already too late?</p>
| 7,977 | 395,879 | 2019-08-01 09:04:49 | 8,343,067 | 36 | 2011-12-01 14:38:51 | 60,462 | 2019-08-01 09:04:49 | https://stackoverflow.com/q/8343020 | https://stackoverflow.com/a/8343067 | <p>Just <a href="http://svnbook.red-bean.com/en/1.7/svn.tour.cycle.html#svn.tour.cycle.commit" rel="noreferrer">quit the editor without saving</a>, you will be asked to continue or cancel back on the command line.</p>
<p>Like this:</p>
<pre><code>Log message unchanged or not specified
(a)bort, (c)ontinue, (e)dit:
</c... | <p>Just <a href="http://svnbook.red-bean.com/en/1.7/svn.tour.cycle.html#svn.tour.cycle.commit" rel="noreferrer">quit the editor without saving</a>, you will be asked to continue or cancel back on the command line.</p> <p>Like this:</p> <pre><code>Log message unchanged or not specified (a)bort, (c)ontinue, (e)dit: </c... | 63, 5597, 11225, 45796 | command-line-interface, commit, svn, svn-client | <h1>how to cancel svn commit when editing the commit-notes (command line client)</h1>
<p>I'm using the command-line SVN client on Linux. I typed <code>svn commit</code> which invoked <code>vim</code> to edit the commit notes. When I looked into the list of modified and added files I decided to cancel the commit. But ho... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,275 | svn | # how to cancel svn commit when editing the commit-notes (command line client)
I'm using the command-line SVN client on Linux. I typed `svn commit` which invoked `vim` to edit the commit notes. When I looked into the list of modified and added files I decided to cancel the commit. But how can I achieve that? Is it alr... | Just [quit the editor without saving](http://svnbook.red-bean.com/en/1.7/svn.tour.cycle.html#svn.tour.cycle.commit), you will be asked to continue or cancel back on the command line.
Like this:
```
Log message unchanged or not specified
(a)bort, (c)ontinue, (e)dit:
```
If you've already saved the message, overwrite ... |
5825889 | SVN remove files from the to-be-committed list | 20 | 2011-04-28 22:46:15 | <p>I had set up ignore rules on my bin / object folders for my project. I then tried to do an add on all the other files with svn add * . It seemed as if the ignore only applies to the svn status command so all my bin and object folder contents showed up. Now I have not done a commit on the list, but when I do an sv... | 26,004 | 688,128 | 2011-04-29 00:38:11 | 5,825,905 | 36 | 2011-04-28 22:47:46 | 187,492 | 2011-04-28 23:02:34 | https://stackoverflow.com/q/5825889 | https://stackoverflow.com/a/5825905 | <pre><code>svn revert bin
</code></pre>
<p>Would remove the bin directory from being added at the next commit.</p>
<p>Or if you would like to recursively revert (sometimes useful)</p>
<pre><code>svn revert -R bin
</code></pre>
| <pre><code>svn revert bin </code></pre> <p>Would remove the bin directory from being added at the next commit.</p> <p>Or if you would like to recursively revert (sometimes useful)</p> <pre><code>svn revert -R bin </code></pre> | 63, 5597 | commit, svn | <h1>SVN remove files from the to-be-committed list</h1>
<p>I had set up ignore rules on my bin / object folders for my project. I then tried to do an add on all the other files with svn add * . It seemed as if the ignore only applies to the svn status command so all my bin and object folder contents showed up. Now I... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,278 | svn | # SVN remove files from the to-be-committed list
I had set up ignore rules on my bin / object folders for my project. I then tried to do an add on all the other files with svn add * . It seemed as if the ignore only applies to the svn status command so all my bin and object folder contents showed up. Now I have not do... | ```
svn revert bin
```
Would remove the bin directory from being added at the next commit.
Or if you would like to recursively revert (sometimes useful)
```
svn revert -R bin
``` |
2579483 | Get recursive list of svn:ignore'd files | 20 | 2010-04-05 16:19:25 | <p>I have an existing project repo which I use for project A, and has some files and directories excluded from it using svn:ignore. I want to start another project (project B), in a new repo, with approximately the same files ignored in it.</p>
<p>How can I get a list of all files in the repo with svn:ignore set on th... | 12,717 | 226,431 | 2013-05-30 10:18:04 | 2,579,871 | 36 | 2010-04-05 17:31:52 | 172,599 | 2010-04-05 17:31:52 | https://stackoverflow.com/q/2579483 | https://stackoverflow.com/a/2579871 | <pre><code>svn propget -R svn:ignore
</code></pre>
<p>Output looks like:</p>
<pre><code>path/to/dir1 - *.exe
*~
path/to/dir2 - #*
path/to/dir3 - ...etc...
</code></pre>
| <pre><code>svn propget -R svn:ignore </code></pre> <p>Output looks like:</p> <pre><code>path/to/dir1 - *.exe *~ path/to/dir2 - #* path/to/dir3 - ...etc... </code></pre> | 63, 549 | svn, ubuntu | <h1>Get recursive list of svn:ignore'd files</h1>
<p>I have an existing project repo which I use for project A, and has some files and directories excluded from it using svn:ignore. I want to start another project (project B), in a new repo, with approximately the same files ignored in it.</p>
<p>How can I get a list ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,279 | svn | # Get recursive list of svn:ignore'd files
I have an existing project repo which I use for project A, and has some files and directories excluded from it using svn:ignore. I want to start another project (project B), in a new repo, with approximately the same files ignored in it.
How can I get a list of all files in ... | ```
svn propget -R svn:ignore
```
Output looks like:
```
path/to/dir1 - *.exe
*~
path/to/dir2 - #*
path/to/dir3 - ...etc...
``` |
8180247 | Ignoring directory when doing a SVN commit in Eclipse | 19 | 2011-11-18 09:26:34 | <p>I am currently using Eclipse (Indigo Service Release 1) for Android development. When I do try to "commit" changes which I make to a specific project, I am prompted to commit all the files under "bin" directory. </p>
<p>I do not want to commit it and a simpler solution is to un-check them all every time I commit. H... | 25,500 | 806,721 | 2019-10-03 10:32:32 | 8,180,337 | 36 | 2011-11-18 09:33:22 | 573,057 | 2011-11-20 16:38:14 | https://stackoverflow.com/q/8180247 | https://stackoverflow.com/a/8180337 | <p>You need to set the svn:ignore property.</p>
<p>From within Eclipse this is best achieved by right clicking on the <code>bin</code> directory (in Package Explorer/Navigator). Then select Team -> Add to svn:ignore and in the subsequent dialog select "Resource(s) by name".</p>
<p>When you next commit the project th... | <p>You need to set the svn:ignore property.</p> <p>From within Eclipse this is best achieved by right clicking on the <code>bin</code> directory (in Package Explorer/Navigator). Then select Team -> Add to svn:ignore and in the subsequent dialog select "Resource(s) by name".</p> <p>When you next commit the project th... | 53, 63 | eclipse, svn | <h1>Ignoring directory when doing a SVN commit in Eclipse</h1>
<p>I am currently using Eclipse (Indigo Service Release 1) for Android development. When I do try to "commit" changes which I make to a specific project, I am prompted to commit all the files under "bin" directory. </p>
<p>I do not want to commit it and a ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,280 | svn | # Ignoring directory when doing a SVN commit in Eclipse
I am currently using Eclipse (Indigo Service Release 1) for Android development. When I do try to "commit" changes which I make to a specific project, I am prompted to commit all the files under "bin" directory.
I do not want to commit it and a simpler solution ... | You need to set the svn:ignore property.
From within Eclipse this is best achieved by right clicking on the `bin` directory (in Package Explorer/Navigator). Then select Team -> Add to svn:ignore and in the subsequent dialog select "Resource(s) by name".
When you next commit the project the newly set svn:ignore proper... |
16864426 | subversion (svn) E205007 (commit failed). could not use external editor to fetch log message | 15 | 2013-05-31 19:22:20 | <p>In Cygwin, in the directory containing <code>filename.xml</code>, this adds a file (working):</p>
<pre><code>svn add filename.xml
</code></pre>
<p>this updates (working):</p>
<pre><code>svn update
</code></pre>
<p>But this fails:</p>
<pre><code>svn ci filename.xml
</code></pre>
<p>with the message:</p>
<blockquote>
... | 24,490 | 2,352,173 | 2020-09-14 10:29:43 | 16,864,487 | 36 | 2013-05-31 19:26:49 | 1,388,603 | 2013-05-31 19:26:49 | https://stackoverflow.com/q/16864426 | https://stackoverflow.com/a/16864487 | <p>You need to include a message when you commit. Use the command <code>svn ci filename.xml -m "your message here"</code>. The message is a descriptor of what you are adding, and/or why you are adding it.</p>
| <p>You need to include a message when you commit. Use the command <code>svn ci filename.xml -m "your message here"</code>. The message is a descriptor of what you are adding, and/or why you are adding it.</p> | 63, 656, 1731 | cygwin, svn, tortoisesvn | <h1>subversion (svn) E205007 (commit failed). could not use external editor to fetch log message</h1>
<p>In Cygwin, in the directory containing <code>filename.xml</code>, this adds a file (working):</p>
<pre><code>svn add filename.xml
</code></pre>
<p>this updates (working):</p>
<pre><code>svn update
</code></pre>
<p>B... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,281 | svn | # subversion (svn) E205007 (commit failed). could not use external editor to fetch log message
In Cygwin, in the directory containing `filename.xml`, this adds a file (working):
```
svn add filename.xml
```
this updates (working):
```
svn update
```
But this fails:
```
svn ci filename.xml
```
with the message:
... | You need to include a message when you commit. Use the command `svn ci filename.xml -m "your message here"`. The message is a descriptor of what you are adding, and/or why you are adding it. |
1327159 | Adding all files under a folder that have not been added in subversion? | 15 | 2009-08-25 09:39:26 | <p>I have a folder, called "files". It's already in the repository. Now, new files are constantly added to this folder and it's subfolder. What command can I type to add all the files that have not yet been added. This does NOT work:</p>
<pre><code>svn add files
</code></pre>
<p>It says </p>
<blockquote>
<p>svn: w... | 28,660 | 146,366 | 2018-09-12 07:12:18 | 1,327,176 | 36 | 2009-08-25 09:42:19 | 48,382 | 2016-06-12 18:53:05 | https://stackoverflow.com/q/1327159 | https://stackoverflow.com/a/1327176 | <pre><code>svn add files/*
</code></pre>
<p>or:</p>
<pre><code>svn add --force files
</code></pre>
<p>(taken from <a href="http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.add.html" rel="noreferrer">SVN book</a>)</p>
| <pre><code>svn add files/* </code></pre> <p>or:</p> <pre><code>svn add --force files </code></pre> <p>(taken from <a href="http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.add.html" rel="noreferrer">SVN book</a>)</p> | 63 | svn | <h1>Adding all files under a folder that have not been added in subversion?</h1>
<p>I have a folder, called "files". It's already in the repository. Now, new files are constantly added to this folder and it's subfolder. What command can I type to add all the files that have not yet been added. This does NOT work:</p>
... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,282 | svn | # Adding all files under a folder that have not been added in subversion?
I have a folder, called "files". It's already in the repository. Now, new files are constantly added to this folder and it's subfolder. What command can I type to add all the files that have not yet been added. This does NOT work:
```
svn add f... | ```
svn add files/*
```
or:
```
svn add --force files
```
(taken from [SVN book](http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.add.html)) |
31847379 | Update to a particular revision in SVN? | 14 | 2015-08-06 05:19:30 | <p>I performed an <code>svn co -r XXX ...</code>. I deleted a file and then [accidentally] performed <code>svn up</code>. That updated to HEAD, so I lost my changes at XXX.</p>
<p>Is it possible to perform an update against a particular revision? If so, how?</p>
<p>Related, it is possible to undo the update to HEAD s... | 30,966 | 608,639 | 2015-12-03 10:44:09 | 31,853,567 | 36 | 2015-08-06 10:37:07 | 4,314,542 | 2015-08-06 10:37:07 | https://stackoverflow.com/q/31847379 | https://stackoverflow.com/a/31853567 | <p>Use <code>svn update -r <old revision number></code></p>
| <p>Use <code>svn update -r <old revision number></code></p> | 63, 31130 | svn, svn-update | <h1>Update to a particular revision in SVN?</h1>
<p>I performed an <code>svn co -r XXX ...</code>. I deleted a file and then [accidentally] performed <code>svn up</code>. That updated to HEAD, so I lost my changes at XXX.</p>
<p>Is it possible to perform an update against a particular revision? If so, how?</p>
<p>Rel... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,283 | svn | # Update to a particular revision in SVN?
I performed an `svn co -r XXX ...`. I deleted a file and then [accidentally] performed `svn up`. That updated to HEAD, so I lost my changes at XXX.
Is it possible to perform an update against a particular revision? If so, how?
Related, it is possible to undo the update to HE... | Use `svn update -r <old revision number>` |
239340 | Automatically remove Subversion unversioned files | 118 | 2008-10-27 08:39:35 | <p>Does anybody know a way to recursively remove all files in a working copy that are not under version control? (I need this to get more reliable results in my automatic build VMware.)</p>
| 62,030 | 6,358 | 2018-11-27 10:54:28 | 239,351 | 35 | 2008-10-27 08:46:27 | 4,059 | 2018-11-27 10:54:28 | https://stackoverflow.com/q/239340 | https://stackoverflow.com/a/239351 | <p>Edit:</p>
<p>Subversion 1.9.0 introduced an option to do this:</p>
<pre><code>svn cleanup --remove-unversioned
</code></pre>
<p>Before that, I use this python script to do that:</p>
<pre class="lang-py prettyprint-override"><code>import os
import re
def removeall(path):
if not os.path.isdir(path):
o... | <p>Edit:</p> <p>Subversion 1.9.0 introduced an option to do this:</p> <pre><code>svn cleanup --remove-unversioned </code></pre> <p>Before that, I use this python script to do that:</p> <pre class="lang-py prettyprint-override"><code>import os import re def removeall(path): if not os.path.isdir(path): o... | 63, 487 | build-automation, svn | <h1>Automatically remove Subversion unversioned files</h1>
<p>Does anybody know a way to recursively remove all files in a working copy that are not under version control? (I need this to get more reliable results in my automatic build VMware.)</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,284 | svn | # Automatically remove Subversion unversioned files
Does anybody know a way to recursively remove all files in a working copy that are not under version control? (I need this to get more reliable results in my automatic build VMware.) | Edit:
Subversion 1.9.0 introduced an option to do this:
```
svn cleanup --remove-unversioned
```
Before that, I use this python script to do that:
```
import os
import re
def removeall(path):
if not os.path.isdir(path):
os.remove(path)
return
files=os.listdir(path)
for x in files:
... |
1464813 | See last changes in svn | 73 | 2009-09-23 08:56:14 | <p>I paused development on a project before going on holidays. Now after a few weeks I'd like to know what were the last things in source I was working on?</p>
<p>Is there a chance to see e.g. in WebSVN the last changes in the whole repository?</p>
| 142,997 | 154,011 | 2023-10-13 20:02:14 | 1,464,860 | 35 | 2009-09-23 09:07:27 | 176,180 | 2013-03-29 11:17:45 | https://stackoverflow.com/q/1464813 | https://stackoverflow.com/a/1464860 | <p>If you have not yet commit you last changes before vacation.
- Command line to the project folder.
- Type '<code>svn diff</code>'</p>
<p>If you already commit you last changes before vacation.</p>
<ul>
<li>Browse to your project.</li>
<li>Find a link "View log". Click it.</li>
<li>Select top two revision and Click... | <p>If you have not yet commit you last changes before vacation. - Command line to the project folder. - Type '<code>svn diff</code>'</p> <p>If you already commit you last changes before vacation.</p> <ul> <li>Browse to your project.</li> <li>Find a link "View log". Click it.</li> <li>Select top two revision and Click... | 63 | svn | <h1>See last changes in svn</h1>
<p>I paused development on a project before going on holidays. Now after a few weeks I'd like to know what were the last things in source I was working on?</p>
<p>Is there a chance to see e.g. in WebSVN the last changes in the whole repository?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,286 | svn | # See last changes in svn
I paused development on a project before going on holidays. Now after a few weeks I'd like to know what were the last things in source I was working on?
Is there a chance to see e.g. in WebSVN the last changes in the whole repository? | If you have not yet commit you last changes before vacation.
- Command line to the project folder.
- Type '`svn diff`'
If you already commit you last changes before vacation.
- Browse to your project.
- Find a link "View log". Click it.
- Select top two revision and Click "Compare Revisions" button in the bottom.
T... |
11823826 | Get access to Build Changelog in Jenkins | 39 | 2012-08-06 07:04:05 | <p>I've been pulling my hair out trying to find a way to include the list of changes generated by Jenkins (from the SVN pull) into our Testflight notes. I'm using the Testflight Plugin, which has a field for notes - but there doesn't seem to be any paramater/token that jenkins creates to embed that information.</p>
<p... | 46,060 | 1,578,477 | 2016-04-06 21:02:45 | 11,837,662 | 35 | 2012-08-07 00:12:18 | 234,938 | 2012-08-07 00:12:18 | https://stackoverflow.com/q/11823826 | https://stackoverflow.com/a/11837662 | <p>It looks like the TestFlight Plugin expands variables placed into the "Build Notes" field, so the question is: how can we get the changes for the current build into an environment variable?</p>
<p>As far as I'm aware, the Subversion plugin doesn't provide this information via an environment variable. However, all ... | <p>It looks like the TestFlight Plugin expands variables placed into the "Build Notes" field, so the question is: how can we get the changes for the current build into an environment variable?</p> <p>As far as I'm aware, the Subversion plugin doesn't provide this information via an environment variable. However, all ... | 63, 64999, 70528 | jenkins, svn, testflight | <h1>Get access to Build Changelog in Jenkins</h1>
<p>I've been pulling my hair out trying to find a way to include the list of changes generated by Jenkins (from the SVN pull) into our Testflight notes. I'm using the Testflight Plugin, which has a field for notes - but there doesn't seem to be any paramater/token that ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,288 | svn | # Get access to Build Changelog in Jenkins
I've been pulling my hair out trying to find a way to include the list of changes generated by Jenkins (from the SVN pull) into our Testflight notes. I'm using the Testflight Plugin, which has a field for notes - but there doesn't seem to be any paramater/token that jenkins c... | It looks like the TestFlight Plugin expands variables placed into the "Build Notes" field, so the question is: how can we get the changes for the current build into an environment variable?
As far as I'm aware, the Subversion plugin doesn't provide this information via an environment variable. However, all Jenkins SCM... |
16940934 | Which files should I add to SVN ignore for an Android Studio project? | 38 | 2013-06-05 13:14:40 | <p>In Eclipse, I had the custom of adding bin and gen directories to SVN ignore. But now, using Android Studio (based on IntelliJ IDEA), which files should I ignore?</p>
| 35,505 | 1,754,745 | 2019-11-29 14:29:52 | 16,941,872 | 35 | 2013-06-05 13:55:53 | 343,810 | 2015-06-10 09:00:31 | https://stackoverflow.com/q/16940934 | https://stackoverflow.com/a/16941872 | <p>I added the following items in my <code>.gitignore</code>, it should be the same for SVN:</p>
<ul>
<li>gradle</li>
<li>.idea</li>
<li>*.iml</li>
<li>build</li>
<li>.DS_Store (for mac only)</li>
</ul>
| <p>I added the following items in my <code>.gitignore</code>, it should be the same for SVN:</p> <ul> <li>gradle</li> <li>.idea</li> <li>*.iml</li> <li>build</li> <li>.DS_Store (for mac only)</li> </ul> | 63, 110, 1386, 8945, 91905 | android, android-studio, ide, intellij-idea, svn | <h1>Which files should I add to SVN ignore for an Android Studio project?</h1>
<p>In Eclipse, I had the custom of adding bin and gen directories to SVN ignore. But now, using Android Studio (based on IntelliJ IDEA), which files should I ignore?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,289 | svn | # Which files should I add to SVN ignore for an Android Studio project?
In Eclipse, I had the custom of adding bin and gen directories to SVN ignore. But now, using Android Studio (based on IntelliJ IDEA), which files should I ignore? | I added the following items in my `.gitignore`, it should be the same for SVN:
- gradle
- .idea
- *.iml
- build
- .DS_Store (for mac only) |
2753789 | Is there a clean way to move / to /trunk? | 38 | 2010-05-02 14:41:38 | <p>I made the mistake of creating a Subversion repository without the usual <code>trunk</code>, <code>branches</code>, and <code>tags</code> directories. That is, the root directory of the project maps to the root directory of the repository. Now I want to create a feature branch, but there's no good place to put it. W... | 14,187 | 40,356 | 2013-08-13 15:29:21 | 2,753,812 | 35 | 2010-05-02 14:50:34 | 8,331 | 2010-05-02 23:30:25 | https://stackoverflow.com/q/2753789 | https://stackoverflow.com/a/2753812 | <p>The clean way to do this is using <a href="http://svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.1.2" rel="noreferrer"><code>svnadmin</code></a> to dump out the whole repository using </p>
<pre><code>svnadmin dump
</code></pre>
<p>Then create a new repository with the trunk directory at the root, and rel... | <p>The clean way to do this is using <a href="http://svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.1.2" rel="noreferrer"><code>svnadmin</code></a> to dump out the whole repository using </p> <pre><code>svnadmin dump </code></pre> <p>Then create a new repository with the trunk directory at the root, and rel... | 63 | svn | <h1>Is there a clean way to move / to /trunk?</h1>
<p>I made the mistake of creating a Subversion repository without the usual <code>trunk</code>, <code>branches</code>, and <code>tags</code> directories. That is, the root directory of the project maps to the root directory of the repository. Now I want to create a fea... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,291 | svn | # Is there a clean way to move / to /trunk?
I made the mistake of creating a Subversion repository without the usual `trunk`, `branches`, and `tags` directories. That is, the root directory of the project maps to the root directory of the repository. Now I want to create a feature branch, but there's no good place to ... | The clean way to do this is using [`svnadmin`](http://svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.1.2) to dump out the whole repository using
```
svnadmin dump
```
Then create a new repository with the trunk directory at the root, and reload the dump with
[`svnadmin load --parent-dir trunk`](http://svnb... |
4656637 | What does "replacing" mean in Tortoise SVN changelog? | 30 | 2011-01-11 10:31:30 | <p>Once in a while I see that a file is listed in a commit in Tortose SVN changelog and the "action" column reads "replacing".</p>
<p>What does that mean? How is that different from "modified"?</p>
| 15,707 | 57,428 | 2022-04-20 12:14:05 | 4,656,840 | 35 | 2011-01-11 10:56:33 | 254,643 | 2016-02-15 10:07:59 | https://stackoverflow.com/q/4656637 | https://stackoverflow.com/a/4656840 | <p>From the <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.status.html" rel="noreferrer">svnbook</a>, replacing is different from modified in the following way.</p>
<pre><code>Item has been replaced in your working copy. This means the file was scheduled
for deletion, and then a new file with the same name... | <p>From the <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.status.html" rel="noreferrer">svnbook</a>, replacing is different from modified in the following way.</p> <pre><code>Item has been replaced in your working copy. This means the file was scheduled for deletion, and then a new file with the same name... | 63, 456, 656 | svn, tortoisesvn, version-control | <h1>What does "replacing" mean in Tortoise SVN changelog?</h1>
<p>Once in a while I see that a file is listed in a commit in Tortose SVN changelog and the "action" column reads "replacing".</p>
<p>What does that mean? How is that different from "modified"?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,292 | svn | # What does "replacing" mean in Tortoise SVN changelog?
Once in a while I see that a file is listed in a commit in Tortose SVN changelog and the "action" column reads "replacing".
What does that mean? How is that different from "modified"? | From the [svnbook](http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.status.html), replacing is different from modified in the following way.
```
Item has been replaced in your working copy. This means the file was scheduled
for deletion, and then a new file with the same name was scheduled for addition
in its place.... |
6310539 | Where is the Subversion global config file for the Slik SVN client for Windows? | 25 | 2011-06-10 18:24:58 | <p>Does anyone know where the SVN global config file is for the Slik SVN client for Windows? Specifically 64 bit?</p>
| 24,642 | 377,269 | 2016-10-06 15:40:16 | 6,310,641 | 35 | 2011-06-10 18:36:01 | 273,648 | 2011-06-10 18:36:01 | https://stackoverflow.com/q/6310539 | https://stackoverflow.com/a/6310641 | <p>Mine is located here (Windows 7 64-bit):</p>
<pre><code>%USERPROFILE%\AppData\Roaming\Subversion\config
</code></pre>
| <p>Mine is located here (Windows 7 64-bit):</p> <pre><code>%USERPROFILE%\AppData\Roaming\Subversion\config </code></pre> | 63, 64, 66837 | slik, svn, windows | <h1>Where is the Subversion global config file for the Slik SVN client for Windows?</h1>
<p>Does anyone know where the SVN global config file is for the Slik SVN client for Windows? Specifically 64 bit?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,294 | svn | # Where is the Subversion global config file for the Slik SVN client for Windows?
Does anyone know where the SVN global config file is for the Slik SVN client for Windows? Specifically 64 bit? | Mine is located here (Windows 7 64-bit):
```
%USERPROFILE%\AppData\Roaming\Subversion\config
``` |
300911 | View Content of Deleted File Svn | 21 | 2008-11-19 03:27:31 | <p>For a deleted file what's the command to use to view the content of a old revision</p>
<pre><code>E:\Downloads\eeli\eel\eel>svn cat eel-scalable-font.h -r 2
svn: warning: 'eel-scalable-font.h' is not under version control
</code></pre>
| 5,466 | 30,546 | 2008-11-19 04:36:48 | 301,001 | 35 | 2008-11-19 04:36:48 | 19,405 | 2008-11-19 04:36:48 | https://stackoverflow.com/q/300911 | https://stackoverflow.com/a/301001 | <p>You need to use a repository URL (not working copy), and use the @rev syntax. Something like:</p>
<pre><code>svn cat https://myhost/svn/eeli/eel/eel/eel-scalable-font.h@2
</code></pre>
| <p>You need to use a repository URL (not working copy), and use the @rev syntax. Something like:</p> <pre><code>svn cat https://myhost/svn/eeli/eel/eel/eel-scalable-font.h@2 </code></pre> | 63, 1231 | command-line, svn | <h1>View Content of Deleted File Svn</h1>
<p>For a deleted file what's the command to use to view the content of a old revision</p>
<pre><code>E:\Downloads\eeli\eel\eel>svn cat eel-scalable-font.h -r 2
svn: warning: 'eel-scalable-font.h' is not under version control
</code></pre>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,296 | svn | # View Content of Deleted File Svn
For a deleted file what's the command to use to view the content of a old revision
```
E:\Downloads\eeli\eel\eel>svn cat eel-scalable-font.h -r 2
svn: warning: 'eel-scalable-font.h' is not under version control
``` | You need to use a repository URL (not working copy), and use the @rev syntax. Something like:
```
svn cat https://myhost/svn/eeli/eel/eel/eel-scalable-font.h@2
``` |
21098595 | Tortoise SVN merge two branches | 19 | 2014-01-13 18:25:08 | <p>i'm trying to merge two branches with tortoise SVN.
Both branches have been changed since they diverged.
If i merge them, only the changes of one of them obtain and those of the other will be overwritten.
But i want the latest change of every file (We have not been working in the same files).</p>
<p>I tried the opt... | 52,456 | 3,191,331 | 2020-10-09 18:23:35 | 21,111,913 | 35 | 2014-01-14 11:03:02 | 2,619,004 | 2019-08-16 13:51:56 | https://stackoverflow.com/q/21098595 | https://stackoverflow.com/a/21111913 | <p>In the <code>From URL</code> option, you should specify the branch to which you want to merge. </p>
<p>For example, assume that there are 2 branches, branch <code>A</code> and branch <code>B</code>, and you want to merge branch <code>B</code> to branch <code>A</code>.</p>
<ul>
<li>In TortoiseSVN, click on <code>M... | <p>In the <code>From URL</code> option, you should specify the branch to which you want to merge. </p> <p>For example, assume that there are 2 branches, branch <code>A</code> and branch <code>B</code>, and you want to merge branch <code>B</code> to branch <code>A</code>.</p> <ul> <li>In TortoiseSVN, click on <code>M... | 63, 656, 717, 1879 | branch, merge, svn, tortoisesvn | <h1>Tortoise SVN merge two branches</h1>
<p>i'm trying to merge two branches with tortoise SVN.
Both branches have been changed since they diverged.
If i merge them, only the changes of one of them obtain and those of the other will be overwritten.
But i want the latest change of every file (We have not been working in... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,297 | svn | # Tortoise SVN merge two branches
i'm trying to merge two branches with tortoise SVN.
Both branches have been changed since they diverged.
If i merge them, only the changes of one of them obtain and those of the other will be overwritten.
But i want the latest change of every file (We have not been working in the same... | In the `From URL` option, you should specify the branch to which you want to merge.
For example, assume that there are 2 branches, branch `A` and branch `B`, and you want to merge branch `B` to branch `A`.
- In TortoiseSVN, click on `Merge` option and then select `Merge two
different trees` option.
- In the `From U... |
192810 | SVN checkout filtered by file extension? | 16 | 2008-10-10 19:49:27 | <p>I have a home-grown automated build script in the form of a DOS batch file. In part of that script, I check out (with "svn checkout") a section of our SVN repository that includes a bunch of third-party stuff that's used in our projects. This batch file performed pretty well for a long time, but now people have ch... | 19,626 | 404 | 2018-11-12 05:58:23 | 2,023,917 | 35 | 2010-01-07 21:47:48 | 189,919 | 2016-07-22 14:26:58 | https://stackoverflow.com/q/192810 | https://stackoverflow.com/a/2023917 | <p>This is possible: you can <code>svn checkout</code> an empty directory, and then <code>svn update filename</code> for each file that you <em>do</em> want.</p>
<p>Your script can do something like:</p>
<ol>
<li><code>svn checkout svn://path/to/repos/directory --depth empty</code></li>
<li><code>svn list --recursive... | <p>This is possible: you can <code>svn checkout</code> an empty directory, and then <code>svn update filename</code> for each file that you <em>do</em> want.</p> <p>Your script can do something like:</p> <ol> <li><code>svn checkout svn://path/to/repos/directory --depth empty</code></li> <li><code>svn list --recursive... | 63, 65722 | svn, svn-checkout | <h1>SVN checkout filtered by file extension?</h1>
<p>I have a home-grown automated build script in the form of a DOS batch file. In part of that script, I check out (with "svn checkout") a section of our SVN repository that includes a bunch of third-party stuff that's used in our projects. This batch file performed p... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,299 | svn | # SVN checkout filtered by file extension?
I have a home-grown automated build script in the form of a DOS batch file. In part of that script, I check out (with "svn checkout") a section of our SVN repository that includes a bunch of third-party stuff that's used in our projects. This batch file performed pretty well ... | This is possible: you can `svn checkout` an empty directory, and then `svn update filename` for each file that you *do* want.
Your script can do something like:
1. `svn checkout svn://path/to/repos/directory --depth empty`
2. `svn list --recursive svn://path/to/repos/directory`
3. Pipe that result through a filter th... |
1765232 | Subclipse can't rename file (OS X) | 13 | 2009-11-19 17:52:36 | <p>I can't perform any Subversion operations on my Eclipse project as Subclipse can't rename a file. The error is:</p>
<pre><code>Caused by: org.tigris.subversion.javahl.ClientException: svn: Cannot rename file '/Users/damianharvey/Sites/Odyssey3.5/OdysseyEDIJAXB/src/com/locuslive/edi/edifact/d95b/coreor/.svn/tmp/entr... | 6,363 | 2,955 | 2011-03-13 21:09:12 | 1,765,287 | 35 | 2009-11-19 18:01:24 | 2,955 | 2009-11-19 18:01:24 | https://stackoverflow.com/q/1765232 | https://stackoverflow.com/a/1765287 | <p>No worries. Aunty Google found it for me</p>
<pre><code>chflags -R nouchg .
</code></pre>
<p>From the <a href="http://markphip.blogspot.com/2007/02/subclipse-120-released.html" rel="noreferrer">comments here</a>:</p>
<blockquote>
<p>If you're changing workspaces on OS X
and you import an SVN-based project
i... | <p>No worries. Aunty Google found it for me</p> <pre><code>chflags -R nouchg . </code></pre> <p>From the <a href="http://markphip.blogspot.com/2007/02/subclipse-120-released.html" rel="noreferrer">comments here</a>:</p> <blockquote> <p>If you're changing workspaces on OS X and you import an SVN-based project i... | 17, 53, 55, 63 | eclipse, java, subclipse, svn | <h1>Subclipse can't rename file (OS X)</h1>
<p>I can't perform any Subversion operations on my Eclipse project as Subclipse can't rename a file. The error is:</p>
<pre><code>Caused by: org.tigris.subversion.javahl.ClientException: svn: Cannot rename file '/Users/damianharvey/Sites/Odyssey3.5/OdysseyEDIJAXB/src/com/loc... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,300 | svn | # Subclipse can't rename file (OS X)
I can't perform any Subversion operations on my Eclipse project as Subclipse can't rename a file. The error is:
```
Caused by: org.tigris.subversion.javahl.ClientException: svn: Cannot rename file '/Users/damianharvey/Sites/Odyssey3.5/OdysseyEDIJAXB/src/com/locuslive/edi/edifact/d... | No worries. Aunty Google found it for me
```
chflags -R nouchg .
```
From the [comments here](http://markphip.blogspot.com/2007/02/subclipse-120-released.html):
> If you're changing workspaces on OS X
> and you import an SVN-based project
> into your new workspace, some of your
> files may have the uchg flag set.
> ... |
2120844 | How do I add all new files to SVN | 78 | 2010-01-22 21:57:15 | <p>I am using an ORM which generates large amounts of files from a CLI. Is there an easy way to run the <code>svn add</code> on all files within a directory which appear as <code>?</code> when I run <code>svn status</code>?</p>
<p><strong>Edit</strong> These files exist in a directory tree so adding <code>*</code> f... | 130,290 | 257,136 | 2020-06-16 00:05:57 | 2,120,849 | 34 | 2010-01-22 21:58:32 | 215,966 | 2010-01-22 22:09:59 | https://stackoverflow.com/q/2120844 | https://stackoverflow.com/a/2120849 | <p>you can just do an <code>svn add path/to/dir/*</code> you'll get warning about anything already in version control but it will add everything that isn't.</p>
| <p>you can just do an <code>svn add path/to/dir/*</code> you'll get warning about anything already in version control but it will add everything that isn't.</p> | 63 | svn | <h1>How do I add all new files to SVN</h1>
<p>I am using an ORM which generates large amounts of files from a CLI. Is there an easy way to run the <code>svn add</code> on all files within a directory which appear as <code>?</code> when I run <code>svn status</code>?</p>
<p><strong>Edit</strong> These files exist in ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,301 | svn | # How do I add all new files to SVN
I am using an ORM which generates large amounts of files from a CLI. Is there an easy way to run the `svn add` on all files within a directory which appear as `?` when I run `svn status`?
**Edit** These files exist in a directory tree so adding `*` for one directory will not work. | you can just do an `svn add path/to/dir/*` you'll get warning about anything already in version control but it will add everything that isn't. |
6506653 | Change SVN message editor | 55 | 2011-06-28 12:48:36 | <p>So my co-worker felt it necessary to go onto my development box and do some code changes, then submit his work to subversion. I never set the commit message editor, and all of a sudden, one day I forgot to add the <code>-m</code> handle and apparently he set the default editor to <code>emacs</code>.</p>
<p>Being t... | 48,715 | 740,318 | 2020-07-04 18:45:34 | 6,506,711 | 34 | 2011-06-28 12:52:38 | 469,210 | 2011-06-28 12:52:38 | https://stackoverflow.com/q/6506653 | https://stackoverflow.com/a/6506711 | <p>Update your <code>SVN_EDITOR</code> environment variable. You can try</p>
<pre><code>echo $SVN_EDITOR
</code></pre>
<p>to see if this is set to something else in your shell - in which case you might want to take a look at your <code>.bashrc</code> (or similar) file.</p>
| <p>Update your <code>SVN_EDITOR</code> environment variable. You can try</p> <pre><code>echo $SVN_EDITOR </code></pre> <p>to see if this is set to something else in your shell - in which case you might want to take a look at your <code>.bashrc</code> (or similar) file.</p> | 63 | svn | <h1>Change SVN message editor</h1>
<p>So my co-worker felt it necessary to go onto my development box and do some code changes, then submit his work to subversion. I never set the commit message editor, and all of a sudden, one day I forgot to add the <code>-m</code> handle and apparently he set the default editor to ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,302 | svn | # Change SVN message editor
So my co-worker felt it necessary to go onto my development box and do some code changes, then submit his work to subversion. I never set the commit message editor, and all of a sudden, one day I forgot to add the `-m` handle and apparently he set the default editor to `emacs`.
Being that ... | Update your `SVN_EDITOR` environment variable. You can try
```
echo $SVN_EDITOR
```
to see if this is set to something else in your shell - in which case you might want to take a look at your `.bashrc` (or similar) file. |
284950 | What is the best way to see what files are locked in Subversion? | 40 | 2008-11-12 18:53:51 | <p>I finally got my group to switch from SourceSafe to Subversion. Unfortunately, my manager still wants to use exclusive locks on every single file. So I set the svn:needs-lock property on every file and created a pre-commit hook to make sure the property stays set.</p>
<p>We are running Subversion on a Linux serve... | 39,139 | 37,036 | 2017-01-04 13:57:45 | 284,966 | 34 | 2008-11-12 19:00:18 | 893 | 2016-04-26 15:15:44 | https://stackoverflow.com/q/284950 | https://stackoverflow.com/a/284966 | <p>What you're looking for is the <a href="http://svnbook.red-bean.com/en/1.8/svn.ref.svnadmin.c.lslocks.html" rel="noreferrer"><code>svnadmin lslocks</code></a> command.</p>
<p>I have this set up at work because we keep some Word documents in our Subversion repository (with <code>svn:needs-lock</code>). I have a cron... | <p>What you're looking for is the <a href="http://svnbook.red-bean.com/en/1.8/svn.ref.svnadmin.c.lslocks.html" rel="noreferrer"><code>svnadmin lslocks</code></a> command.</p> <p>I have this set up at work because we keep some Word documents in our Subversion repository (with <code>svn:needs-lock</code>). I have a cron... | 63, 1895 | administration, svn | <h1>What is the best way to see what files are locked in Subversion?</h1>
<p>I finally got my group to switch from SourceSafe to Subversion. Unfortunately, my manager still wants to use exclusive locks on every single file. So I set the svn:needs-lock property on every file and created a pre-commit hook to make sure ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,305 | svn | # What is the best way to see what files are locked in Subversion?
I finally got my group to switch from SourceSafe to Subversion. Unfortunately, my manager still wants to use exclusive locks on every single file. So I set the svn:needs-lock property on every file and created a pre-commit hook to make sure the propert... | What you're looking for is the [`svnadmin lslocks`](http://svnbook.red-bean.com/en/1.8/svn.ref.svnadmin.c.lslocks.html) command.
I have this set up at work because we keep some Word documents in our Subversion repository (with `svn:needs-lock`). I have a cron job set up that every day, checks the list of locks and ema... |
11810858 | How to create SVN repository on server? | 29 | 2012-08-04 18:04:01 | <p>How to create SVN repository on server? Although i have found various articles on this but still facing issues while creating repository on my website. Right now i am using <a href="http://www.assembla.com" rel="noreferrer">assembla</a> as my SVN repository, but want to create my own on my hosting.</p>
| 80,546 | 802,744 | 2024-11-04 10:38:47 | 11,810,992 | 34 | 2012-08-04 18:18:05 | 1,534,027 | 2012-08-06 06:49:47 | https://stackoverflow.com/q/11810858 | https://stackoverflow.com/a/11810992 | <ol>
<li><p><strong>Create a Repository:</strong></p>
<p><code>svnadmin create /svnrepos</code> </p></li>
<li><p><strong>Create a SVN User</strong></p>
<p><code>vi /svnrepos/conf/svnserve.conf</code></p>
<blockquote>
<p>anon-access = none </p>
<p>auth-access = write </p>
<p>password-db = passwd</p>
</... | <ol> <li><p><strong>Create a Repository:</strong></p> <p><code>svnadmin create /svnrepos</code> </p></li> <li><p><strong>Create a SVN User</strong></p> <p><code>vi /svnrepos/conf/svnserve.conf</code></p> <blockquote> <p>anon-access = none </p> <p>auth-access = write </p> <p>password-db = passwd</p> </... | 63, 1074 | svn, webserver | <h1>How to create SVN repository on server?</h1>
<p>How to create SVN repository on server? Although i have found various articles on this but still facing issues while creating repository on my website. Right now i am using <a href="http://www.assembla.com" rel="noreferrer">assembla</a> as my SVN repository, but want ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,306 | svn | # How to create SVN repository on server?
How to create SVN repository on server? Although i have found various articles on this but still facing issues while creating repository on my website. Right now i am using [assembla](http://www.assembla.com) as my SVN repository, but want to create my own on my hosting. | 1. **Create a Repository:**
`svnadmin create /svnrepos`
2. **Create a SVN User**
`vi /svnrepos/conf/svnserve.conf`
> anon-access = none
>
> auth-access = write
>
> password-db = passwd
**And add users in the format:** `user = password`
E.g.: `tony = mypassword`
3. **Import Your Project**... |
11973783 | How to checkout maven project from svn repository | 25 | 2012-08-15 17:06:27 | <p>I am new to Maven and Eclipse, I need to check out an existing Maven project from a SVN repository. I have installed the M2E plugin and the subversion plugin and they seem to be working properly. Here are the Installation Details -->
<img src="https://i.sstatic.net/GQlfK.png" alt="enter image description here"></p>
... | 55,152 | 1,475,179 | 2016-05-12 08:18:13 | 11,973,917 | 34 | 2012-08-15 17:16:17 | 325,742 | 2012-08-15 17:34:48 | https://stackoverflow.com/q/11973783 | https://stackoverflow.com/a/11973917 | <p>tl;dr : Check out <strong><a href="http://www.youtube.com/watch?v=vVhNYDiqdtM" rel="noreferrer">this</a></strong> video. The portion between 1:04 and 1:50 should answer your question (To skip to the interesting part, click on the youtube player and press <code>4</code>).</p>
<p>You already have the SVN connector fo... | <p>tl;dr : Check out <strong><a href="http://www.youtube.com/watch?v=vVhNYDiqdtM" rel="noreferrer">this</a></strong> video. The portion between 1:04 and 1:50 should answer your question (To skip to the interesting part, click on the youtube player and press <code>4</code>).</p> <p>You already have the SVN connector fo... | 53, 63, 41127, 70014 | eclipse, m2e, maven, svn | <h1>How to checkout maven project from svn repository</h1>
<p>I am new to Maven and Eclipse, I need to check out an existing Maven project from a SVN repository. I have installed the M2E plugin and the subversion plugin and they seem to be working properly. Here are the Installation Details -->
<img src="https://i.ssta... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,307 | svn | # How to checkout maven project from svn repository
I am new to Maven and Eclipse, I need to check out an existing Maven project from a SVN repository. I have installed the M2E plugin and the subversion plugin and they seem to be working properly. Here are the Installation Details -->
** video. The portion between 1:04 and 1:50 should answer your question (To skip to the interesting part, click on the youtube player and press `4`).
You already have the SVN connector for m2e installed. Thus it should be possible to `Import Existin... |
3780667 | Use CMake to get build-time Subversion revision | 21 | 2010-09-23 16:48:27 | <p>With CMake I can get the Subversion revision using <code>Subversion_WC_INFO</code>. However, this only happens at configure time -- every subsequent make will use this cached revision.</p>
<p>I'd like to get the svn revision at <em>build time</em> (ie, every time Make is run). How can I do this?</p>
| 18,874 | 89,218 | 2018-09-21 12:45:37 | 3,794,650 | 34 | 2010-09-25 17:01:24 | 4,596 | 2012-08-07 09:06:47 | https://stackoverflow.com/q/3780667 | https://stackoverflow.com/a/3794650 | <p>This is more of a pain to do than it needs to be. You can run a program at build time to extract the version information from subversion. CMake itself can be used as this program using its scripting language. You can run any CMake script using the -P command line flag. The piece of code to do this would be (To be pl... | <p>This is more of a pain to do than it needs to be. You can run a program at build time to extract the version information from subversion. CMake itself can be used as this program using its scripting language. You can run any CMake script using the -P command line flag. The piece of code to do this would be (To be pl... | 63, 8822 | cmake, svn | <h1>Use CMake to get build-time Subversion revision</h1>
<p>With CMake I can get the Subversion revision using <code>Subversion_WC_INFO</code>. However, this only happens at configure time -- every subsequent make will use this cached revision.</p>
<p>I'd like to get the svn revision at <em>build time</em> (ie, every... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,310 | svn | # Use CMake to get build-time Subversion revision
With CMake I can get the Subversion revision using `Subversion_WC_INFO`. However, this only happens at configure time -- every subsequent make will use this cached revision.
I'd like to get the svn revision at *build time* (ie, every time Make is run). How can I do th... | This is more of a pain to do than it needs to be. You can run a program at build time to extract the version information from subversion. CMake itself can be used as this program using its scripting language. You can run any CMake script using the -P command line flag. The piece of code to do this would be (To be place... |
3286460 | Is it possible to change "svn:externals" property of subversion repository remotely? | 19 | 2010-07-20 01:57:07 | <p>I am trying to change "svn:externals" property of a remote repository via this command:</p>
<pre><code>svn ps svn:externals "vendor1 http://vendor_repo_here.com" http://main-repo-here.com
</code></pre>
<p>I am expecting above command to change the "svn:externals" property from whatever it is to "vendor1 <a href="h... | 21,680 | 142,459 | 2024-04-24 14:36:04 | 4,304,002 | 34 | 2010-11-29 13:04:42 | 11,939 | 2024-04-24 14:36:04 | https://stackoverflow.com/q/3286460 | https://stackoverflow.com/a/4304002 | <p>I had a similar problem. Turtoise seems to checkout and then commit again, so I wrote a script that does the same.</p>
<pre><code>svn checkout <URL> repocopy --depth 'empty'
svn propget svn:externals repocopy > tmp2
//whatever you want to do > tmp_new
svn propset svn:externals repocopy -F tmp_new
svn com... | <p>I had a similar problem. Turtoise seems to checkout and then commit again, so I wrote a script that does the same.</p> <pre><code>svn checkout <URL> repocopy --depth 'empty' svn propget svn:externals repocopy > tmp2 //whatever you want to do > tmp_new svn propset svn:externals repocopy -F tmp_new svn com... | 63 | svn | <h1>Is it possible to change "svn:externals" property of subversion repository remotely?</h1>
<p>I am trying to change "svn:externals" property of a remote repository via this command:</p>
<pre><code>svn ps svn:externals "vendor1 http://vendor_repo_here.com" http://main-repo-here.com
</code></pre>
<p>I am expecting a... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,312 | svn | # Is it possible to change "svn:externals" property of subversion repository remotely?
I am trying to change "svn:externals" property of a remote repository via this command:
```
svn ps svn:externals "vendor1 http://vendor_repo_here.com" http://main-repo-here.com
```
I am expecting above command to change the "svn:e... | I had a similar problem. Turtoise seems to checkout and then commit again, so I wrote a script that does the same.
```
svn checkout <URL> repocopy --depth 'empty'
svn propget svn:externals repocopy > tmp2
//whatever you want to do > tmp_new
svn propset svn:externals repocopy -F tmp_new
svn commit -m "commit comment" r... |
50231086 | Apache on Ubuntu: module dav_module is already loaded | 14 | 2018-05-08 10:08:36 | <p>I just moved my subversion repository from an old FreeBSD server to a new Ubuntu 16 server with Apache 2.4. I configuret a new site in "sites-available" and restarted Apache, which gave me this error:</p>
<p>[so:warn] [pid 15619] AH01574: <strong>module dav_module is already loaded, skipping</strong></p>
<p>It see... | 8,806 | 3,319,392 | 2018-06-03 14:43:41 | 50,667,581 | 34 | 2018-06-03 14:43:41 | 169,603 | 2018-06-03 14:43:41 | https://stackoverflow.com/q/50231086 | https://stackoverflow.com/a/50667581 | <p>Your vitual host config is fine and has nothing to do with the warning. The problem is created by two included config files both loading <code>mod_dav.so</code>:</p>
<ul>
<li><code>mods-enabled/dav_svn.load</code>: loads the DAV module as a dependency</li>
<li><code>mods-enabled/dav.load</code>: (obviously)</li>
</... | <p>Your vitual host config is fine and has nothing to do with the warning. The problem is created by two included config files both loading <code>mod_dav.so</code>:</p> <ul> <li><code>mods-enabled/dav_svn.load</code>: loads the DAV module as a dependency</li> <li><code>mods-enabled/dav.load</code>: (obviously)</li> </... | 63, 80, 549, 3849 | apache, module, svn, ubuntu | <h1>Apache on Ubuntu: module dav_module is already loaded</h1>
<p>I just moved my subversion repository from an old FreeBSD server to a new Ubuntu 16 server with Apache 2.4. I configuret a new site in "sites-available" and restarted Apache, which gave me this error:</p>
<p>[so:warn] [pid 15619] AH01574: <strong>module... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,313 | svn | # Apache on Ubuntu: module dav_module is already loaded
I just moved my subversion repository from an old FreeBSD server to a new Ubuntu 16 server with Apache 2.4. I configuret a new site in "sites-available" and restarted Apache, which gave me this error:
[so:warn] [pid 15619] AH01574: **module dav_module is already... | Your vitual host config is fine and has nothing to do with the warning. The problem is created by two included config files both loading `mod_dav.so`:
- `mods-enabled/dav_svn.load`: loads the DAV module as a dependency
- `mods-enabled/dav.load`: (obviously)
`dav_svn.load` is careful about it and only includes `dav.lo... |
12069772 | SVN icon overlays not showing properly | 52 | 2012-08-22 09:09:45 | <p>I'm testing SVN. After the configuration, I can add/commit the files successfully. </p>
<p>However, I can't see the status icons on the files and folders. Can anybody tell me why?</p>
| 129,424 | 822,491 | 2021-11-18 20:36:43 | 12,069,928 | 33 | 2012-08-22 09:18:54 | 280,104 | 2012-08-22 09:36:31 | https://stackoverflow.com/q/12069772 | https://stackoverflow.com/a/12069928 | <p>This is, unfortunately a quite common problem on Windows where the icons are either not updated or rather disappearing. I find it quite annoying. It usually is fixed by either refreshing the Windows folder (F5) or, by doing a SVN Clean up,</p>
<pre><code>Right click on the folder -> TortoiseSVN -> Clean up...... | <p>This is, unfortunately a quite common problem on Windows where the icons are either not updated or rather disappearing. I find it quite annoying. It usually is fixed by either refreshing the Windows folder (F5) or, by doing a SVN Clean up,</p> <pre><code>Right click on the folder -> TortoiseSVN -> Clean up...... | 63, 656 | svn, tortoisesvn | <h1>SVN icon overlays not showing properly</h1>
<p>I'm testing SVN. After the configuration, I can add/commit the files successfully. </p>
<p>However, I can't see the status icons on the files and folders. Can anybody tell me why?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,314 | svn | # SVN icon overlays not showing properly
I'm testing SVN. After the configuration, I can add/commit the files successfully.
However, I can't see the status icons on the files and folders. Can anybody tell me why? | This is, unfortunately a quite common problem on Windows where the icons are either not updated or rather disappearing. I find it quite annoying. It usually is fixed by either refreshing the Windows folder (F5) or, by doing a SVN Clean up,
```
Right click on the folder -> TortoiseSVN -> Clean up...
Select Clean up w... |
13345667 | Is it possible to use the git-flow model with Subversion? | 39 | 2012-11-12 14:39:51 | <p>We use Subversion and aside from a few individuals such as myself there is little to no experience with branching and merging in Subversion. My Subversion experience is limited to simple feature branches where merge and tree-conflicts, while not exactly rare, are not exceedingly difficult to resolve.</p>
<p>Given t... | 12,436 | 19,977 | 2018-05-26 00:13:13 | 13,350,201 | 33 | 2012-11-12 19:29:57 | 368,630 | 2012-11-12 19:29:57 | https://stackoverflow.com/q/13345667 | https://stackoverflow.com/a/13350201 | <p>We use what is called the <em>unstable</em> trunk development method. This was the development methodology that the creators of Subversion had in mind when they created Subversion. It's simple and easy to implement.</p>
<ul>
<li>You do all of your development on <em>trunk</em>. Thus called the unstable <em>trunk</e... | <p>We use what is called the <em>unstable</em> trunk development method. This was the development methodology that the creators of Subversion had in mind when they created Subversion. It's simple and easy to implement.</p> <ul> <li>You do all of your development on <em>trunk</em>. Thus called the unstable <em>trunk</e... | 63, 1880, 53847, 64339 | branching-and-merging, git-flow, svn, trunk | <h1>Is it possible to use the git-flow model with Subversion?</h1>
<p>We use Subversion and aside from a few individuals such as myself there is little to no experience with branching and merging in Subversion. My Subversion experience is limited to simple feature branches where merge and tree-conflicts, while not exac... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,315 | svn | # Is it possible to use the git-flow model with Subversion?
We use Subversion and aside from a few individuals such as myself there is little to no experience with branching and merging in Subversion. My Subversion experience is limited to simple feature branches where merge and tree-conflicts, while not exactly rare,... | We use what is called the *unstable* trunk development method. This was the development methodology that the creators of Subversion had in mind when they created Subversion. It's simple and easy to implement.
- You do all of your development on *trunk*. Thus called the unstable *trunk*.
- When you get close to a relea... |
2735890 | find svn revision by removed text | 34 | 2010-04-29 08:46:57 | <p>Is there a way to find an SVN revision by searching for a text string that got removed in the file? I know the exact text to search for and which file to look in, but there are hundreds of revisions.</p>
| 7,203 | 237,524 | 2018-09-17 15:10:37 | 2,742,851 | 33 | 2010-04-30 07:07:15 | 237,524 | 2010-04-30 07:07:15 | https://stackoverflow.com/q/2735890 | https://stackoverflow.com/a/2742851 | <p>Building on khmarbaise's script, I came up with this:</p>
<pre><code>#!/bin/bash
file="$1"
REVISIONS=`svn log $file -q --stop-on-copy |grep "^r" | cut -d"r" -f2 | cut -d" " -f1`
for rev in $REVISIONS; do
prevRev=$(($rev-1))
difftext=`svn diff --old=$file@$prevRev --new=$file@$rev | tr -s " " | grep -v " -\ ... | <p>Building on khmarbaise's script, I came up with this:</p> <pre><code>#!/bin/bash file="$1" REVISIONS=`svn log $file -q --stop-on-copy |grep "^r" | cut -d"r" -f2 | cut -d" " -f1` for rev in $REVISIONS; do prevRev=$(($rev-1)) difftext=`svn diff --old=$file@$prevRev --new=$file@$rev | tr -s " " | grep -v " -\ ... | 63, 816, 1555 | revision, search, svn | <h1>find svn revision by removed text</h1>
<p>Is there a way to find an SVN revision by searching for a text string that got removed in the file? I know the exact text to search for and which file to look in, but there are hundreds of revisions.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,316 | svn | # find svn revision by removed text
Is there a way to find an SVN revision by searching for a text string that got removed in the file? I know the exact text to search for and which file to look in, but there are hundreds of revisions. | Building on khmarbaise's script, I came up with this:
```
#!/bin/bash
file="$1"
REVISIONS=`svn log $file -q --stop-on-copy |grep "^r" | cut -d"r" -f2 | cut -d" " -f1`
for rev in $REVISIONS; do
prevRev=$(($rev-1))
difftext=`svn diff --old=$file@$prevRev --new=$file@$rev | tr -s " " | grep -v " -\ \- " | grep -e... |
6874085 | How to set "execute" attribute to a file and check it in SVN from Windows? | 33 | 2011-07-29 13:42:28 | <p>I have SVN configured in Linux at a different location and I need to check-in a shell script to SVN with executable attribute ON from Windows. I use Bamboo as CI, which checks out sources from SVN and does the periodic build. It throws error that shell script is not executable. (Bamboo run as root).</p>
<p>What is ... | 28,077 | 824,860 | 2015-02-02 01:01:30 | 6,879,252 | 33 | 2011-07-29 21:31:36 | 189,361 | 2011-07-29 21:31:36 | https://stackoverflow.com/q/6874085 | https://stackoverflow.com/a/6879252 | <p>SVN ignores UNIX file permissions when commiting. The way that you set exec permissions on a file is to change the svn properties for that file. If you are on Windows, the easy way to do this is to install Tortoise SVN. Then after you have committed, use Tortoise to open the repo-browser. Find a file that needs to b... | <p>SVN ignores UNIX file permissions when commiting. The way that you set exec permissions on a file is to change the svn properties for that file. If you are on Windows, the easy way to do this is to install Tortoise SVN. Then after you have committed, use Tortoise to open the repo-browser. Find a file that needs to b... | 58, 63, 64, 22832, 31810 | bamboo, file-attributes, linux, svn, windows | <h1>How to set "execute" attribute to a file and check it in SVN from Windows?</h1>
<p>I have SVN configured in Linux at a different location and I need to check-in a shell script to SVN with executable attribute ON from Windows. I use Bamboo as CI, which checks out sources from SVN and does the periodic build. It thro... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,317 | svn | # How to set "execute" attribute to a file and check it in SVN from Windows?
I have SVN configured in Linux at a different location and I need to check-in a shell script to SVN with executable attribute ON from Windows. I use Bamboo as CI, which checks out sources from SVN and does the periodic build. It throws error ... | SVN ignores UNIX file permissions when commiting. The way that you set exec permissions on a file is to change the svn properties for that file. If you are on Windows, the easy way to do this is to install Tortoise SVN. Then after you have committed, use Tortoise to open the repo-browser. Find a file that needs to be e... |
225375 | In Eclipse, how can I exclude some files (maybe based on the .svn extension or filename) from being copied to the output folder? | 29 | 2008-10-22 11:34:16 | <p>I'm developing a Java application using Eclipse. My project has two source directories that are both built and then some files are copied into the output folder. From the output directory I then run my application and all works well.</p>
<p>However, I keep having these warnings:</p>
<p><a href="http://www.freeimag... | 38,464 | 3,379 | 2015-11-20 16:37:42 | 225,417 | 33 | 2008-10-22 11:44:21 | 4,445 | 2008-10-22 11:44:21 | https://stackoverflow.com/q/225375 | https://stackoverflow.com/a/225417 | <p>Have you tried to add</p>
<p><code>**/.svn/</code></p>
<p>to the <em>Exclusion patterns</em> at the <em>Source</em> preferences of the project's build path settings?</p>
| <p>Have you tried to add</p> <p><code>**/.svn/</code></p> <p>to the <em>Exclusion patterns</em> at the <em>Source</em> preferences of the project's build path settings?</p> | 17, 53, 63, 1783 | build-process, eclipse, java, svn | <h1>In Eclipse, how can I exclude some files (maybe based on the .svn extension or filename) from being copied to the output folder?</h1>
<p>I'm developing a Java application using Eclipse. My project has two source directories that are both built and then some files are copied into the output folder. From the output d... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,318 | svn | # In Eclipse, how can I exclude some files (maybe based on the .svn extension or filename) from being copied to the output folder?
I'm developing a Java application using Eclipse. My project has two source directories that are both built and then some files are copied into the output folder. From the output directory ... | Have you tried to add
`**/.svn/`
to the *Exclusion patterns* at the *Source* preferences of the project's build path settings? |
3399187 | Subversion equivalent to Git's 'show' command? | 28 | 2010-08-03 17:48:39 | <p>I like how you can see what went into a git with <code>git show rev</code></p>
<p>I haven't found an equivalent in Subversion. It seems Subversion wants you to do a diff between two commits to get anything reasonable. </p>
<p>Am I mistaken, or is there an equivalent to git show in svn to just see what went into a ... | 7,161 | 175,836 | 2020-08-28 00:21:49 | 3,399,235 | 33 | 2010-08-03 17:53:49 | 198,244 | 2020-08-28 00:21:49 | https://stackoverflow.com/q/3399187 | https://stackoverflow.com/a/3399235 | <p><code>svn diff -c rev</code> will show what changes happened in the specified revision.</p>
<p><code>svn log --diff -c rev</code> will show the diff and the commit information.</p>
| <p><code>svn diff -c rev</code> will show what changes happened in the specified revision.</p> <p><code>svn log --diff -c rev</code> will show the diff and the commit information.</p> | 63, 119, 456 | git, svn, version-control | <h1>Subversion equivalent to Git's 'show' command?</h1>
<p>I like how you can see what went into a git with <code>git show rev</code></p>
<p>I haven't found an equivalent in Subversion. It seems Subversion wants you to do a diff between two commits to get anything reasonable. </p>
<p>Am I mistaken, or is there an equ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,319 | svn | # Subversion equivalent to Git's 'show' command?
I like how you can see what went into a git with `git show rev`
I haven't found an equivalent in Subversion. It seems Subversion wants you to do a diff between two commits to get anything reasonable.
Am I mistaken, or is there an equivalent to git show in svn to just ... | `svn diff -c rev` will show what changes happened in the specified revision.
`svn log --diff -c rev` will show the diff and the commit information. |
983026 | How do I create a SVN Commit Message Template and Hook to Verify | 25 | 2009-06-11 19:09:38 | <p>I'm using Visual SVN Server and Tortoise SVN (client) for source control. I would like all developers to standardize on a consistent format for checkin notes.</p>
<p>For Example I want their Commit Message to default to...</p>
<p>Synopsis:</p>
<p>Developer Name: <em>(pre-populated)</em></p>
<p>Reviewed By:</p>
... | 37,806 | 103,203 | 2017-01-13 06:35:34 | 1,036,255 | 33 | 2009-06-24 03:27:16 | 103,203 | 2014-06-10 07:20:08 | https://stackoverflow.com/q/983026 | https://stackoverflow.com/a/1036255 | <p>Taken from <a href="http://weblogs.asp.net/akjoshi/archive/2008/07/18/tsvn_3A00_logtemplate-_3A00_-Enforcing-strict-format-to-svn-check_2D00_in-mails.-.aspx" rel="noreferrer" title="Tortoise SVN Checkin Template">How to create a Tortoise SVN Checkin Template</a> (modified to fit to more current versions):</p>
<block... | <p>Taken from <a href="http://weblogs.asp.net/akjoshi/archive/2008/07/18/tsvn_3A00_logtemplate-_3A00_-Enforcing-strict-format-to-svn-check_2D00_in-mails.-.aspx" rel="noreferrer" title="Tortoise SVN Checkin Template">How to create a Tortoise SVN Checkin Template</a> (modified to fit to more current versions):</p> <block... | 63, 656, 3809, 11603, 25281 | commit-message, pre-commit-hook, svn, tortoisesvn, visualsvn-server | <h1>How do I create a SVN Commit Message Template and Hook to Verify</h1>
<p>I'm using Visual SVN Server and Tortoise SVN (client) for source control. I would like all developers to standardize on a consistent format for checkin notes.</p>
<p>For Example I want their Commit Message to default to...</p>
<p>Synopsis:<... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,321 | svn | # How do I create a SVN Commit Message Template and Hook to Verify
I'm using Visual SVN Server and Tortoise SVN (client) for source control. I would like all developers to standardize on a consistent format for checkin notes.
For Example I want their Commit Message to default to...
Synopsis:
Developer Name: *(pre-p... | Taken from [How to create a Tortoise SVN Checkin Template](http://weblogs.asp.net/akjoshi/archive/2008/07/18/tsvn_3A00_logtemplate-_3A00_-Enforcing-strict-format-to-svn-check_2D00_in-mails.-.aspx "Tortoise SVN Checkin Template") (modified to fit to more current versions):
> The log template can be customized as per th... |
264323 | SVN recursive delete | 23 | 2008-11-05 04:12:33 | <p>Is there a way to delete a folder, lets call it FolderX from an SVN trunk recursively? A quick search on google only tells me how to recursively delete all .svn folders and this is not what I want to do</p>
| 40,910 | 17,211 | 2015-09-25 10:53:09 | 264,345 | 33 | 2008-11-05 04:29:13 | 2,567 | 2014-06-26 20:26:34 | https://stackoverflow.com/q/264323 | https://stackoverflow.com/a/264345 | <p>Try something like the following on a posix system:</p>
<pre><code>find ./ -name "FolderX" | xargs svn delete --force
</code></pre>
<p>This will find all matching files/folders starting in the current directory and perform the action on them i.e. svn delete. I'm not sure how to do this in windows though without cy... | <p>Try something like the following on a posix system:</p> <pre><code>find ./ -name "FolderX" | xargs svn delete --force </code></pre> <p>This will find all matching files/folders starting in the current directory and perform the action on them i.e. svn delete. I'm not sure how to do this in windows though without cy... | 63 | svn | <h1>SVN recursive delete</h1>
<p>Is there a way to delete a folder, lets call it FolderX from an SVN trunk recursively? A quick search on google only tells me how to recursively delete all .svn folders and this is not what I want to do</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,322 | svn | # SVN recursive delete
Is there a way to delete a folder, lets call it FolderX from an SVN trunk recursively? A quick search on google only tells me how to recursively delete all .svn folders and this is not what I want to do | Try something like the following on a posix system:
```
find ./ -name "FolderX" | xargs svn delete --force
```
This will find all matching files/folders starting in the current directory and perform the action on them i.e. svn delete. I'm not sure how to do this in windows though without cygwin.
For win32, the comme... |
48390012 | Subversion HTTPS password caching using GPG-Agent? | 22 | 2018-01-22 20:49:08 | <p>I am using the Subversion client (version 1.9.5 r1770682, installed from the default package repository) on a Debian Stretch machine, to which I only have SSH access. I am connecting to a Subversion repository via HTTPS and would like to avoid having to re-type my password every time I perform an <code>svn up</code>... | 8,632 | 8,119,289 | 2019-08-20 18:59:54 | 57,579,018 | 33 | 2019-08-20 17:44:39 | 8,119,289 | 2019-08-20 18:59:54 | https://stackoverflow.com/q/48390012 | https://stackoverflow.com/a/57579018 | <p>I finally found a solution to my problem by looking into it once more, starting from the suggestion of Roman above. The comments of the <code>find_gpg_agent_socket</code> function in the Subversion client's <a href="https://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_subr/gpg_agent.c" rel="noreferrer... | <p>I finally found a solution to my problem by looking into it once more, starting from the suggestion of Roman above. The comments of the <code>find_gpg_agent_socket</code> function in the Subversion client's <a href="https://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_subr/gpg_agent.c" rel="noreferrer... | 63, 642, 6735, 124001 | gnupg, gpg-agent, https, svn | <h1>Subversion HTTPS password caching using GPG-Agent?</h1>
<p>I am using the Subversion client (version 1.9.5 r1770682, installed from the default package repository) on a Debian Stretch machine, to which I only have SSH access. I am connecting to a Subversion repository via HTTPS and would like to avoid having to re-... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,323 | svn | # Subversion HTTPS password caching using GPG-Agent?
I am using the Subversion client (version 1.9.5 r1770682, installed from the default package repository) on a Debian Stretch machine, to which I only have SSH access. I am connecting to a Subversion repository via HTTPS and would like to avoid having to re-type my p... | I finally found a solution to my problem by looking into it once more, starting from the suggestion of Roman above. The comments of the `find_gpg_agent_socket` function in the Subversion client's [GPG-Agent authentication source code](https://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_subr/gpg_agent.c)... |
569270 | Change default SVN diffing tool | 18 | 2009-02-20 11:43:00 | <p>Following a blog, I created a batch file, wm.bat:</p>
<pre><code>"d:\svnroot\external\winmerge\WinMerge.exe" /B /WAIT "d:\svnroot\external\winmerge\WinMergeU.exe" /e /ub /dl %3 /dr %5 %6 %7
</code></pre>
<p>And I tried calling</p>
<pre><code>svn diff | wm
</code></pre>
<p>but that didn't work. So how do I integr... | 37,275 | 50,475 | 2017-12-11 20:16:29 | 569,281 | 33 | 2009-02-20 11:45:43 | 67,829 | 2014-05-19 15:14:33 | https://stackoverflow.com/q/569270 | https://stackoverflow.com/a/569281 | <p>Ok, looking at the <a href="http://flimflan.com/blog/UsingWinMergeWithSubversion.aspx" rel="noreferrer">original blog post</a>, this is what you want:</p>
<pre><code>svn diff --diff-cmd wm [optional-filename]
</code></pre>
<p>If you want to see what is actually happening here (i.e. what sort of parameters the <cod... | <p>Ok, looking at the <a href="http://flimflan.com/blog/UsingWinMergeWithSubversion.aspx" rel="noreferrer">original blog post</a>, this is what you want:</p> <pre><code>svn diff --diff-cmd wm [optional-filename] </code></pre> <p>If you want to see what is actually happening here (i.e. what sort of parameters the <cod... | 63, 606 | diff, svn | <h1>Change default SVN diffing tool</h1>
<p>Following a blog, I created a batch file, wm.bat:</p>
<pre><code>"d:\svnroot\external\winmerge\WinMerge.exe" /B /WAIT "d:\svnroot\external\winmerge\WinMergeU.exe" /e /ub /dl %3 /dr %5 %6 %7
</code></pre>
<p>And I tried calling</p>
<pre><code>svn diff | wm
</code></pre>
<p... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,324 | svn | # Change default SVN diffing tool
Following a blog, I created a batch file, wm.bat:
```
"d:\svnroot\external\winmerge\WinMerge.exe" /B /WAIT "d:\svnroot\external\winmerge\WinMergeU.exe" /e /ub /dl %3 /dr %5 %6 %7
```
And I tried calling
```
svn diff | wm
```
but that didn't work. So how do I integrate [WinMerge](h... | Ok, looking at the [original blog post](http://flimflan.com/blog/UsingWinMergeWithSubversion.aspx), this is what you want:
```
svn diff --diff-cmd wm [optional-filename]
```
If you want to see what is actually happening here (i.e. what sort of parameters the `svn diff` passes to the nominated `diff-cmd`), you can jus... |
11293539 | Equivalent of ".gitignore" file with Subversion | 68 | 2012-07-02 12:16:50 | <p>I am being forced to work with Subversion on a current project.</p>
<p>Someone has unkindly added the <code>bin</code> and <code>obj</code> folders to the repository.</p>
<p>Other than removing them, and committing the removal, is there an equivalent of .gitignore file I can add to the repository to make the guilt... | 36,875 | 131,809 | 2016-11-30 23:11:08 | 11,293,595 | 32 | 2012-07-02 12:20:46 | 296,328 | 2012-07-02 12:20:46 | https://stackoverflow.com/q/11293539 | https://stackoverflow.com/a/11293595 | <p>This is done by a svn:ignore property in SVN. This property can be added to a folder.
Let us imagine the following:</p>
<pre><code> +-- root
+-- bin
+-- ...
</code></pre>
<p>to ignore the bin folder you have to set the svn:ignore property onto the root folder. First change into the root folder and do... | <p>This is done by a svn:ignore property in SVN. This property can be added to a folder. Let us imagine the following:</p> <pre><code> +-- root +-- bin +-- ... </code></pre> <p>to ignore the bin folder you have to set the svn:ignore property onto the root folder. First change into the root folder and do... | 63 | svn | <h1>Equivalent of ".gitignore" file with Subversion</h1>
<p>I am being forced to work with Subversion on a current project.</p>
<p>Someone has unkindly added the <code>bin</code> and <code>obj</code> folders to the repository.</p>
<p>Other than removing them, and committing the removal, is there an equivalent of .git... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,325 | svn | # Equivalent of ".gitignore" file with Subversion
I am being forced to work with Subversion on a current project.
Someone has unkindly added the `bin` and `obj` folders to the repository.
Other than removing them, and committing the removal, is there an equivalent of .gitignore file I can add to the repository to ma... | This is done by a svn:ignore property in SVN. This property can be added to a folder.
Let us imagine the following:
```
+-- root
+-- bin
+-- ...
```
to ignore the bin folder you have to set the svn:ignore property onto the root folder. First change into the root folder and do the following on command l... |
504909 | Database Deployment Strategies (SQL Server) | 52 | 2009-02-02 21:09:10 | <p>I am looking for a way to do daily deployments and keep the database scripts in line with releases. </p>
<p>Currently, we have a fairly decent way of deploying our source, we have unit code coverage, continuous integration and rollback procedures. </p>
<p>The problem is keeping the database scripts in line with a... | 14,276 | 6,088 | 2018-10-21 07:34:02 | 518,016 | 32 | 2009-02-05 21:26:10 | 3,381 | 2012-03-07 14:59:38 | https://stackoverflow.com/q/504909 | https://stackoverflow.com/a/518016 | <p>For this very problem I chose to use a migration tool: <a href="http://code.google.com/p/migratordotnet/" rel="noreferrer">Migratordotnet</a>.</p>
<p>With migrations (in any tool) you have a simple class used to perform your changes and undo them. Here's an example:</p>
<pre><code>[Migration(62)]
public class _6... | <p>For this very problem I chose to use a migration tool: <a href="http://code.google.com/p/migratordotnet/" rel="noreferrer">Migratordotnet</a>.</p> <p>With migrations (in any tool) you have a simple class used to perform your changes and undo them. Here's an example:</p> <pre><code>[Migration(62)] public class _6... | 9, 63, 96, 4328, 4527 | asp.net, c#, sql-server-2005, svn, visual-studio-2005 | <h1>Database Deployment Strategies (SQL Server)</h1>
<p>I am looking for a way to do daily deployments and keep the database scripts in line with releases. </p>
<p>Currently, we have a fairly decent way of deploying our source, we have unit code coverage, continuous integration and rollback procedures. </p>
<p>The p... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,326 | svn | # Database Deployment Strategies (SQL Server)
I am looking for a way to do daily deployments and keep the database scripts in line with releases.
Currently, we have a fairly decent way of deploying our source, we have unit code coverage, continuous integration and rollback procedures.
The problem is keeping the data... | For this very problem I chose to use a migration tool: [Migratordotnet](http://code.google.com/p/migratordotnet/).
With migrations (in any tool) you have a simple class used to perform your changes and undo them. Here's an example:
```
[Migration(62)]
public class _62_add_date_created_column : Migration
{
public ... |
3333413 | SVN ignore that is local to working copy? | 48 | 2010-07-26 08:55:26 | <p>Is there any way that I can ignore a file in my local working copy without polluting the svn properties? I don't want my local ignore pattern (e.g. temp files) being published to repository and cause repo having lots of useless information.</p>
<p>Just like in git, I can have .git/info/exclude. Is there any simila... | 25,111 | 395,202 | 2016-04-06 16:58:57 | 3,333,427 | 32 | 2010-07-26 08:58:22 | 73,070 | 2015-05-20 16:14:08 | https://stackoverflow.com/q/3333413 | https://stackoverflow.com/a/3333427 | <p>You can put them into the changelist <code>ignore-on-commit</code>. See <a href="https://stackoverflow.com/questions/635446/svn-is-there-a-way-to-mark-a-file-as-do-not-commit">this question and its answer</a>.</p>
<p>EDIT: This only works with tortoisesvn and possibly other clients, not with <em>svn</em> per se.</p... | <p>You can put them into the changelist <code>ignore-on-commit</code>. See <a href="https://stackoverflow.com/questions/635446/svn-is-there-a-way-to-mark-a-file-as-do-not-commit">this question and its answer</a>.</p> <p>EDIT: This only works with tortoisesvn and possibly other clients, not with <em>svn</em> per se.</p... | 63 | svn | <h1>SVN ignore that is local to working copy?</h1>
<p>Is there any way that I can ignore a file in my local working copy without polluting the svn properties? I don't want my local ignore pattern (e.g. temp files) being published to repository and cause repo having lots of useless information.</p>
<p>Just like in git... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,327 | svn | # SVN ignore that is local to working copy?
Is there any way that I can ignore a file in my local working copy without polluting the svn properties? I don't want my local ignore pattern (e.g. temp files) being published to repository and cause repo having lots of useless information.
Just like in git, I can have .git... | You can put them into the changelist `ignore-on-commit`. See [this question and its answer](https://stackoverflow.com/questions/635446/svn-is-there-a-way-to-mark-a-file-as-do-not-commit).
EDIT: This only works with tortoisesvn and possibly other clients, not with *svn* per se. |
2411122 | How to freeze entire SVN repository to make it read-only | 36 | 2010-03-09 17:35:32 | <p>Can't find an answer to my exact question. We migrated to a different source control system and want to keep a read-only snapshot of the entire repository. No one should be able to commit any changes anywhere. Is there a way to do this?</p>
| 30,113 | 289,870 | 2017-01-31 19:06:23 | 2,411,347 | 32 | 2010-03-09 18:05:42 | 189,919 | 2012-12-21 17:40:15 | https://stackoverflow.com/q/2411122 | https://stackoverflow.com/a/2411347 | <p>Just update your <a href="http://svnbook.red-bean.com/nightly/en/svn.serverconfig.pathbasedauthz.html" rel="noreferrer">authz file</a> to</p>
<pre><code># give everyone read-only access to the entire repository
[reponame:/]
* = r
</code></pre>
| <p>Just update your <a href="http://svnbook.red-bean.com/nightly/en/svn.serverconfig.pathbasedauthz.html" rel="noreferrer">authz file</a> to</p> <pre><code># give everyone read-only access to the entire repository [reponame:/] * = r </code></pre> | 63 | svn | <h1>How to freeze entire SVN repository to make it read-only</h1>
<p>Can't find an answer to my exact question. We migrated to a different source control system and want to keep a read-only snapshot of the entire repository. No one should be able to commit any changes anywhere. Is there a way to do this?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,328 | svn | # How to freeze entire SVN repository to make it read-only
Can't find an answer to my exact question. We migrated to a different source control system and want to keep a read-only snapshot of the entire repository. No one should be able to commit any changes anywhere. Is there a way to do this? | Just update your [authz file](http://svnbook.red-bean.com/nightly/en/svn.serverconfig.pathbasedauthz.html) to
```
# give everyone read-only access to the entire repository
[reponame:/]
* = r
``` |
18855849 | xcode remove repository from project | 27 | 2013-09-17 17:08:35 | <p>My xcode project has two repositories listed under the Source Control menu. One of them is a repository from an old project and should not be associated with the current project. However, I can not figure out how to remove it from the project. </p>
<p>NOTE: I have already removed this repository from Organizer. </p... | 18,249 | 507,770 | 2022-09-03 17:40:32 | 21,608,689 | 32 | 2014-02-06 16:37:01 | 690,043 | 2014-02-06 16:37:01 | https://stackoverflow.com/q/18855849 | https://stackoverflow.com/a/21608689 | <p>I did this by manually editing the <code>.xccheckout</code> file.</p>
<p>Here are the steps that should work for you:</p>
<ol>
<li>quit Xcode, and make a backup of your project file.</li>
<li>in the Finder, right-click on your project file and select "Show Package Contents"</li>
<li>right-click on the <code>projec... | <p>I did this by manually editing the <code>.xccheckout</code> file.</p> <p>Here are the steps that should work for you:</p> <ol> <li>quit Xcode, and make a backup of your project file.</li> <li>in the Finder, right-click on your project file and select "Show Package Contents"</li> <li>right-click on the <code>projec... | 63, 119, 154, 908, 58338 | git, ios, iphone, svn, xcode | <h1>xcode remove repository from project</h1>
<p>My xcode project has two repositories listed under the Source Control menu. One of them is a repository from an old project and should not be associated with the current project. However, I can not figure out how to remove it from the project. </p>
<p>NOTE: I have alrea... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,329 | svn | # xcode remove repository from project
My xcode project has two repositories listed under the Source Control menu. One of them is a repository from an old project and should not be associated with the current project. However, I can not figure out how to remove it from the project.
NOTE: I have already removed this r... | I did this by manually editing the `.xccheckout` file.
Here are the steps that should work for you:
1. quit Xcode, and make a backup of your project file.
2. in the Finder, right-click on your project file and select "Show Package Contents"
3. right-click on the `project.xcworkspace` file, and select "Show Package CO... |
11007024 | Cygwin SVN: E200030: SQLite disk I/O error | 27 | 2012-06-13 01:19:23 | <p>When I use Subversion in Cygwin to update some repository, some directories update with success, while some other one gets a failure with the error message:</p>
<blockquote>
<p>svn: E200030: sqlite: disk I/O error</p>
</blockquote>
<p>When doing <code>svn update</code> again for the same repository, a different ... | 24,926 | 735,708 | 2020-02-11 19:05:49 | 11,887,905 | 32 | 2012-08-09 16:31:31 | 142,454 | 2014-01-22 22:25:44 | https://stackoverflow.com/q/11007024 | https://stackoverflow.com/a/11887905 | <p>This happened due to <a href="http://cygwin.com/ml/cygwin/2012-04/msg00079.html" rel="noreferrer">a change someone wanted</a> in Cygwin's <a href="http://sqlite.org/" rel="noreferrer">SQLite</a> package. I was the maintainer of that package when this question was asked, and I made the change that caused this symptom... | <p>This happened due to <a href="http://cygwin.com/ml/cygwin/2012-04/msg00079.html" rel="noreferrer">a change someone wanted</a> in Cygwin's <a href="http://sqlite.org/" rel="noreferrer">SQLite</a> package. I was the maintainer of that package when this question was asked, and I made the change that caused this symptom... | 63, 121, 1731 | cygwin, sqlite, svn | <h1>Cygwin SVN: E200030: SQLite disk I/O error</h1>
<p>When I use Subversion in Cygwin to update some repository, some directories update with success, while some other one gets a failure with the error message:</p>
<blockquote>
<p>svn: E200030: sqlite: disk I/O error</p>
</blockquote>
<p>When doing <code>svn updat... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,330 | svn | # Cygwin SVN: E200030: SQLite disk I/O error
When I use Subversion in Cygwin to update some repository, some directories update with success, while some other one gets a failure with the error message:
> svn: E200030: sqlite: disk I/O error
When doing `svn update` again for the same repository, a different directory... | This happened due to [a change someone wanted](http://cygwin.com/ml/cygwin/2012-04/msg00079.html) in Cygwin's [SQLite](http://sqlite.org/) package. I was the maintainer of that package when this question was asked, and I made the change that caused this symptom.
The change was released as Cygwin SQLite version `3.7.12... |
18232195 | Using svn diff command | 25 | 2013-08-14 12:48:34 | <p>Since I'm a newbie to SVN, my question is a bit simple but before asking here, I did look at the official tutorial but the explanation in there did not give me any clue. So I hope I can find someone to simply them for me. Thanks in advance!</p>
<p>Here is my question: how do I use <code>svn diff</code> to see diffe... | 56,069 | 2,653,020 | 2013-08-14 13:23:19 | 18,232,377 | 32 | 2013-08-14 12:56:58 | 1,030,675 | 2013-08-14 12:56:58 | https://stackoverflow.com/q/18232195 | https://stackoverflow.com/a/18232377 | <p>After making changes to a checked-out file, you can simply run</p>
<pre><code>svn diff test.c
</code></pre>
<p>The <code>-r</code> and <code>@rev</code> are handy if you want to compare different versions of the file (older revisions). For example, to view the changes made between the two preceding revisions, use<... | <p>After making changes to a checked-out file, you can simply run</p> <pre><code>svn diff test.c </code></pre> <p>The <code>-r</code> and <code>@rev</code> are handy if you want to compare different versions of the file (older revisions). For example, to view the changes made between the two preceding revisions, use<... | 58, 63, 606 | diff, linux, svn | <h1>Using svn diff command</h1>
<p>Since I'm a newbie to SVN, my question is a bit simple but before asking here, I did look at the official tutorial but the explanation in there did not give me any clue. So I hope I can find someone to simply them for me. Thanks in advance!</p>
<p>Here is my question: how do I use <c... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,332 | svn | # Using svn diff command
Since I'm a newbie to SVN, my question is a bit simple but before asking here, I did look at the official tutorial but the explanation in there did not give me any clue. So I hope I can find someone to simply them for me. Thanks in advance!
Here is my question: how do I use `svn diff` to see ... | After making changes to a checked-out file, you can simply run
```
svn diff test.c
```
The `-r` and `@rev` are handy if you want to compare different versions of the file (older revisions). For example, to view the changes made between the two preceding revisions, use
```
svn diff -r PREV:HEAD test.c
``` |
10401950 | how to hide revision number from eclipse explorer view? | 24 | 2012-05-01 17:54:32 | <p><img src="https://i.sstatic.net/Byqho.png" alt="enter image description here"></p>
<p>Is there any way to hide this number as this number has gone too long ?</p>
| 13,123 | 197,992 | 2014-07-24 20:56:31 | 10,402,023 | 32 | 2012-05-01 18:00:52 | 1,159,339 | 2012-05-01 18:00:52 | https://stackoverflow.com/q/10401950 | https://stackoverflow.com/a/10402023 | <p>You can remove the label decorations from the <code>Team->SVN->Label Decorations</code> preferences page. See <a href="http://www.eclipse.org/subversive/documentation/preferences/pref_label_decors.php">this page</a> for details.</p>
| <p>You can remove the label decorations from the <code>Team->SVN->Label Decorations</code> preferences page. See <a href="http://www.eclipse.org/subversive/documentation/preferences/pref_label_decors.php">this page</a> for details.</p> | 53, 63, 1555, 3311 | eclipse, revision, subversive, svn | <h1>how to hide revision number from eclipse explorer view?</h1>
<p><img src="https://i.sstatic.net/Byqho.png" alt="enter image description here"></p>
<p>Is there any way to hide this number as this number has gone too long ?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,333 | svn | # how to hide revision number from eclipse explorer view?

Is there any way to hide this number as this number has gone too long ? | You can remove the label decorations from the `Team->SVN->Label Decorations` preferences page. See [this page](http://www.eclipse.org/subversive/documentation/preferences/pref_label_decors.php) for details. |
9257323 | bypass ssl certificate validation in subversion | 20 | 2012-02-13 08:15:04 | <p>I'm managing a subversion-based build system and we use a self-signed ssl for the server. So from time to time, we get build failures because a new machine has been added and it can't checkout since it's the first time for that machine to contact the svn server. </p>
<p>The error message is like:</p>
<pre><code>ic... | 42,401 | 579,516 | 2018-05-02 06:56:09 | 9,257,625 | 32 | 2012-02-13 08:45:19 | 507,697 | 2012-02-13 08:45:19 | https://stackoverflow.com/q/9257323 | https://stackoverflow.com/a/9257625 | <p>I guess you have two options; throwing all caution overboard and setting trust-server-cert and non interactive from the command line:</p>
<pre><code> svn help co
.... snip....
--non-interactive : do no interactive prompting
--trust-server-cert : accept unknown SSL server certificates without
... | <p>I guess you have two options; throwing all caution overboard and setting trust-server-cert and non interactive from the command line:</p> <pre><code> svn help co .... snip.... --non-interactive : do no interactive prompting --trust-server-cert : accept unknown SSL server certificates without ... | 63, 456, 641 | ssl, svn, version-control | <h1>bypass ssl certificate validation in subversion</h1>
<p>I'm managing a subversion-based build system and we use a self-signed ssl for the server. So from time to time, we get build failures because a new machine has been added and it can't checkout since it's the first time for that machine to contact the svn serve... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,336 | svn | # bypass ssl certificate validation in subversion
I'm managing a subversion-based build system and we use a self-signed ssl for the server. So from time to time, we get build failures because a new machine has been added and it can't checkout since it's the first time for that machine to contact the svn server.
The e... | I guess you have two options; throwing all caution overboard and setting trust-server-cert and non interactive from the command line:
```
svn help co
.... snip....
--non-interactive : do no interactive prompting
--trust-server-cert : accept unknown SSL server certificates without
... |
824067 | How to get out of subversion source control in visual studio? | 20 | 2009-05-05 09:26:29 | <p>I have a solution that is source controlled with Subversion and AnkhSVN in Visual Studio 2008, but I would like to remove source control from it, how do I do that?</p>
| 23,192 | 86,751 | 2013-05-17 13:52:56 | 824,075 | 32 | 2009-05-05 09:30:31 | 60,188 | 2009-05-05 09:30:31 | https://stackoverflow.com/q/824067 | https://stackoverflow.com/a/824075 | <p>SVN, as opposed to the dreaded VSS, does not clutter your project files with its "bindings": it keeps all its system information in <code>.svn</code> or <code>_svn</code> subfolders inside every version-controlled directory. Thus, "removing" version control from a project effectively means deleting all these folders... | <p>SVN, as opposed to the dreaded VSS, does not clutter your project files with its "bindings": it keeps all its system information in <code>.svn</code> or <code>_svn</code> subfolders inside every version-controlled directory. Thus, "removing" version control from a project effectively means deleting all these folders... | 63, 2018, 32472 | ankhsvn, svn, visual-studio-2008 | <h1>How to get out of subversion source control in visual studio?</h1>
<p>I have a solution that is source controlled with Subversion and AnkhSVN in Visual Studio 2008, but I would like to remove source control from it, how do I do that?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,339 | svn | # How to get out of subversion source control in visual studio?
I have a solution that is source controlled with Subversion and AnkhSVN in Visual Studio 2008, but I would like to remove source control from it, how do I do that? | SVN, as opposed to the dreaded VSS, does not clutter your project files with its "bindings": it keeps all its system information in `.svn` or `_svn` subfolders inside every version-controlled directory. Thus, "removing" version control from a project effectively means deleting all these folders.
This is tedious, howev... |
12061024 | SVN load ./myNewRepo < ./myOldRepo.dump -- Can't open file 'myNewRepo/format'? | 13 | 2012-08-21 18:38:31 | <p>I'm trying to migrate an old repository (let's call it <code>myOldRepo</code>) to a new repository (<code>myNewRepo</code>).</p>
<p>I've got an svndump of the old repo, <code>myOldRepo.dump</code>. I've checked out my new repository, <code>myNewRepo</code>. Both are in the same directory. I'm trying to use the foll... | 16,325 | 1,133,286 | 2018-12-10 11:43:56 | 12,062,747 | 32 | 2012-08-21 20:44:22 | 23,264 | 2018-12-10 11:43:56 | https://stackoverflow.com/q/12061024 | https://stackoverflow.com/a/12062747 | <p>You need to load the dump directly into the <strong>repository, not a subfolder</strong>. You have to specify the path to the repository, not the checked out working copy. Try this:</p>
<pre><code>svnadmin create ./myNewRepo
svnadmin load ./myNewRepo < ./myOldRepo.svndump
</code></pre>
<p>This should do the tri... | <p>You need to load the dump directly into the <strong>repository, not a subfolder</strong>. You have to specify the path to the repository, not the checked out working copy. Try this:</p> <pre><code>svnadmin create ./myNewRepo svnadmin load ./myNewRepo < ./myOldRepo.svndump </code></pre> <p>This should do the tri... | 63, 456, 15460, 48042, 62060 | svn, svnadmin, svndump, version-control, version-control-migration | <h1>SVN load ./myNewRepo < ./myOldRepo.dump -- Can't open file 'myNewRepo/format'?</h1>
<p>I'm trying to migrate an old repository (let's call it <code>myOldRepo</code>) to a new repository (<code>myNewRepo</code>).</p>
<p>I've got an svndump of the old repo, <code>myOldRepo.dump</code>. I've checked out my new reposi... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,340 | svn | # SVN load ./myNewRepo < ./myOldRepo.dump -- Can't open file 'myNewRepo/format'?
I'm trying to migrate an old repository (let's call it `myOldRepo`) to a new repository (`myNewRepo`).
I've got an svndump of the old repo, `myOldRepo.dump`. I've checked out my new repository, `myNewRepo`. Both are in the same directory... | You need to load the dump directly into the **repository, not a subfolder**. You have to specify the path to the repository, not the checked out working copy. Try this:
```
svnadmin create ./myNewRepo
svnadmin load ./myNewRepo < ./myOldRepo.svndump
```
This should do the trick.. |
4889619 | Command to recursively remove all .svn directories on Windows | 77 | 2011-02-03 17:43:44 | <p>I have a directory with many sub-directories. In each folder there is a subversion folder (.svn). </p>
<p>Is there a command in windows that will go through each folder and sub-directory and delete the .svn folder? </p>
<p>Or will I have to create a script or do it manually?</p>
| 57,130 | 489,041 | 2020-07-31 21:11:07 | 4,889,639 | 31 | 2011-02-03 17:45:24 | 893 | 2011-02-03 17:45:24 | https://stackoverflow.com/q/4889619 | https://stackoverflow.com/a/4889639 | <p>Use the <a href="http://svnbook.red-bean.com/en/1.0/re10.html" rel="noreferrer"><code>svn export</code></a> command to export a Subversion working copy into a new "clean" directory structure that doesn't have the <code>.svn</code> directories.</p>
| <p>Use the <a href="http://svnbook.red-bean.com/en/1.0/re10.html" rel="noreferrer"><code>svn export</code></a> command to export a Subversion working copy into a new "clean" directory structure that doesn't have the <code>.svn</code> directories.</p> | 63, 64, 1231 | command-line, svn, windows | <h1>Command to recursively remove all .svn directories on Windows</h1>
<p>I have a directory with many sub-directories. In each folder there is a subversion folder (.svn). </p>
<p>Is there a command in windows that will go through each folder and sub-directory and delete the .svn folder? </p>
<p>Or will I have to cre... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,341 | svn | # Command to recursively remove all .svn directories on Windows
I have a directory with many sub-directories. In each folder there is a subversion folder (.svn).
Is there a command in windows that will go through each folder and sub-directory and delete the .svn folder?
Or will I have to create a script or do it man... | Use the [`svn export`](http://svnbook.red-bean.com/en/1.0/re10.html) command to export a Subversion working copy into a new "clean" directory structure that doesn't have the `.svn` directories. |
1558501 | SVN: Create a diff for lots of revisions | 34 | 2009-10-13 06:34:51 | <p>I had a private branch that I did a ton of commits to, then I merged it into trunk, and did a few little tweaks there.</p>
<p>Now the trunk maintainer wants a diff off all of my changes incase we need a rollback.</p>
<p>How can I create this? If you need numbers for your examples, assume that</p>
<p><code>224446</co... | 27,770 | 90,025 | 2023-06-13 22:55:33 | 1,558,520 | 31 | 2009-10-13 06:40:26 | 33,006 | 2023-06-13 22:55:33 | https://stackoverflow.com/q/1558501 | https://stackoverflow.com/a/1558520 | <p>One possible procedure would be to do this:</p>
<ol>
<li>Create diffs for 224453 and 224462 (e.g. by <code>svn diff -r 224452:224463 > diff1.patch</code>).</li>
<li>Check out 224446 (<code>svn up -r224446</code>)</li>
<li>Apply the diffs (e.g. <code>patch -p0 -i diff1.patch</code>)</li>
<li>Create a diff of that ... | <p>One possible procedure would be to do this:</p> <ol> <li>Create diffs for 224453 and 224462 (e.g. by <code>svn diff -r 224452:224463 > diff1.patch</code>).</li> <li>Check out 224446 (<code>svn up -r224446</code>)</li> <li>Apply the diffs (e.g. <code>patch -p0 -i diff1.patch</code>)</li> <li>Create a diff of that ... | 63, 606, 1879 | branch, diff, svn | <h1>SVN: Create a diff for lots of revisions</h1>
<p>I had a private branch that I did a ton of commits to, then I merged it into trunk, and did a few little tweaks there.</p>
<p>Now the trunk maintainer wants a diff off all of my changes incase we need a rollback.</p>
<p>How can I create this? If you need numbers for ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,343 | svn | # SVN: Create a diff for lots of revisions
I had a private branch that I did a ton of commits to, then I merged it into trunk, and did a few little tweaks there.
Now the trunk maintainer wants a diff off all of my changes incase we need a rollback.
How can I create this? If you need numbers for your examples, assume... | One possible procedure would be to do this:
1. Create diffs for 224453 and 224462 (e.g. by `svn diff -r 224452:224463 > diff1.patch`).
2. Check out 224446 (`svn up -r224446`)
3. Apply the diffs (e.g. `patch -p0 -i diff1.patch`)
4. Create a diff of that against 224445 (`svn diff -r 224445 > diff2.patch`) |
414879 | How to remove a file/folder from a SVN repository and add to the ignore list | 31 | 2009-01-05 23:17:12 | <p>This sounds like a look-up-in-the-manual question to me, but I can't find it. Suppose we have a repository with files and directories in it that shouldn't be under version control but rather should be on the ignore list (such as Eclipse files <code>.settings</code>, <code>.project</code>, generated documentation fil... | 88,151 | 25,517 | 2021-03-16 15:21:32 | 414,910 | 31 | 2009-01-05 23:31:45 | 34,218 | 2021-03-16 15:21:32 | https://stackoverflow.com/q/414879 | https://stackoverflow.com/a/414910 | <p>There are two ways with subversion, one is specific to the user and the other is actually maintained in the repository, and therefore affects everyone.</p>
<p>For a list of globally ignored files (exclusive to each user/machine), you need to edit the subversion config file and alter the <em>global-ignores</em> direc... | <p>There are two ways with subversion, one is specific to the user and the other is actually maintained in the repository, and therefore affects everyone.</p> <p>For a list of globally ignored files (exclusive to each user/machine), you need to edit the subversion config file and alter the <em>global-ignores</em> direc... | 63 | svn | <h1>How to remove a file/folder from a SVN repository and add to the ignore list</h1>
<p>This sounds like a look-up-in-the-manual question to me, but I can't find it. Suppose we have a repository with files and directories in it that shouldn't be under version control but rather should be on the ignore list (such as Ec... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,344 | svn | # How to remove a file/folder from a SVN repository and add to the ignore list
This sounds like a look-up-in-the-manual question to me, but I can't find it. Suppose we have a repository with files and directories in it that shouldn't be under version control but rather should be on the ignore list (such as Eclipse fil... | There are two ways with subversion, one is specific to the user and the other is actually maintained in the repository, and therefore affects everyone.
For a list of globally ignored files (exclusive to each user/machine), you need to edit the subversion config file and alter the *global-ignores* directive in the *mis... |
1496884 | Subversion marks unmodified files as modified | 30 | 2009-09-30 08:54:53 | <p>Here's an odd problem I encountered using Subversion: when merging from a development branch to trunk (or back, for that matter) Subversion would mark a lot of files as changed -- while they had no changes.</p>
<p>Here's what happens:</p>
<ol>
<li>In my branch I commit 1 modified file</li>
<li>In trunk I merge in ... | 11,154 | 56,430 | 2014-09-25 15:11:43 | 1,498,040 | 31 | 2009-09-30 13:14:11 | 52,626 | 2014-09-25 15:11:43 | https://stackoverflow.com/q/1496884 | https://stackoverflow.com/a/1498040 | <p>What happens is that once a file/folder has explicit mergeinfo (i.e., a <code>svn:mergeinfo</code> property), each subsequent merge to the branch will update that mergeinfo even if the file/folder is unrelated. This is indeed annoying as it introduces more and more clutter in the changelist for each merge.</p>
<p>T... | <p>What happens is that once a file/folder has explicit mergeinfo (i.e., a <code>svn:mergeinfo</code> property), each subsequent merge to the branch will update that mergeinfo even if the file/folder is unrelated. This is indeed annoying as it introduces more and more clutter in the changelist for each merge.</p> <p>T... | 63, 717 | merge, svn | <h1>Subversion marks unmodified files as modified</h1>
<p>Here's an odd problem I encountered using Subversion: when merging from a development branch to trunk (or back, for that matter) Subversion would mark a lot of files as changed -- while they had no changes.</p>
<p>Here's what happens:</p>
<ol>
<li>In my branch... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,345 | svn | # Subversion marks unmodified files as modified
Here's an odd problem I encountered using Subversion: when merging from a development branch to trunk (or back, for that matter) Subversion would mark a lot of files as changed -- while they had no changes.
Here's what happens:
1. In my branch I commit 1 modified file
... | What happens is that once a file/folder has explicit mergeinfo (i.e., a `svn:mergeinfo` property), each subsequent merge to the branch will update that mergeinfo even if the file/folder is unrelated. This is indeed annoying as it introduces more and more clutter in the changelist for each merge.
To avoid this, only me... |
4803881 | How to set kdiff3 as merge tool for SVN | 27 | 2011-01-26 11:11:47 | <p>I would like to be able to resolve conflicts using kdiff3, when SVN notifies me about the conflict. How can I set it as a default tool for this?</p>
| 23,838 | 98,494 | 2016-11-26 17:51:44 | 4,804,842 | 31 | 2011-01-26 13:02:11 | 312,067 | 2016-11-26 17:50:45 | https://stackoverflow.com/q/4803881 | https://stackoverflow.com/a/4804842 | <p>Go to the Subversion configuration file (<code>/etc/subversion/config</code> or <code>~/.subversion/config</code>), and set <code>merge-tool-cmd</code> variable with your favourite tool:</p>
<pre><code>### Set merge-tool-cmd to the command used to invoke your external
### merging tool of choice. Subversion will pas... | <p>Go to the Subversion configuration file (<code>/etc/subversion/config</code> or <code>~/.subversion/config</code>), and set <code>merge-tool-cmd</code> variable with your favourite tool:</p> <pre><code>### Set merge-tool-cmd to the command used to invoke your external ### merging tool of choice. Subversion will pas... | 63, 717, 3146, 39542 | conflict, kdiff3, merge, svn | <h1>How to set kdiff3 as merge tool for SVN</h1>
<p>I would like to be able to resolve conflicts using kdiff3, when SVN notifies me about the conflict. How can I set it as a default tool for this?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,346 | svn | # How to set kdiff3 as merge tool for SVN
I would like to be able to resolve conflicts using kdiff3, when SVN notifies me about the conflict. How can I set it as a default tool for this? | Go to the Subversion configuration file (`/etc/subversion/config` or `~/.subversion/config`), and set `merge-tool-cmd` variable with your favourite tool:
```
### Set merge-tool-cmd to the command used to invoke your external
### merging tool of choice. Subversion will pass 4 arguments to
### the specified command: bas... |
9620553 | Resolve postponed conflicts with SVN | 25 | 2012-03-08 15:51:07 | <p>I'm fairly new to SVN command line in a team environment. I accidentally postponed merging revisions. After doing:</p>
<pre><code>svn status
</code></pre>
<p>I get:</p>
<pre><code>? Trivial/Trivial.xcodeproj/project.pbxproj.mine
? Trivial/Trivial.xcodeproj/project.pbxproj.r280
? Trivial/Trivia... | 21,129 | 443,554 | 2014-03-19 09:57:31 | 9,621,320 | 31 | 2012-03-08 16:39:52 | 7,267 | 2013-02-06 09:30:57 | https://stackoverflow.com/q/9620553 | https://stackoverflow.com/a/9621320 | <p>Those files exist to help you run diffs or 3-way merges. The main version of the file will contain the conflicting code as well with markers surrounding the conflicts. So another option is to just edit the main file, search for those markers. Resolve the conflicts and remove the markers.</p>
<p>When done, you ru... | <p>Those files exist to help you run diffs or 3-way merges. The main version of the file will contain the conflicting code as well with markers surrounding the conflicts. So another option is to just edit the main file, search for those markers. Resolve the conflicts and remove the markers.</p> <p>When done, you ru... | 63, 11603 | svn, visualsvn-server | <h1>Resolve postponed conflicts with SVN</h1>
<p>I'm fairly new to SVN command line in a team environment. I accidentally postponed merging revisions. After doing:</p>
<pre><code>svn status
</code></pre>
<p>I get:</p>
<pre><code>? Trivial/Trivial.xcodeproj/project.pbxproj.mine
? Trivial/Trivial.xcodepr... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,347 | svn | # Resolve postponed conflicts with SVN
I'm fairly new to SVN command line in a team environment. I accidentally postponed merging revisions. After doing:
```
svn status
```
I get:
```
? Trivial/Trivial.xcodeproj/project.pbxproj.mine
? Trivial/Trivial.xcodeproj/project.pbxproj.r280
? Trivial/Trivia... | Those files exist to help you run diffs or 3-way merges. The main version of the file will contain the conflicting code as well with markers surrounding the conflicts. So another option is to just edit the main file, search for those markers. Resolve the conflicts and remove the markers.
When done, you run a command l... |
987337 | Preserving history when merging Subversion branches | 24 | 2009-06-12 15:34:15 | <p>Is there any way to perform a merge with subversion 1.6 which would preserve the branch's history?</p>
<pre><code>trunk: r1 --> r2 --------------> r5
branch: \--> r3 --> r4 /
</code></pre>
<p>such as that when I merge at r4 the history will contain r3 <em>and</em> r4? At the moment subversion... | 12,277 | 112,671 | 2012-05-31 23:32:43 | 987,425 | 31 | 2009-06-12 15:47:00 | 80,458 | 2009-06-12 15:47:00 | https://stackoverflow.com/q/987337 | https://stackoverflow.com/a/987425 | <p>What does it mean to preserve branch's history? If you want <code>svn log</code> and <code>svn blame</code> to see through merges, use option <code>--use-merge-history</code> or <code>-g</code>.</p>
| <p>What does it mean to preserve branch's history? If you want <code>svn log</code> and <code>svn blame</code> to see through merges, use option <code>--use-merge-history</code> or <code>-g</code>.</p> | 63, 717 | merge, svn | <h1>Preserving history when merging Subversion branches</h1>
<p>Is there any way to perform a merge with subversion 1.6 which would preserve the branch's history?</p>
<pre><code>trunk: r1 --> r2 --------------> r5
branch: \--> r3 --> r4 /
</code></pre>
<p>such as that when I merge at r4 the hist... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,348 | svn | # Preserving history when merging Subversion branches
Is there any way to perform a merge with subversion 1.6 which would preserve the branch's history?
```
trunk: r1 --> r2 --------------> r5
branch: \--> r3 --> r4 /
```
such as that when I merge at r4 the history will contain r3 *and* r4? At the moment s... | What does it mean to preserve branch's history? If you want `svn log` and `svn blame` to see through merges, use option `--use-merge-history` or `-g`. |
6565717 | Tortoise SVN creating repository problem | 22 | 2011-07-03 21:37:30 | <p>I've a problem with Tortoise SVN on my local machine. I've tried to create repository folder, and got a message:</p>
<blockquote>
<p>Subversion reported an error while creating a repository!
Make sure the folder is empty and not write protected.</p>
</blockquote>
<p>In fact there is enough disk space, and dire... | 22,526 | 653,511 | 2020-11-29 23:10:30 | 7,657,791 | 31 | 2011-10-05 07:05:14 | 2,603,665 | 2011-10-05 07:05:14 | https://stackoverflow.com/q/6565717 | https://stackoverflow.com/a/7657791 | <p>The menu is a bit misleading. There are 2 ways to create a new repository with TortoiseSVN:</p>
<ol>
<li>No directory is selected
<ul>
<li>Start in a directory</li>
<li>Create there a new directory with a reasonable name for you (like <code>my_repo</code>)</li>
<li>Go into that directory</li>
<li>Select from the co... | <p>The menu is a bit misleading. There are 2 ways to create a new repository with TortoiseSVN:</p> <ol> <li>No directory is selected <ul> <li>Start in a directory</li> <li>Create there a new directory with a reasonable name for you (like <code>my_repo</code>)</li> <li>Go into that directory</li> <li>Select from the co... | 63, 656 | svn, tortoisesvn | <h1>Tortoise SVN creating repository problem</h1>
<p>I've a problem with Tortoise SVN on my local machine. I've tried to create repository folder, and got a message:</p>
<blockquote>
<p>Subversion reported an error while creating a repository!
Make sure the folder is empty and not write protected.</p>
</blockquote... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,349 | svn | # Tortoise SVN creating repository problem
I've a problem with Tortoise SVN on my local machine. I've tried to create repository folder, and got a message:
> Subversion reported an error while creating a repository!
> Make sure the folder is empty and not write protected.
In fact there is enough disk space, and dire... | The menu is a bit misleading. There are 2 ways to create a new repository with TortoiseSVN:
1. No directory is selected
- Start in a directory
- Create there a new directory with a reasonable name for you (like `my_repo`)
- Go into that directory
- Select from the context menu `TortoiseSVN > Create reposit... |
3248319 | showing subversion history recursively below subfolder/path | 16 | 2010-07-14 16:26:35 | <p><code>svn help log</code> doesn't give me an option to see the history recursively.</p>
<p><code>svn log -l3 --recursive SVN_ROOT_URL</code> does not work. I would expect that it gives me the last 3 commits below SVN_ROOT_URL.</p>
<p>This is really annoying. I always have to start my IDE or look at team-city to se... | 8,464 | 236,370 | 2013-10-24 08:52:00 | 3,352,283 | 31 | 2010-07-28 11:17:35 | 236,370 | 2010-07-28 11:17:35 | https://stackoverflow.com/q/3248319 | https://stackoverflow.com/a/3352283 | <p><code>svn log</code> is already doing it recursively. My error was, that I didn't do an <code>svn update</code> before.</p>
<p>If you don't want to do a <code>svn update</code> to "protect" your working-copy do the log command on the server destination:</p>
<pre>
<code>
$ svn info .
...
URL: http://rep.com/svn/foo... | <p><code>svn log</code> is already doing it recursively. My error was, that I didn't do an <code>svn update</code> before.</p> <p>If you don't want to do a <code>svn update</code> to "protect" your working-copy do the log command on the server destination:</p> <pre> <code> $ svn info . ... URL: http://rep.com/svn/foo... | 63, 456 | svn, version-control | <h1>showing subversion history recursively below subfolder/path</h1>
<p><code>svn help log</code> doesn't give me an option to see the history recursively.</p>
<p><code>svn log -l3 --recursive SVN_ROOT_URL</code> does not work. I would expect that it gives me the last 3 commits below SVN_ROOT_URL.</p>
<p>This is real... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,350 | svn | # showing subversion history recursively below subfolder/path
`svn help log` doesn't give me an option to see the history recursively.
`svn log -l3 --recursive SVN_ROOT_URL` does not work. I would expect that it gives me the last 3 commits below SVN_ROOT_URL.
This is really annoying. I always have to start my IDE or... | `svn log` is already doing it recursively. My error was, that I didn't do an `svn update` before.
If you don't want to do a `svn update` to "protect" your working-copy do the log command on the server destination:
```
$ svn info .
...
URL: http://rep.com/svn/foo
...
$ svn log -v http://rep.com/svn/foo
```
i use the ... |
1188026 | Source control for Visual Studio that doesn't require a server? | 13 | 2009-07-27 12:57:27 | <p>Can anyone recommend a source control solution for Visual Studio? I am going to be the only person using it, I just need something to back up my data every so often or before I undertake a big change in the software. I tried AnkhSVN, but this requires an SVN server. Is there anything that can be used locally that ta... | 6,401 | 139,766 | 2020-07-31 18:43:13 | 1,188,036 | 31 | 2009-07-27 12:59:24 | 19,635 | 2020-07-31 18:43:13 | https://stackoverflow.com/q/1188026 | https://stackoverflow.com/a/1188036 | <p>With <a href="https://subversion.apache.org/" rel="nofollow noreferrer">Subversion</a> you can create local, file-system-based repositories for single-user access.</p>
<p>Probably the easiest way to use subversion (on windows) is to install <a href="https://tortoisesvn.net/" rel="nofollow noreferrer">TortoiseSVN</a>... | <p>With <a href="https://subversion.apache.org/" rel="nofollow noreferrer">Subversion</a> you can create local, file-system-based repositories for single-user access.</p> <p>Probably the easiest way to use subversion (on windows) is to install <a href="https://tortoisesvn.net/" rel="nofollow noreferrer">TortoiseSVN</a>... | 1, 9, 63, 456, 33953 | .net, c#, svn, version-control, visual-studio | <h1>Source control for Visual Studio that doesn't require a server?</h1>
<p>Can anyone recommend a source control solution for Visual Studio? I am going to be the only person using it, I just need something to back up my data every so often or before I undertake a big change in the software. I tried AnkhSVN, but this r... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,351 | svn | # Source control for Visual Studio that doesn't require a server?
Can anyone recommend a source control solution for Visual Studio? I am going to be the only person using it, I just need something to back up my data every so often or before I undertake a big change in the software. I tried AnkhSVN, but this requires a... | With [Subversion](https://subversion.apache.org/) you can create local, file-system-based repositories for single-user access.
Probably the easiest way to use subversion (on windows) is to install [TortoiseSVN](https://tortoisesvn.net/). To create a repository, you simply create an empty folder in the location where y... |
35983 | Rolling back bad changes with svn in Eclipse | 83 | 2008-08-30 14:22:55 | <p>Let's say I have committed some bad changes to Subversion repository. Then I commit good changes, that I want to keep.</p>
<p>What would be easiest way to roll back those bad changes in Eclipse, and keep the good changes? Assuming that files relating to bad changes are not same as those relating to the good changes... | 106,385 | 1,431 | 2016-10-24 16:49:14 | 36,063 | 30 | 2008-08-30 15:54:19 | 2,274 | 2013-02-06 06:49:16 | https://stackoverflow.com/q/35983 | https://stackoverflow.com/a/36063 | <p>You have two choices to do this.</p>
<p>The Quick and Dirty is selecting your files (using <kbd>ctrl</kbd>) in Project Explorer view, right-click them, choose <code>Replace with...</code> and then you choose the best option for you, from <code>Latest from Repository</code>, or some <code>Branch</code> version. Afte... | <p>You have two choices to do this.</p> <p>The Quick and Dirty is selecting your files (using <kbd>ctrl</kbd>) in Project Explorer view, right-click them, choose <code>Replace with...</code> and then you choose the best option for you, from <code>Latest from Repository</code>, or some <code>Branch</code> version. Afte... | 53, 55, 63, 3311 | eclipse, subclipse, subversive, svn | <h1>Rolling back bad changes with svn in Eclipse</h1>
<p>Let's say I have committed some bad changes to Subversion repository. Then I commit good changes, that I want to keep.</p>
<p>What would be easiest way to roll back those bad changes in Eclipse, and keep the good changes? Assuming that files relating to bad chan... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,352 | svn | # Rolling back bad changes with svn in Eclipse
Let's say I have committed some bad changes to Subversion repository. Then I commit good changes, that I want to keep.
What would be easiest way to roll back those bad changes in Eclipse, and keep the good changes? Assuming that files relating to bad changes are not same... | You have two choices to do this.
The Quick and Dirty is selecting your files (using `ctrl`) in Project Explorer view, right-click them, choose `Replace with...` and then you choose the best option for you, from `Latest from Repository`, or some `Branch` version. After getting those files you modify them (with a space,... |
23406956 | What is percent of authorship in TortoiseSVN statistics? | 32 | 2014-05-01 10:34:30 | <p>In statistics section of TortoiseSVN, there is something called percent of authorship. What is this? How is this calculated? and how can it be useful?</p>
| 7,556 | 235,171 | 2014-06-26 18:20:55 | 24,437,494 | 30 | 2014-06-26 18:17:49 | 395,857 | 2014-06-26 18:17:49 | https://stackoverflow.com/q/23406956 | https://stackoverflow.com/a/24437494 | <p>The percent of authorship is a metric that aims at <a href="http://tigris-scm.10930.n7.nabble.com/Percent-of-authorship-td35688.html">quantifying the contribution of each committer</a>.</p>
<blockquote>
<p>In theory, it should be indeed lines-changes, but aggregated through
the entire history of the file, wit... | <p>The percent of authorship is a metric that aims at <a href="http://tigris-scm.10930.n7.nabble.com/Percent-of-authorship-td35688.html">quantifying the contribution of each committer</a>.</p> <blockquote> <p>In theory, it should be indeed lines-changes, but aggregated through the entire history of the file, wit... | 63, 656 | svn, tortoisesvn | <h1>What is percent of authorship in TortoiseSVN statistics?</h1>
<p>In statistics section of TortoiseSVN, there is something called percent of authorship. What is this? How is this calculated? and how can it be useful?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,354 | svn | # What is percent of authorship in TortoiseSVN statistics?
In statistics section of TortoiseSVN, there is something called percent of authorship. What is this? How is this calculated? and how can it be useful? | The percent of authorship is a metric that aims at [quantifying the contribution of each committer](http://tigris-scm.10930.n7.nabble.com/Percent-of-authorship-td35688.html).
> In theory, it should be indeed lines-changes, but aggregated through
> the entire history of the file, with diminishing weight.
> Additionally... |
4000587 | How do I add File to SVN without Checking out | 32 | 2010-10-22 20:11:51 | <p>I would like to add a file to a remote svn repository without checking out the project. </p>
<p><code>svn add</code> requires the project to be checked out</p>
<p><code>svn import</code> seems to only import directories</p>
<p>Any ideas?</p>
| 19,090 | 367,685 | 2010-10-22 20:50:53 | 4,000,619 | 30 | 2010-10-22 20:16:09 | 5,555 | 2010-10-22 20:16:09 | https://stackoverflow.com/q/4000587 | https://stackoverflow.com/a/4000619 | <p>You should be able to use <code>svn import</code>:</p>
<pre><code>$ svn help import
import: Commit an unversioned file or tree into the repository.
</code></pre>
<p>Import is able to add individual files and trees to a repository.</p>
| <p>You should be able to use <code>svn import</code>:</p> <pre><code>$ svn help import import: Commit an unversioned file or tree into the repository. </code></pre> <p>Import is able to add individual files and trees to a repository.</p> | 63 | svn | <h1>How do I add File to SVN without Checking out</h1>
<p>I would like to add a file to a remote svn repository without checking out the project. </p>
<p><code>svn add</code> requires the project to be checked out</p>
<p><code>svn import</code> seems to only import directories</p>
<p>Any ideas?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,355 | svn | # How do I add File to SVN without Checking out
I would like to add a file to a remote svn repository without checking out the project.
`svn add` requires the project to be checked out
`svn import` seems to only import directories
Any ideas? | You should be able to use `svn import`:
```
$ svn help import
import: Commit an unversioned file or tree into the repository.
```
Import is able to add individual files and trees to a repository. |
5566327 | Delete all traces of a SVN commit | 25 | 2011-04-06 12:27:23 | <p>Someone in our team accidentally committed files containing a password to our repository. The password can't easily be changed.</p>
<p>Is there a way, with full admin permissions, to delete all traces of this commit? I'm not talking about a revert or delete, which would obviously keep the password in the file histo... | 13,577 | 318,557 | 2011-04-06 13:10:31 | 5,566,438 | 30 | 2011-04-06 12:35:49 | 42,126 | 2011-04-06 13:10:31 | https://stackoverflow.com/q/5566327 | https://stackoverflow.com/a/5566438 | <p>Yes, but it is not for the faint of heart. You have to use <code>svnadmin dump</code> and <code>svnadmin load</code> to recreate your repository.</p>
<p>If you choose to do this, the first step is to <strong>stop your users from committing</strong>, and make a backup of your repository. I also recommend walking thr... | <p>Yes, but it is not for the faint of heart. You have to use <code>svnadmin dump</code> and <code>svnadmin load</code> to recreate your repository.</p> <p>If you choose to do this, the first step is to <strong>stop your users from committing</strong>, and make a backup of your repository. I also recommend walking thr... | 63 | svn | <h1>Delete all traces of a SVN commit</h1>
<p>Someone in our team accidentally committed files containing a password to our repository. The password can't easily be changed.</p>
<p>Is there a way, with full admin permissions, to delete all traces of this commit? I'm not talking about a revert or delete, which would ob... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,356 | svn | # Delete all traces of a SVN commit
Someone in our team accidentally committed files containing a password to our repository. The password can't easily be changed.
Is there a way, with full admin permissions, to delete all traces of this commit? I'm not talking about a revert or delete, which would obviously keep the... | Yes, but it is not for the faint of heart. You have to use `svnadmin dump` and `svnadmin load` to recreate your repository.
If you choose to do this, the first step is to **stop your users from committing**, and make a backup of your repository. I also recommend walking through the steps on a copy of your repository; ... |
10519667 | check the last commit message in subversion | 22 | 2012-05-09 15:56:10 | <p>Why is it when I execute the following command just after making a commit I get the commit message, but all other times I just get a line of dashes?</p>
<pre><code>svn log -r head
</code></pre>
<p>Quite often I want to browse to a branch in my filesystem, check what branch it represents in subversion and check wha... | 35,586 | 691,505 | 2012-05-09 16:01:33 | 10,519,778 | 30 | 2012-05-09 16:01:33 | 718,618 | 2012-05-09 16:01:33 | https://stackoverflow.com/q/10519667 | https://stackoverflow.com/a/10519778 | <p>If you want to get the last commit message of a branch try this : </p>
<pre><code>svn log -l 1 BRANCH_URL
</code></pre>
<p>The <code>-l 1</code> is here to limit the size of the log to the last message.</p>
<p>If you want to check the last message of commit in your current working copy, try this : </p>
<pre><cod... | <p>If you want to get the last commit message of a branch try this : </p> <pre><code>svn log -l 1 BRANCH_URL </code></pre> <p>The <code>-l 1</code> is here to limit the size of the log to the last message.</p> <p>If you want to check the last message of commit in your current working copy, try this : </p> <pre><cod... | 63, 456, 1231 | command-line, svn, version-control | <h1>check the last commit message in subversion</h1>
<p>Why is it when I execute the following command just after making a commit I get the commit message, but all other times I just get a line of dashes?</p>
<pre><code>svn log -r head
</code></pre>
<p>Quite often I want to browse to a branch in my filesystem, check ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,358 | svn | # check the last commit message in subversion
Why is it when I execute the following command just after making a commit I get the commit message, but all other times I just get a line of dashes?
```
svn log -r head
```
Quite often I want to browse to a branch in my filesystem, check what branch it represents in subv... | If you want to get the last commit message of a branch try this :
```
svn log -l 1 BRANCH_URL
```
The `-l 1` is here to limit the size of the log to the last message.
If you want to check the last message of commit in your current working copy, try this :
```
svn log -r COMMITTED
``` |
7943034 | NetBeans 7.x and Subversion 1.7.1 | 22 | 2011-10-30 02:56:52 | <p>After upgrading to the latest TortoiseSVN and checking out a repo, NetBeans is complaining about not having the right version of the SVN client. No problem, I downloaded <a href="http://sourceforge.net/projects/win32svn" rel="noreferrer">Win32SVN</a> which is 1.7.0 (tortoise is 1.7.1, but that shouldn't be a problem... | 21,042 | 467,386 | 2012-01-10 09:40:42 | 7,943,094 | 30 | 2011-10-30 03:14:09 | 467,386 | 2011-11-21 11:01:17 | https://stackoverflow.com/q/7943034 | https://stackoverflow.com/a/7943094 | <p>All that was needed, in addition to the steps I followed, above (installing Win32SVN and pointing NetBeans to the command line client, was to actually tell the IDE to use the command line client rather than the built-in client (which should be updated by Nov 2011, <a href="http://netbeans.org/projects/versioncontrol... | <p>All that was needed, in addition to the steps I followed, above (installing Win32SVN and pointing NetBeans to the command line client, was to actually tell the IDE to use the command line client rather than the built-in client (which should be updated by Nov 2011, <a href="http://netbeans.org/projects/versioncontrol... | 63, 2176 | netbeans, svn | <h1>NetBeans 7.x and Subversion 1.7.1</h1>
<p>After upgrading to the latest TortoiseSVN and checking out a repo, NetBeans is complaining about not having the right version of the SVN client. No problem, I downloaded <a href="http://sourceforge.net/projects/win32svn" rel="noreferrer">Win32SVN</a> which is 1.7.0 (tortois... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,359 | svn | # NetBeans 7.x and Subversion 1.7.1
After upgrading to the latest TortoiseSVN and checking out a repo, NetBeans is complaining about not having the right version of the SVN client. No problem, I downloaded [Win32SVN](http://sourceforge.net/projects/win32svn) which is 1.7.0 (tortoise is 1.7.1, but that shouldn't be a p... | All that was needed, in addition to the steps I followed, above (installing Win32SVN and pointing NetBeans to the command line client, was to actually tell the IDE to use the command line client rather than the built-in client (which should be updated by Nov 2011, [according to the devs](http://netbeans.org/projects/ve... |
2269996 | SVN: What does the status "switched relative to its parent" mean? | 20 | 2010-02-16 00:58:14 | <p>I'm trying to update our live site from the SVN repository. As far as I know, there's nothing in the repos. itself that should conflict with anything in the working copy dir. But when I try to "svn up" on the public root directory, I get the following error:</p>
<pre><code>svn: REPORT request failed on '/svn/oursit... | 17,534 | 124,732 | 2011-10-17 14:17:22 | 2,270,057 | 30 | 2010-02-16 01:18:14 | 52,626 | 2011-10-17 14:17:22 | https://stackoverflow.com/q/2269996 | https://stackoverflow.com/a/2270057 | <p>In the same folder as the one where you ran <code>svn status</code>, run the following command:</p>
<pre><code>svn info app
</code></pre>
<p>This will show you at which URL the svn metadata of the app folder is pointing. You'll probably see that it is pointing to another location compared to the one you'd expect b... | <p>In the same folder as the one where you ran <code>svn status</code>, run the following command:</p> <pre><code>svn info app </code></pre> <p>This will show you at which URL the svn metadata of the app folder is pointing. You'll probably see that it is pointing to another location compared to the one you'd expect b... | 63 | svn | <h1>SVN: What does the status "switched relative to its parent" mean?</h1>
<p>I'm trying to update our live site from the SVN repository. As far as I know, there's nothing in the repos. itself that should conflict with anything in the working copy dir. But when I try to "svn up" on the public root directory, I get the ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,360 | svn | # SVN: What does the status "switched relative to its parent" mean?
I'm trying to update our live site from the SVN repository. As far as I know, there's nothing in the repos. itself that should conflict with anything in the working copy dir. But when I try to "svn up" on the public root directory, I get the following... | In the same folder as the one where you ran `svn status`, run the following command:
```
svn info app
```
This will show you at which URL the svn metadata of the app folder is pointing. You'll probably see that it is pointing to another location compared to the one you'd expect based on the URL for the parent folder.... |
6330613 | How to update a SVN file without performing a checkout? | 18 | 2011-06-13 12:50:25 | <p>I am writing some scripts to update the Linux box's SVN repo with newer versions of xml files. The repo is huge, and there is no checkout version on the same box. The idea is to update the xml without a working copy. Is that possible or do I need to checkout to a temporary folder, copy/overwrite, check in and delete... | 19,133 | 275,133 | 2017-12-06 16:27:05 | 6,333,575 | 30 | 2011-06-13 16:52:32 | 368,630 | 2014-06-13 16:27:24 | https://stackoverflow.com/q/6330613 | https://stackoverflow.com/a/6333575 | <p>Is the issue that you don't want to bother with the checkout, or because you are afraid that if you do a checkout, you'll have to checkout a lot of files?</p>
<p>You have to do a checkout in Subversion. You can't simply submit changes without a working copy. (Not entirely true, you can do <code>svn delete</code> an... | <p>Is the issue that you don't want to bother with the checkout, or because you are afraid that if you do a checkout, you'll have to checkout a lot of files?</p> <p>You have to do a checkout in Subversion. You can't simply submit changes without a working copy. (Not entirely true, you can do <code>svn delete</code> an... | 63 | svn | <h1>How to update a SVN file without performing a checkout?</h1>
<p>I am writing some scripts to update the Linux box's SVN repo with newer versions of xml files. The repo is huge, and there is no checkout version on the same box. The idea is to update the xml without a working copy. Is that possible or do I need to ch... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,362 | svn | # How to update a SVN file without performing a checkout?
I am writing some scripts to update the Linux box's SVN repo with newer versions of xml files. The repo is huge, and there is no checkout version on the same box. The idea is to update the xml without a working copy. Is that possible or do I need to checkout to... | Is the issue that you don't want to bother with the checkout, or because you are afraid that if you do a checkout, you'll have to checkout a lot of files?
You have to do a checkout in Subversion. You can't simply submit changes without a working copy. (Not entirely true, you can do `svn delete` and `svn mkdir` without... |
19678860 | svn: using vim to merge conflicts | 12 | 2013-10-30 09:49:00 | <p>I am trying see how merging in svn can be made easy.</p>
<p>This <a href="http://svnbook.red-bean.com/en/1.7/svn.advanced.externaldifftools.html" rel="noreferrer">page</a> mentions that external tools can be used for merging.
Can vim be used as the external merge tool?</p>
<p>Some additional requirements:</p>
<ol... | 5,107 | 707,519 | 2017-08-30 20:38:50 | 19,678,861 | 30 | 2013-10-30 09:49:00 | 707,519 | 2017-08-30 20:38:50 | https://stackoverflow.com/q/19678860 | https://stackoverflow.com/a/19678861 | <p>Step 1:</p>
<p>Save the following script, e.g: merger.sh:</p>
<pre><code>#!/bin/sh
#
BASE=${1}
THEIRS=${2}
MINE=${3}
MERGED=${4}
WCPATH=${5}
vimdiff $MINE $THEIRS -c ":botright split $MERGED" -c ":diffthis" -c "setl statusline=MERGED | wincmd W | setl statusline=THEIRS | wincmd W | setl statusline=MINE"
</code>... | <p>Step 1:</p> <p>Save the following script, e.g: merger.sh:</p> <pre><code>#!/bin/sh # BASE=${1} THEIRS=${2} MINE=${3} MERGED=${4} WCPATH=${5} vimdiff $MINE $THEIRS -c ":botright split $MERGED" -c ":diffthis" -c "setl statusline=MERGED | wincmd W | setl statusline=THEIRS | wincmd W | setl statusline=MINE" </code>... | 63, 370 | svn, vim | <h1>svn: using vim to merge conflicts</h1>
<p>I am trying see how merging in svn can be made easy.</p>
<p>This <a href="http://svnbook.red-bean.com/en/1.7/svn.advanced.externaldifftools.html" rel="noreferrer">page</a> mentions that external tools can be used for merging.
Can vim be used as the external merge tool?</p>... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,365 | svn | # svn: using vim to merge conflicts
I am trying see how merging in svn can be made easy.
This [page](http://svnbook.red-bean.com/en/1.7/svn.advanced.externaldifftools.html) mentions that external tools can be used for merging.
Can vim be used as the external merge tool?
Some additional requirements:
1. Files should... | Step 1:
Save the following script, e.g: merger.sh:
```
#!/bin/sh
#
BASE=${1}
THEIRS=${2}
MINE=${3}
MERGED=${4}
WCPATH=${5}
vimdiff $MINE $THEIRS -c ":botright split $MERGED" -c ":diffthis" -c "setl statusline=MERGED | wincmd W | setl statusline=THEIRS | wincmd W | setl statusline=MINE"
```
Step 2:
Edit `.subvers... |
3745744 | list directory entries in the svn repository? | 10 | 2010-09-19 12:54:20 | <p>How can I write a bash script to list directory entries in the svn repository?
I want to write bash file because i have a large number of repositories.</p>
| 36,658 | 472,382 | 2014-02-18 14:06:38 | 3,745,836 | 30 | 2010-09-19 13:22:29 | 256,618 | 2010-09-19 13:59:55 | https://stackoverflow.com/q/3745744 | https://stackoverflow.com/a/3745836 | <p>If you are the subversion administrator, the following command will return the directories located in your repository.</p>
<pre><code>svnlook tree $REPO_DIR --full-paths | egrep "/$"
</code></pre>
<p>The trick is the grep command that is looking for a trailing "/" character in the name</p>
<p>Same trick works for... | <p>If you are the subversion administrator, the following command will return the directories located in your repository.</p> <pre><code>svnlook tree $REPO_DIR --full-paths | egrep "/$" </code></pre> <p>The trick is the grep command that is looking for a trailing "/" character in the name</p> <p>Same trick works for... | 58, 63 | linux, svn | <h1>list directory entries in the svn repository?</h1>
<p>How can I write a bash script to list directory entries in the svn repository?
I want to write bash file because i have a large number of repositories.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,366 | svn | # list directory entries in the svn repository?
How can I write a bash script to list directory entries in the svn repository?
I want to write bash file because i have a large number of repositories. | If you are the subversion administrator, the following command will return the directories located in your repository.
```
svnlook tree $REPO_DIR --full-paths | egrep "/$"
```
The trick is the grep command that is looking for a trailing "/" character in the name
Same trick works for the svn command as well
```
svn ... |
162591 | Subversion: deleting old feature branches vs. keeping them | 40 | 2008-10-02 14:29:00 | <p>I have a subversion repository with the standard layout, i.e. trunk/ and branches/ (and tags/). When working on a bigger change, a feature branch is used, regularly synced with trunk, and later reintegrated back into trunk (using 1.5 now). Pretty standard stuff.</p>
<p>What I am wondering is whether such a feature ... | 8,911 | 15,677 | 2008-10-02 14:34:51 | 162,630 | 29 | 2008-10-02 14:34:51 | 5,840 | 2008-10-02 14:34:51 | https://stackoverflow.com/q/162591 | https://stackoverflow.com/a/162630 | <p>If you are really worried about deleting them, lest they be forgotten, then simply create a folder under branches called 'inactive' and <code>svn move</code> your older, inactive branches into that folder. This might be the best of both worlds for you.</p>
| <p>If you are really worried about deleting them, lest they be forgotten, then simply create a folder under branches called 'inactive' and <code>svn move</code> your older, inactive branches into that folder. This might be the best of both worlds for you.</p> | 63, 456, 1879 | branch, svn, version-control | <h1>Subversion: deleting old feature branches vs. keeping them</h1>
<p>I have a subversion repository with the standard layout, i.e. trunk/ and branches/ (and tags/). When working on a bigger change, a feature branch is used, regularly synced with trunk, and later reintegrated back into trunk (using 1.5 now). Pretty st... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,367 | svn | # Subversion: deleting old feature branches vs. keeping them
I have a subversion repository with the standard layout, i.e. trunk/ and branches/ (and tags/). When working on a bigger change, a feature branch is used, regularly synced with trunk, and later reintegrated back into trunk (using 1.5 now). Pretty standard st... | If you are really worried about deleting them, lest they be forgotten, then simply create a folder under branches called 'inactive' and `svn move` your older, inactive branches into that folder. This might be the best of both worlds for you. |
2472249 | Missing ranges error message when reintegrating a branch into trunk in Subversion 1.5 | 32 | 2010-03-18 18:02:49 | <p>I'm trying to reintegrate a development branch into the trunk in my Subversion 1.5 repository. I merged all the changes from the trunk to the development branch prior to this operation. Now when I try to reintegrate the changes from the branch I get the following error message:</p>
<pre><code>Command: Reintegrate me... | 34,611 | 226,640 | 2019-05-24 13:53:22 | 2,474,606 | 29 | 2010-03-19 02:22:13 | 23,264 | 2010-03-19 02:22:13 | https://stackoverflow.com/q/2472249 | https://stackoverflow.com/a/2474606 | <p>You have to merge the revisions r280 to r324 from trunk into your branch first.</p>
<p>It seems you already merged r325 into your branch, however --reintegrate needs to get <em>all</em> revisions up to your latest revision merged. There must be no gap.
So here a little Diag:</p>
<pre><code> +------------... | <p>You have to merge the revisions r280 to r324 from trunk into your branch first.</p> <p>It seems you already merged r325 into your branch, however --reintegrate needs to get <em>all</em> revisions up to your latest revision merged. There must be no gap. So here a little Diag:</p> <pre><code> +------------... | 63, 717, 1879, 1880, 30483 | branch, merge, svn, svn-reintegrate, trunk | <h1>Missing ranges error message when reintegrating a branch into trunk in Subversion 1.5</h1>
<p>I'm trying to reintegrate a development branch into the trunk in my Subversion 1.5 repository. I merged all the changes from the trunk to the development branch prior to this operation. Now when I try to reintegrate the ch... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,368 | svn | # Missing ranges error message when reintegrating a branch into trunk in Subversion 1.5
I'm trying to reintegrate a development branch into the trunk in my Subversion 1.5 repository. I merged all the changes from the trunk to the development branch prior to this operation. Now when I try to reintegrate the changes fro... | You have to merge the revisions r280 to r324 from trunk into your branch first.
It seems you already merged r325 into your branch, however --reintegrate needs to get *all* revisions up to your latest revision merged. There must be no gap.
So here a little Diag:
```
+----------------------> /branches/devel
... |
21322354 | Create "patch" between revisions? | 28 | 2014-01-24 00:49:37 | <p>It seems SVN's "patch" functionality is not exactly what I want. What I really want is to create a diff of files between revisions. So, I'd choose rev1 and rev 2 and end up with a folder containing all files that were changed or added between those revisions.</p>
<p>Can this be done with Tortoise SVN or plain-old s... | 32,011 | 374,198 | 2014-08-13 11:41:16 | 21,325,654 | 29 | 2014-01-24 06:11:15 | 2,492,443 | 2014-01-24 06:11:15 | https://stackoverflow.com/q/21322354 | https://stackoverflow.com/a/21325654 | <p>This can be achieved in tortoise SVN itself. Right click on the branch(folder) from where you want to create the patch >> <code>Show Log</code> >> Select All the revisions for which you need to create the patch >> Right Click and select <code>Compare revisions</code> >> This will show the changed files >> Select all... | <p>This can be achieved in tortoise SVN itself. Right click on the branch(folder) from where you want to create the patch >> <code>Show Log</code> >> Select All the revisions for which you need to create the patch >> Right Click and select <code>Compare revisions</code> >> This will show the changed files >> Select all... | 63, 606, 656, 2132 | diff, patch, svn, tortoisesvn | <h1>Create "patch" between revisions?</h1>
<p>It seems SVN's "patch" functionality is not exactly what I want. What I really want is to create a diff of files between revisions. So, I'd choose rev1 and rev 2 and end up with a folder containing all files that were changed or added between those revisions.</p>
<p>Can th... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,369 | svn | # Create "patch" between revisions?
It seems SVN's "patch" functionality is not exactly what I want. What I really want is to create a diff of files between revisions. So, I'd choose rev1 and rev 2 and end up with a folder containing all files that were changed or added between those revisions.
Can this be done with ... | This can be achieved in tortoise SVN itself. Right click on the branch(folder) from where you want to create the patch >> `Show Log` >> Select All the revisions for which you need to create the patch >> Right Click and select `Compare revisions` >> This will show the changed files >> Select all the files >> Right click... |
25196006 | Install just TortoiseMerge software and context menu items | 26 | 2014-08-08 04:22:23 | <p>I really love TortoiseMerge (TortoiseSVN's diff/merge software). I can download it standalone as a zip, but I really love when I can select two files and then <strong>right click and from the context menu</strong> click on "diff in tortoise". Is there any way I can install just this tool? I don't want the ... | 22,761 | 1,828,637 | 2023-10-06 13:43:34 | 26,002,744 | 29 | 2014-09-23 19:00:27 | 1,469,208 | 2015-06-30 19:47:38 | https://stackoverflow.com/q/25196006 | https://stackoverflow.com/a/26002744 | <p><s>You can't, sorry.</s> Yes, you can!</p>
<p><s>According to <a href="https://groups.google.com/d/msg/tortoisesvn/4aq1N9tZPYw/BTdowfGZoQ4J" rel="noreferrer">this forum thread</a> (from June, 2011, so pretty much over three years old), written by <a href="http://tortoisesvn.net/stefan_kueng.html" rel="noreferrer">S... | <p><s>You can't, sorry.</s> Yes, you can!</p> <p><s>According to <a href="https://groups.google.com/d/msg/tortoisesvn/4aq1N9tZPYw/BTdowfGZoQ4J" rel="noreferrer">this forum thread</a> (from June, 2011, so pretty much over three years old), written by <a href="http://tortoisesvn.net/stefan_kueng.html" rel="noreferrer">S... | 656, 41910 | tortoisemerge, tortoisesvn | <h1>Install just TortoiseMerge software and context menu items</h1>
<p>I really love TortoiseMerge (TortoiseSVN's diff/merge software). I can download it standalone as a zip, but I really love when I can select two files and then <strong>right click and from the context menu</strong> click on "diff in tortoise&quo... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,370 | svn | # Install just TortoiseMerge software and context menu items
I really love TortoiseMerge (TortoiseSVN's diff/merge software). I can download it standalone as a zip, but I really love when I can select two files and then **right click and from the context menu** click on "diff in tortoise". Is there any way I can insta... | ~~You can't, sorry.~~ Yes, you can!
~~According to [this forum thread](https://groups.google.com/d/msg/tortoisesvn/4aq1N9tZPYw/BTdowfGZoQ4J) (from June, 2011, so pretty much over three years old), written by [Stefan Küng](http://tortoisesvn.net/stefan_kueng.html), an author of TortoiseSVN, starting from version 1.7 of... |
3073639 | What does it mean if some files in TortoiseSVN are marked "deleted" and others "deleted (+)" with a plus sign? | 26 | 2010-06-18 23:21:02 | <p>I'm about to do a commit in TortoiseSVN involving rearranging a lot of files and directories. On the "commit" window, there are several files whose text status is "deleted" or "added" but others whose text status is "deleted (+)" or "added (+)". What does the (+) mean? </p>
<p>(It's quite difficult to Google for a ... | 10,849 | 65,977 | 2015-07-06 20:43:02 | 3,073,673 | 29 | 2010-06-18 23:26:38 | 75,170 | 2010-06-18 23:26:38 | https://stackoverflow.com/q/3073639 | https://stackoverflow.com/a/3073673 | <p>The "+" means that TortoiseSVN was able to figure out the item's history, and has added the history metadata to this commit. For instance, say you rename a file from <code>a</code> to <code>b</code>. If you see the <code>(+)</code>, Tortoise knows that you didn't really delete a file called <code>a</code> and make a... | <p>The "+" means that TortoiseSVN was able to figure out the item's history, and has added the history metadata to this commit. For instance, say you rename a file from <code>a</code> to <code>b</code>. If you see the <code>(+)</code>, Tortoise knows that you didn't really delete a file called <code>a</code> and make a... | 63, 656, 5310, 37510 | delete-file, file, svn, tortoisesvn | <h1>What does it mean if some files in TortoiseSVN are marked "deleted" and others "deleted (+)" with a plus sign?</h1>
<p>I'm about to do a commit in TortoiseSVN involving rearranging a lot of files and directories. On the "commit" window, there are several files whose text status is "deleted" or "added" but others wh... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,371 | svn | # What does it mean if some files in TortoiseSVN are marked "deleted" and others "deleted (+)" with a plus sign?
I'm about to do a commit in TortoiseSVN involving rearranging a lot of files and directories. On the "commit" window, there are several files whose text status is "deleted" or "added" but others whose text ... | The "+" means that TortoiseSVN was able to figure out the item's history, and has added the history metadata to this commit. For instance, say you rename a file from `a` to `b`. If you see the `(+)`, Tortoise knows that you didn't really delete a file called `a` and make a file called `b`, and has determined that a ren... |
8014425 | svn client doesn't work after upgrading to 1.7: working copy is too old | 20 | 2011-11-04 18:59:18 | <p>I was using VisualSVN client and server on local machine + MS Visual Studio for a while.</p>
<p>Today I decided to upgrade tortoisesvn to the latest version (because it popups every time that never version is available).</p>
<p>After that I can not commit/browse history etc. from VS. tortoisesvn reports such error... | 26,222 | 93,647 | 2015-09-11 22:43:25 | 8,014,477 | 29 | 2011-11-04 19:02:51 | 526,535 | 2011-11-04 19:52:09 | https://stackoverflow.com/q/8014425 | https://stackoverflow.com/a/8014477 | <p>Use <code>svn upgrade</code> ( added in 1.7) to upgrade your working copy.</p>
<p>Or Right click on the folder in Explorer -> Choose <code>SVN Upgrade working copy</code></p>
<p><a href="http://tortoisesvn.net/tsvn_1.7_releasenotes.html" rel="noreferrer">http://tortoisesvn.net/tsvn_1.7_releasenotes.html</a></p>
<... | <p>Use <code>svn upgrade</code> ( added in 1.7) to upgrade your working copy.</p> <p>Or Right click on the folder in Explorer -> Choose <code>SVN Upgrade working copy</code></p> <p><a href="http://tortoisesvn.net/tsvn_1.7_releasenotes.html" rel="noreferrer">http://tortoisesvn.net/tsvn_1.7_releasenotes.html</a></p> <... | 63, 656, 1991 | svn, tortoisesvn, visualsvn | <h1>svn client doesn't work after upgrading to 1.7: working copy is too old</h1>
<p>I was using VisualSVN client and server on local machine + MS Visual Studio for a while.</p>
<p>Today I decided to upgrade tortoisesvn to the latest version (because it popups every time that never version is available).</p>
<p>After ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,374 | svn | # svn client doesn't work after upgrading to 1.7: working copy is too old
I was using VisualSVN client and server on local machine + MS Visual Studio for a while.
Today I decided to upgrade tortoisesvn to the latest version (because it popups every time that never version is available).
After that I can not commit/b... | Use `svn upgrade` ( added in 1.7) to upgrade your working copy.
Or Right click on the folder in Explorer -> Choose `SVN Upgrade working copy`
<http://tortoisesvn.net/tsvn_1.7_releasenotes.html>
You will also have to update VisualSVN to 2.5.1 - <http://www.visualsvn.com/visualsvn/changes/> |
1449935 | Getting SVN revision number into a program automatically | 20 | 2009-09-20 00:33:45 | <p>I have a python project under SVN, and I'm wanting to display the version number when it is run. Is there any way of doing this (such as automatically running a short script on commit which could update a version file, or querying an SVN repository in Python?)</p>
| 34,967 | 14,902 | 2022-01-04 08:43:36 | 1,454,120 | 29 | 2009-09-21 11:43:56 | 34,024 | 2009-09-21 11:43:56 | https://stackoverflow.com/q/1449935 | https://stackoverflow.com/a/1454120 | <p>I'm not sure about the Python specifics, but if put the string $Revision$ into your file somewhere and you have enable-auto-props=true in your SVN config, it'll get rewritten to something like $Revision: 144$. You could then parse this in your script.</p>
<p>There are <a href="http://svnbook.red-bean.com/en/1.1/ch... | <p>I'm not sure about the Python specifics, but if put the string $Revision$ into your file somewhere and you have enable-auto-props=true in your SVN config, it'll get rewritten to something like $Revision: 144$. You could then parse this in your script.</p> <p>There are <a href="http://svnbook.red-bean.com/en/1.1/ch... | 16, 63, 1555 | python, revision, svn | <h1>Getting SVN revision number into a program automatically</h1>
<p>I have a python project under SVN, and I'm wanting to display the version number when it is run. Is there any way of doing this (such as automatically running a short script on commit which could update a version file, or querying an SVN repository in... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,375 | svn | # Getting SVN revision number into a program automatically
I have a python project under SVN, and I'm wanting to display the version number when it is run. Is there any way of doing this (such as automatically running a short script on commit which could update a version file, or querying an SVN repository in Python?) | I'm not sure about the Python specifics, but if put the string $Revision$ into your file somewhere and you have enable-auto-props=true in your SVN config, it'll get rewritten to something like $Revision: 144$. You could then parse this in your script.
There are [a number of property keywords you can use in this way](h... |
7164647 | Difference between mod_auth_ldap and mod_authnz_ldap | 18 | 2011-08-23 16:55:31 | <p>We use LDAP for Subversion access using Apache httpd. We originally had all of our Subversion repositories accessible by all users using the following:</p>
<pre><code><Location /src>
DAV svn
SVNParentPath /opt/svn_repos
AuthType basic
AuthName "SVN Repository"
AuthBasicProvider ldap
Au... | 13,546 | 368,630 | 2012-04-20 15:24:53 | 10,249,022 | 29 | 2012-04-20 15:24:53 | 368,630 | 2012-04-20 15:24:53 | https://stackoverflow.com/q/7164647 | https://stackoverflow.com/a/10249022 | <p>Anyone else who came across this question. It has to do with the newer versions of Apache httpd. My confusion stemmed from the changes between version 2.1 and 2.2 of httpd. Since I had Apache 2.2, I was suppose to use the new framework:</p>
<ul>
<li><code>mod_auth_ldap</code> is for Apache versions before 2.2</li>
... | <p>Anyone else who came across this question. It has to do with the newer versions of Apache httpd. My confusion stemmed from the changes between version 2.1 and 2.2 of httpd. Since I had Apache 2.2, I was suppose to use the new framework:</p> <ul> <li><code>mod_auth_ldap</code> is for Apache versions before 2.2</li> ... | 63, 4645, 5876 | apache2, ldap, svn | <h1>Difference between mod_auth_ldap and mod_authnz_ldap</h1>
<p>We use LDAP for Subversion access using Apache httpd. We originally had all of our Subversion repositories accessible by all users using the following:</p>
<pre><code><Location /src>
DAV svn
SVNParentPath /opt/svn_repos
AuthType basic
... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,376 | svn | # Difference between mod_auth_ldap and mod_authnz_ldap
We use LDAP for Subversion access using Apache httpd. We originally had all of our Subversion repositories accessible by all users using the following:
```
<Location /src>
DAV svn
SVNParentPath /opt/svn_repos
AuthType basic
AuthName "SVN Repositor... | Anyone else who came across this question. It has to do with the newer versions of Apache httpd. My confusion stemmed from the changes between version 2.1 and 2.2 of httpd. Since I had Apache 2.2, I was suppose to use the new framework:
- `mod_auth_ldap` is for Apache versions before 2.2
- `mod_authnz_ldap` is for Apa... |
5191126 | How to deal with Icon@2x.png in svn? | 11 | 2011-03-04 07:55:06 | <p>I want to check in my icons and other PNGs. Of course, I'm following the iPhone image naming convention, so I have Icon.png, and Icon@2x.png, Default.png and Default@2x.png.</p>
<p>One problem: svn thinks I'm trying to add something with a pinned version.</p>
<pre><code>hacksaw > svn add Default@2x.png
svn: war... | 4,142 | 527,088 | 2012-05-04 21:36:26 | 5,191,167 | 29 | 2011-03-04 08:01:37 | 629,118 | 2011-03-04 08:01:37 | https://stackoverflow.com/q/5191126 | https://stackoverflow.com/a/5191167 | <p><a href="http://developers.enormego.com/view/add_2x_ios4_resources_svn">How to Add Those @2x iOS4 Resources to SVN</a></p>
<pre><code>$ svn add Default@2x.png@
A (bin) Default@2x.png
</code></pre>
| <p><a href="http://developers.enormego.com/view/add_2x_ios4_resources_svn">How to Add Those @2x iOS4 Resources to SVN</a></p> <pre><code>$ svn add Default@2x.png@ A (bin) Default@2x.png </code></pre> | 63, 154 | iphone, svn | <h1>How to deal with Icon@2x.png in svn?</h1>
<p>I want to check in my icons and other PNGs. Of course, I'm following the iPhone image naming convention, so I have Icon.png, and Icon@2x.png, Default.png and Default@2x.png.</p>
<p>One problem: svn thinks I'm trying to add something with a pinned version.</p>
<pre><cod... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,377 | svn | # How to deal with Icon@2x.png in svn?
I want to check in my icons and other PNGs. Of course, I'm following the iPhone image naming convention, so I have Icon.png, and Icon@2x.png, Default.png and Default@2x.png.
One problem: svn thinks I'm trying to add something with a pinned version.
```
hacksaw > svn add Default... | [How to Add Those @2x iOS4 Resources to SVN](http://developers.enormego.com/view/add_2x_ios4_resources_svn)
```
$ svn add Default@2x.png@
A (bin) Default@2x.png
``` |
1214079 | How to remove SVN from a folder | 32 | 2009-07-31 18:24:32 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://stackoverflow.com/questions/154853/how-do-you-remove-subversion-control-for-a-folder">How do you remove Subversion control for a folder?</a> </p>
</blockquote>
<p>If I want to take a folder that was under Subversion and remove all links t... | 45,749 | 93,468 | 2012-07-03 08:37:42 | 1,214,094 | 28 | 2009-07-31 18:26:23 | 104,117 | 2009-07-31 18:26:23 | https://stackoverflow.com/q/1214079 | https://stackoverflow.com/a/1214094 | <p>No, you just have to search for all .svn folders and delete them. Alternatively, doing a <code>svn export</code> allows you to get the folder without the svn folders.</p>
| <p>No, you just have to search for all .svn folders and delete them. Alternatively, doing a <code>svn export</code> allows you to get the folder without the svn folders.</p> | 63 | svn | <h1>How to remove SVN from a folder</h1>
<blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://stackoverflow.com/questions/154853/how-do-you-remove-subversion-control-for-a-folder">How do you remove Subversion control for a folder?</a> </p>
</blockquote>
<p>If I want to take a folder that wa... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,379 | svn | # How to remove SVN from a folder
> **Possible Duplicate:**
> [How do you remove Subversion control for a folder?](https://stackoverflow.com/questions/154853/how-do-you-remove-subversion-control-for-a-folder)
If I want to take a folder that was under Subversion and remove all links to Subversion, do I just delete t... | No, you just have to search for all .svn folders and delete them. Alternatively, doing a `svn export` allows you to get the folder without the svn folders. |
7685036 | resolving simple svn conflicts | 23 | 2011-10-07 08:59:24 | <p>I'm a bit of newcomer to using svn on a mac. I'm using <a href="http://versionsapp.com">Versions</a>. </p>
<p>I've been getting reports that I've been overwriting other devs work, so I'm hoping someone here can make sure I'm doing things properly. </p>
<p>I committed my work last night, the other team members have... | 36,582 | 597,264 | 2019-11-19 13:44:49 | 7,685,674 | 28 | 2011-10-07 09:57:49 | 907,685 | 2019-11-19 13:44:49 | https://stackoverflow.com/q/7685036 | https://stackoverflow.com/a/7685674 | <p>The <code>myfile.css.rXYWZ</code> represent the <code>myfile.css</code> at <code>XYWZ</code> revision. </p>
<p>The <code>.mine</code> file is your original file. </p>
<p>When the file is in conflict in the original file (<code>myfile.css</code>) some markers are added.</p>
<p>To fix the conflict, usually you need... | <p>The <code>myfile.css.rXYWZ</code> represent the <code>myfile.css</code> at <code>XYWZ</code> revision. </p> <p>The <code>.mine</code> file is your original file. </p> <p>When the file is in conflict in the original file (<code>myfile.css</code>) some markers are added.</p> <p>To fix the conflict, usually you need... | 63, 3146, 3880 | conflict, svn, versions | <h1>resolving simple svn conflicts</h1>
<p>I'm a bit of newcomer to using svn on a mac. I'm using <a href="http://versionsapp.com">Versions</a>. </p>
<p>I've been getting reports that I've been overwriting other devs work, so I'm hoping someone here can make sure I'm doing things properly. </p>
<p>I committed my work... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,382 | svn | # resolving simple svn conflicts
I'm a bit of newcomer to using svn on a mac. I'm using [Versions](http://versionsapp.com).
I've been getting reports that I've been overwriting other devs work, so I'm hoping someone here can make sure I'm doing things properly.
I committed my work last night, the other team members ... | The `myfile.css.rXYWZ` represent the `myfile.css` at `XYWZ` revision.
The `.mine` file is your original file.
When the file is in conflict in the original file (`myfile.css`) some markers are added.
To fix the conflict, usually you need to check the files that are marked with conflict and see the differences inside.... |
4032059 | How to checkout few files and folders alone without checking out entire source | 22 | 2010-10-27 10:13:01 | <p>In my project I have many folders. I certainly know I want have changes in only few files (around 15) each of them are in 7 different folders. Also, I don't want to checkout the entire source to accomplish it. Is it possible to checkout only the required folders alone? </p>
<p>I'll have this scenario too often for ... | 29,296 | 270,190 | 2017-11-10 20:17:17 | 4,032,912 | 28 | 2010-10-27 11:58:54 | 13,051 | 2016-06-23 17:33:14 | https://stackoverflow.com/q/4032059 | https://stackoverflow.com/a/4032912 | <p>Apart from just checking out the folders you want (which only works if you want the entire subfolder tree as well), Subversion 1.7 supports something referred to as "<a href="http://svnbook.red-bean.com/en/1.7/svn.advanced.sparsedirs.html" rel="noreferrer">sparse directories</a>". Basically you can checkout a folder... | <p>Apart from just checking out the folders you want (which only works if you want the entire subfolder tree as well), Subversion 1.7 supports something referred to as "<a href="http://svnbook.red-bean.com/en/1.7/svn.advanced.sparsedirs.html" rel="noreferrer">sparse directories</a>". Basically you can checkout a folder... | 63, 656, 65722 | svn, svn-checkout, tortoisesvn | <h1>How to checkout few files and folders alone without checking out entire source</h1>
<p>In my project I have many folders. I certainly know I want have changes in only few files (around 15) each of them are in 7 different folders. Also, I don't want to checkout the entire source to accomplish it. Is it possible to c... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,383 | svn | # How to checkout few files and folders alone without checking out entire source
In my project I have many folders. I certainly know I want have changes in only few files (around 15) each of them are in 7 different folders. Also, I don't want to checkout the entire source to accomplish it. Is it possible to checkout o... | Apart from just checking out the folders you want (which only works if you want the entire subfolder tree as well), Subversion 1.7 supports something referred to as "[sparse directories](http://svnbook.red-bean.com/en/1.7/svn.advanced.sparsedirs.html)". Basically you can checkout a folder to a certain depth, and then a... |
1320654 | Will Subversion efficiently store OpenXML Office documents? | 21 | 2009-08-24 05:50:11 | <p>I have been managing Subversion as an engineering document storage repository for my company. It is working fairly well, however I have a question about how MS Office 2007 formats are (should be) handled by Subversion.</p>
<p>I'm looking at an Excel 2007 spreadsheet (extension .xlsx) in my working copy that Subver... | 5,957 | 121,694 | 2013-04-15 19:20:54 | 1,321,654 | 28 | 2009-08-24 10:46:46 | 52,626 | 2009-08-24 13:50:47 | https://stackoverflow.com/q/1320654 | https://stackoverflow.com/a/1321654 | <p>From the <a href="http://en.wikipedia.org/wiki/Office_Open_XML" rel="nofollow noreferrer">OpenXML article on wikipedia</a>:</p>
<blockquote>
<p>An Office Open XML file is a
ZIP-compatible OPC package containing
XML documents and other resources.</p>
</blockquote>
<p>In other words, OpenXML files are actually... | <p>From the <a href="http://en.wikipedia.org/wiki/Office_Open_XML" rel="nofollow noreferrer">OpenXML article on wikipedia</a>:</p> <blockquote> <p>An Office Open XML file is a ZIP-compatible OPC package containing XML documents and other resources.</p> </blockquote> <p>In other words, OpenXML files are actually... | 63, 11441, 11468, 11675 | configuration-management, ms-office, openxml, svn | <h1>Will Subversion efficiently store OpenXML Office documents?</h1>
<p>I have been managing Subversion as an engineering document storage repository for my company. It is working fairly well, however I have a question about how MS Office 2007 formats are (should be) handled by Subversion.</p>
<p>I'm looking at an Ex... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,384 | svn | # Will Subversion efficiently store OpenXML Office documents?
I have been managing Subversion as an engineering document storage repository for my company. It is working fairly well, however I have a question about how MS Office 2007 formats are (should be) handled by Subversion.
I'm looking at an Excel 2007 spreadsh... | From the [OpenXML article on wikipedia](http://en.wikipedia.org/wiki/Office_Open_XML):
> An Office Open XML file is a
> ZIP-compatible OPC package containing
> XML documents and other resources.
In other words, OpenXML files are actually zip files with XML files in them. Compression or encryption "scrambles" the data... |
1687632 | How to search for file in subversion server? | 20 | 2009-11-06 13:36:14 | <p>Is there a way to search for a file in a subversion repository?</p>
<p>Something similar to Unix' <code>find</code> command, with which I can find the location of a file in a repository.</p>
<p>I know there is <code>svn list</code>, but this gives me a list of all the files in a directory. I want to find the dire... | 20,574 | 15,884 | 2009-11-06 14:11:06 | 1,687,688 | 28 | 2009-11-06 13:45:11 | 183,575 | 2009-11-06 13:55:23 | https://stackoverflow.com/q/1687632 | https://stackoverflow.com/a/1687688 | <p>You can use the following command, together with a grep, on the server:</p>
<pre><code>svnlook tree --full-paths <repository path> | grep <file>
</code></pre>
<p>That's the fastest option if you need to look into a big repository.</p>
<p>If you only have access to the client side, again with a grep:</... | <p>You can use the following command, together with a grep, on the server:</p> <pre><code>svnlook tree --full-paths <repository path> | grep <file> </code></pre> <p>That's the fastest option if you need to look into a big repository.</p> <p>If you only have access to the client side, again with a grep:</... | 63, 456, 10193 | find, svn, version-control | <h1>How to search for file in subversion server?</h1>
<p>Is there a way to search for a file in a subversion repository?</p>
<p>Something similar to Unix' <code>find</code> command, with which I can find the location of a file in a repository.</p>
<p>I know there is <code>svn list</code>, but this gives me a list of ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,387 | svn | # How to search for file in subversion server?
Is there a way to search for a file in a subversion repository?
Something similar to Unix' `find` command, with which I can find the location of a file in a repository.
I know there is `svn list`, but this gives me a list of all the files in a directory. I want to find ... | You can use the following command, together with a grep, on the server:
```
svnlook tree --full-paths <repository path> | grep <file>
```
That's the fastest option if you need to look into a big repository.
If you only have access to the client side, again with a grep:
```
svn list -R <URL> | grep <file>
```
shoul... |
21917281 | What's SVN's actual use of mergeinfo? | 19 | 2014-02-20 19:11:29 | <p>I've long heard about svn's merge-conflict troubles. </p>
<p>I was relieved, thought, when I learnt that svn a couple of releases ago implemented a feature called <code>mergeinfo</code>. It almost seemed as if its introduction would allow svn to have enough information to solve its merging issues whenever they popp... | 10,887 | 130,758 | 2014-02-21 00:41:26 | 21,919,642 | 28 | 2014-02-20 21:08:55 | 368,630 | 2014-02-20 21:26:36 | https://stackoverflow.com/q/21917281 | https://stackoverflow.com/a/21919642 | <p>There are two types of merging in Subversion:</p>
<ol>
<li>Three-point merges</li>
<li>Two-point merges (aka reintegration merging)</li>
</ol>
<p>Let's say you're working on trunk, and you have a particular feature that needs to be done. You create a <em>Feature A</em> branch. As you work on the feature, you want ... | <p>There are two types of merging in Subversion:</p> <ol> <li>Three-point merges</li> <li>Two-point merges (aka reintegration merging)</li> </ol> <p>Let's say you're working on trunk, and you have a particular feature that needs to be done. You create a <em>Feature A</em> branch. As you work on the feature, you want ... | 63, 456, 717, 46556 | merge, mergeinfo, svn, version-control | <h1>What's SVN's actual use of mergeinfo?</h1>
<p>I've long heard about svn's merge-conflict troubles. </p>
<p>I was relieved, thought, when I learnt that svn a couple of releases ago implemented a feature called <code>mergeinfo</code>. It almost seemed as if its introduction would allow svn to have enough information... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,388 | svn | # What's SVN's actual use of mergeinfo?
I've long heard about svn's merge-conflict troubles.
I was relieved, thought, when I learnt that svn a couple of releases ago implemented a feature called `mergeinfo`. It almost seemed as if its introduction would allow svn to have enough information to solve its merging issues... | There are two types of merging in Subversion:
1. Three-point merges
2. Two-point merges (aka reintegration merging)
Let's say you're working on trunk, and you have a particular feature that needs to be done. You create a *Feature A* branch. As you work on the feature, you want the work you do on *trunk* to be include... |
1535157 | Browsing an SVN Repository | 62 | 2009-10-08 01:34:49 | <p>I'm trying to browse an SVN repository without having to check it out:</p>
<ul>
<li>Is it possible to do this locally (on Unix)?</li>
<li>Is this possible with ssh access?</li>
</ul>
| 94,045 | 165,495 | 2023-05-23 19:28:57 | 1,535,165 | 27 | 2009-10-08 01:36:44 | 179,889 | 2016-09-30 19:43:57 | https://stackoverflow.com/q/1535157 | https://stackoverflow.com/a/1535165 | <p>Use <a href="http://svnbook.red-bean.com/en/1.1/ch09s03.html" rel="noreferrer">svnlook</a></p>
<blockquote>
<p>a command-line utility for examining different aspects of a Subversion repository. It does not make any changes to the repository—it's just used for “peeking”. <code>svnlook</code> is typically used by t... | <p>Use <a href="http://svnbook.red-bean.com/en/1.1/ch09s03.html" rel="noreferrer">svnlook</a></p> <blockquote> <p>a command-line utility for examining different aspects of a Subversion repository. It does not make any changes to the repository—it's just used for “peeking”. <code>svnlook</code> is typically used by t... | 63 | svn | <h1>Browsing an SVN Repository</h1>
<p>I'm trying to browse an SVN repository without having to check it out:</p>
<ul>
<li>Is it possible to do this locally (on Unix)?</li>
<li>Is this possible with ssh access?</li>
</ul>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,392 | svn | # Browsing an SVN Repository
I'm trying to browse an SVN repository without having to check it out:
- Is it possible to do this locally (on Unix)?
- Is this possible with ssh access? | Use [svnlook](http://svnbook.red-bean.com/en/1.1/ch09s03.html)
> a command-line utility for examining different aspects of a Subversion repository. It does not make any changes to the repository—it's just used for “peeking”. `svnlook` is typically used by the repository hooks, but a repository administrator might find... |
332930 | Is there a graceful way to stop svnserve -d | 29 | 2008-12-02 03:13:52 | <p>I'm looking for something like: </p>
<pre><code>svnserve stop
</code></pre>
| 47,733 | 3,966 | 2024-04-04 06:19:25 | 332,940 | 27 | 2008-12-02 03:22:26 | 25,222 | 2008-12-02 03:22:26 | https://stackoverflow.com/q/332930 | https://stackoverflow.com/a/332940 | <p>The recommended way is to do it is by using the <code>kill</code> command which will allow subversion to shut down properly. I don't think there is any better way to do it.</p>
| <p>The recommended way is to do it is by using the <code>kill</code> command which will allow subversion to shut down properly. I don't think there is any better way to do it.</p> | 63, 72559 | svn, svnserve | <h1>Is there a graceful way to stop svnserve -d</h1>
<p>I'm looking for something like: </p>
<pre><code>svnserve stop
</code></pre>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,395 | svn | # Is there a graceful way to stop svnserve -d
I'm looking for something like:
```
svnserve stop
``` | The recommended way is to do it is by using the `kill` command which will allow subversion to shut down properly. I don't think there is any better way to do it. |
8329819 | Svn caret notation not working on WinXP | 19 | 2011-11-30 16:57:36 | <p>Quote from SVN manual:</p>
<blockquote>
<p>In Subversion 1.6, a new caret (^) notation was introduced as a
shorthand for “the URL of the repository's root directory”. For
example, you can use the ^/tags/bigsandwich/ to refer to the URL of
the /tags/bigsandwich directory in the root of the repository. Note
... | 1,755 | 954,927 | 2011-11-30 17:05:59 | 8,329,947 | 27 | 2011-11-30 17:05:59 | 469,210 | 2011-11-30 17:05:59 | https://stackoverflow.com/q/8329819 | https://stackoverflow.com/a/8329947 | <p>The caret is an escape character for your windows command line. Use a double caret (i.e. <code>^^</code>) instead.</p>
| <p>The caret is an escape character for your windows command line. Use a double caret (i.e. <code>^^</code>) instead.</p> | 63 | svn | <h1>Svn caret notation not working on WinXP</h1>
<p>Quote from SVN manual:</p>
<blockquote>
<p>In Subversion 1.6, a new caret (^) notation was introduced as a
shorthand for “the URL of the repository's root directory”. For
example, you can use the ^/tags/bigsandwich/ to refer to the URL of
the /tags/bigsandwic... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,396 | svn | # Svn caret notation not working on WinXP
Quote from SVN manual:
> In Subversion 1.6, a new caret (^) notation was introduced as a
> shorthand for “the URL of the repository's root directory”. For
> example, you can use the ^/tags/bigsandwich/ to refer to the URL of
> the /tags/bigsandwich directory in the root of th... | The caret is an escape character for your windows command line. Use a double caret (i.e. `^^`) instead. |
6875201 | Print last 10/20/... svn log messages with diffs | 17 | 2011-07-29 15:09:34 | <p>I am using SVN for a project. with <code>svn log -l 10</code>, I can get the last 10 commits to this folder, with the revision id, log message, etc.. Is there any SVN command that lets me print out on the command line all the diffs for each of those changesets? I'd like to do some grepping/etc. with the last X diffs... | 9,360 | 161,922 | 2016-01-03 19:44:52 | 6,875,368 | 27 | 2011-07-29 15:22:49 | 526,535 | 2011-07-29 15:22:49 | https://stackoverflow.com/q/6875201 | https://stackoverflow.com/a/6875368 | <p>In SVN v1.7, there are the </p>
<pre><code> --diff : produce diff output
--diff-cmd ARG : use ARG as diff command
</code></pre>
<p>options that you can use with <code>svn log</code></p>
<p>For older version (which is probably your case), you will have to do some scripting to supply re... | <p>In SVN v1.7, there are the </p> <pre><code> --diff : produce diff output --diff-cmd ARG : use ARG as diff command </code></pre> <p>options that you can use with <code>svn log</code></p> <p>For older version (which is probably your case), you will have to do some scripting to supply re... | 63, 456, 606 | diff, svn, version-control | <h1>Print last 10/20/... svn log messages with diffs</h1>
<p>I am using SVN for a project. with <code>svn log -l 10</code>, I can get the last 10 commits to this folder, with the revision id, log message, etc.. Is there any SVN command that lets me print out on the command line all the diffs for each of those changeset... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,397 | svn | # Print last 10/20/... svn log messages with diffs
I am using SVN for a project. with `svn log -l 10`, I can get the last 10 commits to this folder, with the revision id, log message, etc.. Is there any SVN command that lets me print out on the command line all the diffs for each of those changesets? I'd like to do so... | In SVN v1.7, there are the
```
--diff : produce diff output
--diff-cmd ARG : use ARG as diff command
```
options that you can use with `svn log`
For older version (which is probably your case), you will have to do some scripting to supply revision to `svn diff` and get the output |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.