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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8212786 | How to execute error checking on multiple PHP files simultaneously? | 16 | 2011-11-21 13:44:56 | <p>I have an svn server that I checkout the repository in my computer.</p>
<p>The main repositiry has about 2k files</p>
<ul>
<li>3rd party</li>
<li>generic code classes</li>
<li>custom classes</li>
</ul>
<p>I have made changes to lots of files (mainly php) and I want to make sure they are all valid before I commit.... | 543 | 1,051,924 | 2017-11-10 20:27:11 | 8,212,879 | 27 | 2011-11-21 13:51:30 | 308,825 | 2011-11-21 14:59:04 | https://stackoverflow.com/q/8212786 | https://stackoverflow.com/a/8212879 | <p>This bash oneliner will the modified php files and filter the ones that have no syntax errors:</p>
<pre><code>for i in $(svn status | grep -v ^? | grep php | awk '{print $2}') ; do php -l $i ; done | grep 'Parse error'
</code></pre>
| <p>This bash oneliner will the modified php files and filter the ones that have no syntax errors:</p> <pre><code>for i in $(svn status | grep -v ^? | grep php | awk '{print $2}') ; do php -l $i ; done | grep 'Parse error' </code></pre> | 5, 63, 11301, 65722 | error-checking, php, svn, svn-checkout | <h1>How to execute error checking on multiple PHP files simultaneously?</h1>
<p>I have an svn server that I checkout the repository in my computer.</p>
<p>The main repositiry has about 2k files</p>
<ul>
<li>3rd party</li>
<li>generic code classes</li>
<li>custom classes</li>
</ul>
<p>I have made changes to lots of f... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,398 | svn | # How to execute error checking on multiple PHP files simultaneously?
I have an svn server that I checkout the repository in my computer.
The main repositiry has about 2k files
- 3rd party
- generic code classes
- custom classes
I have made changes to lots of files (mainly php) and I want to make sure they are all ... | This bash oneliner will the modified php files and filter the ones that have no syntax errors:
```
for i in $(svn status | grep -v ^? | grep php | awk '{print $2}') ; do php -l $i ; done | grep 'Parse error'
``` |
8468492 | Skip directory in SVN checkout? (Partial checkout) | 15 | 2011-12-11 23:54:29 | <p>Suppose a remote SVN repository has this structure:</p>
<pre><code>/project
/src
/bulk
</code></pre>
<p>Now for some reason I already have a copy of <code>bulk</code> (assumed unchanging or rarely changing) elsewhere on my machine. Can I somehow checkout a new copy of the repository, but pre-provid... | 19,101 | 596,781 | 2017-11-10 20:27:19 | 8,468,507 | 27 | 2011-12-11 23:57:39 | 49,241 | 2011-12-12 00:20:05 | https://stackoverflow.com/q/8468492 | https://stackoverflow.com/a/8468507 | <ol>
<li>Checkout /project, specifying the depth to be 'empty'.</li>
<li>Update /project/src specifying infinite depth.</li>
<li>Copy your current bulk working copy into the project directory working copy.</li>
</ol>
<p>e.g.</p>
<pre><code>svn checkout --depth empty http://svnserver/project/ project
svn update --set-... | <ol> <li>Checkout /project, specifying the depth to be 'empty'.</li> <li>Update /project/src specifying infinite depth.</li> <li>Copy your current bulk working copy into the project directory working copy.</li> </ol> <p>e.g.</p> <pre><code>svn checkout --depth empty http://svnserver/project/ project svn update --set-... | 63, 65722 | svn, svn-checkout | <h1>Skip directory in SVN checkout? (Partial checkout)</h1>
<p>Suppose a remote SVN repository has this structure:</p>
<pre><code>/project
/src
/bulk
</code></pre>
<p>Now for some reason I already have a copy of <code>bulk</code> (assumed unchanging or rarely changing) elsewhere on my machine. Can I s... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,399 | svn | # Skip directory in SVN checkout? (Partial checkout)
Suppose a remote SVN repository has this structure:
```
/project
/src
/bulk
```
Now for some reason I already have a copy of `bulk` (assumed unchanging or rarely changing) elsewhere on my machine. Can I somehow checkout a new copy of the repository... | 1. Checkout /project, specifying the depth to be 'empty'.
2. Update /project/src specifying infinite depth.
3. Copy your current bulk working copy into the project directory working copy.
e.g.
```
svn checkout --depth empty http://svnserver/project/ project
svn update --set-depth infinity project/src
// copy your cur... |
2356997 | Import certificate into VisualSVN Server | 11 | 2010-03-01 15:48:30 | <p>Is it possible to import the valid certificate of the Windows Server, where VisualSVN is installed, into VisualSVN? </p>
| 7,999 | 272,706 | 2020-02-15 17:39:14 | 2,359,099 | 27 | 2010-03-01 21:09:29 | 89,432 | 2020-02-15 17:39:14 | https://stackoverflow.com/q/2356997 | https://stackoverflow.com/a/2359099 | <h2>Read the article <a href="https://www.visualsvn.com/support/topic/00134/" rel="nofollow noreferrer">KB134: Configuring SSL Certificates for VisualSVN Server</a>.</h2>
<p><strong>UPDATE:</strong> Importing certificates in pfx format implemented VisualSVN Server 2.6:<br>
<a href="https://www.visualsvn.com/server/cha... | <h2>Read the article <a href="https://www.visualsvn.com/support/topic/00134/" rel="nofollow noreferrer">KB134: Configuring SSL Certificates for VisualSVN Server</a>.</h2> <p><strong>UPDATE:</strong> Importing certificates in pfx format implemented VisualSVN Server 2.6:<br> <a href="https://www.visualsvn.com/server/cha... | 63, 1991, 5954, 11603 | certificate, svn, visualsvn, visualsvn-server | <h1>Import certificate into VisualSVN Server</h1>
<p>Is it possible to import the valid certificate of the Windows Server, where VisualSVN is installed, into VisualSVN? </p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,401 | svn | # Import certificate into VisualSVN Server
Is it possible to import the valid certificate of the Windows Server, where VisualSVN is installed, into VisualSVN? | ## Read the article [KB134: Configuring SSL Certificates for VisualSVN Server](https://www.visualsvn.com/support/topic/00134/).
**UPDATE:** Importing certificates in pfx format implemented VisualSVN Server 2.6:
<https://www.visualsvn.com/server/changes/2.6/>
---
Yes, it's possible. Please consider the following st... |
1461553 | Delete all files from svn repository | 6 | 2009-09-22 17:50:16 | <p>Probably this is a very easy question, but I did not find yet how to delete all files present at the moment in a external SVN repository.</p>
<p>I can delete just one file using:</p>
<pre><code>svn delete -m "delete README" http://myrepo.com/svn/myrepo/README
</code></pre>
<p>But now I want to delete all of them.... | 25,900 | 171,546 | 2018-01-12 05:31:02 | 1,462,886 | 27 | 2009-09-22 22:08:38 | 150,463 | 2009-09-22 22:08:38 | https://stackoverflow.com/q/1461553 | https://stackoverflow.com/a/1462886 | <p>You could do a shallow checkout and then delete all.</p>
<p>Example:</p>
<pre><code>svn checkout --depth immediates http://myrepo.com/svn/myrepo myworking_copy
cd myworking_copy
svn rm *
svn ci -m "Deleting all"
</code></pre>
| <p>You could do a shallow checkout and then delete all.</p> <p>Example:</p> <pre><code>svn checkout --depth immediates http://myrepo.com/svn/myrepo myworking_copy cd myworking_copy svn rm * svn ci -m "Deleting all" </code></pre> | 63 | svn | <h1>Delete all files from svn repository</h1>
<p>Probably this is a very easy question, but I did not find yet how to delete all files present at the moment in a external SVN repository.</p>
<p>I can delete just one file using:</p>
<pre><code>svn delete -m "delete README" http://myrepo.com/svn/myrepo/README
</code></... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,403 | svn | # Delete all files from svn repository
Probably this is a very easy question, but I did not find yet how to delete all files present at the moment in a external SVN repository.
I can delete just one file using:
```
svn delete -m "delete README" http://myrepo.com/svn/myrepo/README
```
But now I want to delete all of... | You could do a shallow checkout and then delete all.
Example:
```
svn checkout --depth immediates http://myrepo.com/svn/myrepo myworking_copy
cd myworking_copy
svn rm *
svn ci -m "Deleting all"
``` |
18759562 | How to Integrate TortoiseSVN with Eclipse IDE? | 23 | 2013-09-12 08:47:12 | <p>I have always used <strong>TortoiseSVN</strong> + Notepad++ to develop websites and applications in a shared repository. But I want to use <strong>Eclipse IDE</strong> instead of Notepad++. <br>
I did a checkout to my SVN repository with TortoiseSVN and now I want to import the SVN project (a <em>Liferay project</em... | 82,467 | 1,994,865 | 2016-06-16 04:31:43 | 18,759,844 | 26 | 2013-09-12 08:59:54 | 714,965 | 2013-09-12 08:59:54 | https://stackoverflow.com/q/18759562 | https://stackoverflow.com/a/18759844 | <p>You need to install an SVN Plugin. I would recommend Subversive you can find it in the Eclipse Marketplace (<code>Help</code> -> <code>Eclipse Marketplace...</code>).</p>
<p>After this you have to install an SVN Connector. I would recomment SVNKit. Then you can open the Eclipse perspective <code>SVN Repository Expl... | <p>You need to install an SVN Plugin. I would recommend Subversive you can find it in the Eclipse Marketplace (<code>Help</code> -> <code>Eclipse Marketplace...</code>).</p> <p>After this you have to install an SVN Connector. I would recomment SVNKit. Then you can open the Eclipse perspective <code>SVN Repository Expl... | 53, 63, 656 | eclipse, svn, tortoisesvn | <h1>How to Integrate TortoiseSVN with Eclipse IDE?</h1>
<p>I have always used <strong>TortoiseSVN</strong> + Notepad++ to develop websites and applications in a shared repository. But I want to use <strong>Eclipse IDE</strong> instead of Notepad++. <br>
I did a checkout to my SVN repository with TortoiseSVN and now I w... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,408 | svn | # How to Integrate TortoiseSVN with Eclipse IDE?
I have always used **TortoiseSVN** + Notepad++ to develop websites and applications in a shared repository. But I want to use **Eclipse IDE** instead of Notepad++.
I did a checkout to my SVN repository with TortoiseSVN and now I want to import the SVN project (a *Lif... | You need to install an SVN Plugin. I would recommend Subversive you can find it in the Eclipse Marketplace (`Help` -> `Eclipse Marketplace...`).
After this you have to install an SVN Connector. I would recomment SVNKit. Then you can open the Eclipse perspective `SVN Repository Exploring` and configure your SVN reposit... |
1221215 | SVN diff across 2 different repositories | 23 | 2009-08-03 08:31:40 | <p>I have 2 repositories. As the trunk code was in one repository, which was protected, I did a checkout and then checked in to the other repository (as users did not have permission to the first protected one).</p>
<p>Now the issue is that both the repositories have been worked on and we wish to finally merge the cod... | 30,034 | 35,416 | 2018-06-20 20:23:39 | 1,221,324 | 26 | 2009-08-03 09:03:11 | 133,183 | 2009-08-03 09:03:11 | https://stackoverflow.com/q/1221215 | https://stackoverflow.com/a/1221324 | <p>I don't know of a built-in subversion feature that would allow this, but you could create a complete checkout of both repositories and use the command line diff utility to compare both working copies:</p>
<p><code>diff -w -u -r -N WorkingCopy1 WorkingCopy2</code></p>
<p><code>-w</code> to ignore all Whitespace
<co... | <p>I don't know of a built-in subversion feature that would allow this, but you could create a complete checkout of both repositories and use the command line diff utility to compare both working copies:</p> <p><code>diff -w -u -r -N WorkingCopy1 WorkingCopy2</code></p> <p><code>-w</code> to ignore all Whitespace <co... | 63, 606 | diff, svn | <h1>SVN diff across 2 different repositories</h1>
<p>I have 2 repositories. As the trunk code was in one repository, which was protected, I did a checkout and then checked in to the other repository (as users did not have permission to the first protected one).</p>
<p>Now the issue is that both the repositories have b... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,409 | svn | # SVN diff across 2 different repositories
I have 2 repositories. As the trunk code was in one repository, which was protected, I did a checkout and then checked in to the other repository (as users did not have permission to the first protected one).
Now the issue is that both the repositories have been worked on an... | I don't know of a built-in subversion feature that would allow this, but you could create a complete checkout of both repositories and use the command line diff utility to compare both working copies:
`diff -w -u -r -N WorkingCopy1 WorkingCopy2`
`-w` to ignore all Whitespace
`-u` to use the unified diff format (like ... |
6835469 | Format SVN diff as a side-by-side comparison | 18 | 2011-07-26 19:33:07 | <p>I wanted to produce a side by side SVN diff instead of the usual SVN diff output.
Is there any way to get this sort of output ?</p>
| 10,478 | 845,133 | 2017-11-28 15:17:50 | 6,836,264 | 26 | 2011-07-26 20:35:34 | 488,618 | 2011-07-26 20:35:34 | https://stackoverflow.com/q/6835469 | https://stackoverflow.com/a/6836264 | <p>You can specify a custom diff command:</p>
<pre><code>svn --diff-cmd "diff" --extensions "-y" diff
</code></pre>
<p>(Or then perhaps even use tools like sdiff)</p>
| <p>You can specify a custom diff command:</p> <pre><code>svn --diff-cmd "diff" --extensions "-y" diff </code></pre> <p>(Or then perhaps even use tools like sdiff)</p> | 34, 63, 488, 606 | console, diff, svn, unix | <h1>Format SVN diff as a side-by-side comparison</h1>
<p>I wanted to produce a side by side SVN diff instead of the usual SVN diff output.
Is there any way to get this sort of output ?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,410 | svn | # Format SVN diff as a side-by-side comparison
I wanted to produce a side by side SVN diff instead of the usual SVN diff output.
Is there any way to get this sort of output ? | You can specify a custom diff command:
```
svn --diff-cmd "diff" --extensions "-y" diff
```
(Or then perhaps even use tools like sdiff) |
2335346 | pre-revprop-change hook either failed | 16 | 2010-02-25 15:51:58 | <p>I don't know if this hook is out-of-box or if mine is just messed up and I just need to replace it but when I go and try to edit a log comment on a commit I get this error message:</p>
<blockquote>
<p>DAV request failed; it’s possibly that the repository’s pre-revprop-change hook either failed or is non-existent<... | 18,019 | 93,468 | 2017-10-16 17:30:59 | 2,335,575 | 26 | 2010-02-25 16:18:27 | 48,003 | 2010-02-25 16:18:27 | https://stackoverflow.com/q/2335346 | https://stackoverflow.com/a/2335575 | <p>if your repository is on a windows machine, simply create a file named
pre-revprop-change.bat
and add the line</p>
<pre><code>exit 0
</code></pre>
<p>in it.</p>
| <p>if your repository is on a windows machine, simply create a file named pre-revprop-change.bat and add the line</p> <pre><code>exit 0 </code></pre> <p>in it.</p> | 63, 656, 64649 | svn, svn-hooks, tortoisesvn | <h1>pre-revprop-change hook either failed</h1>
<p>I don't know if this hook is out-of-box or if mine is just messed up and I just need to replace it but when I go and try to edit a log comment on a commit I get this error message:</p>
<blockquote>
<p>DAV request failed; it’s possibly that the repository’s pre-revpro... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,411 | svn | # pre-revprop-change hook either failed
I don't know if this hook is out-of-box or if mine is just messed up and I just need to replace it but when I go and try to edit a log comment on a commit I get this error message:
> DAV request failed; it’s possibly that the repository’s pre-revprop-change hook either failed o... | if your repository is on a windows machine, simply create a file named
pre-revprop-change.bat
and add the line
```
exit 0
```
in it. |
1885558 | with svn, check the revision number when offline | 14 | 2009-12-11 03:05:16 | <p>I'm offline (well, to be exact my svn repository in unreachable right now), but I have a fully fledged working copy on which I am, well, working :-)</p>
<p>Now I need to know the revision number of a file. How can I check the revision number of a particular file (which by the way doesn't have the <code>svn:keywords... | 27,404 | 25,891 | 2013-04-10 11:11:54 | 1,885,564 | 26 | 2009-12-11 03:06:33 | null | 2009-12-11 03:06:33 | https://stackoverflow.com/q/1885558 | https://stackoverflow.com/a/1885564 | <p>Use: <code>svn info FILENAME</code></p>
| <p>Use: <code>svn info FILENAME</code></p> | 63, 456, 1555, 6936 | offline-mode, revision, svn, version-control | <h1>with svn, check the revision number when offline</h1>
<p>I'm offline (well, to be exact my svn repository in unreachable right now), but I have a fully fledged working copy on which I am, well, working :-)</p>
<p>Now I need to know the revision number of a file. How can I check the revision number of a particular ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,412 | svn | # with svn, check the revision number when offline
I'm offline (well, to be exact my svn repository in unreachable right now), but I have a fully fledged working copy on which I am, well, working :-)
Now I need to know the revision number of a file. How can I check the revision number of a particular file (which by t... | Use: `svn info FILENAME` |
1033897 | Python package install using pip or easy_install from repos | 14 | 2009-06-23 17:07:30 | <p>The simplest way to deal with python package installations, so far, to me, has been to check out the source from the source control system and then add a symbolic link in the python dist-packages folder.</p>
<p>Clearly since source control provides the complete control to downgrade, upgrade to any branch, tag, it w... | 10,931 | 55,562 | 2012-03-01 20:14:19 | 1,625,662 | 26 | 2009-10-26 16:08:10 | 3,207 | 2012-03-01 20:14:19 | https://stackoverflow.com/q/1033897 | https://stackoverflow.com/a/1625662 | <p>Using <a href="http://pip.openplans.org/" rel="noreferrer">pip</a> this is quite easy. For instance:</p>
<pre><code>pip install -e hg+http://bitbucket.org/andrewgodwin/south/#egg=South
</code></pre>
<p>Pip will automatically clone the source repo and run "setup.py develop" for you to install it into your environme... | <p>Using <a href="http://pip.openplans.org/" rel="noreferrer">pip</a> this is quite easy. For instance:</p> <pre><code>pip install -e hg+http://bitbucket.org/andrewgodwin/south/#egg=South </code></pre> <p>Pip will automatically clone the source repo and run "setup.py develop" for you to install it into your environme... | 16, 63, 456, 5119, 22297 | easy-install, pip, python, svn, version-control | <h1>Python package install using pip or easy_install from repos</h1>
<p>The simplest way to deal with python package installations, so far, to me, has been to check out the source from the source control system and then add a symbolic link in the python dist-packages folder.</p>
<p>Clearly since source control provide... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,413 | svn | # Python package install using pip or easy_install from repos
The simplest way to deal with python package installations, so far, to me, has been to check out the source from the source control system and then add a symbolic link in the python dist-packages folder.
Clearly since source control provides the complete c... | Using [pip](http://pip.openplans.org/) this is quite easy. For instance:
```
pip install -e hg+http://bitbucket.org/andrewgodwin/south/#egg=South
```
Pip will automatically clone the source repo and run "setup.py develop" for you to install it into your environment (which hopefully is a [virtualenv](http://pypi.pytho... |
26795867 | Cordova error building - EPERM, operation not permitted | 13 | 2014-11-07 07:04:26 | <p>I am trying to build an android APK file for my project</p>
<pre><code>C:\myApp>cordova build android
cp: copyFileSync: could not write to dest file (code=EPERM):C:\myApp\platforms\android\res\xml\config.xml
Error: EPERM, operation not permitted 'C:\myApp\platforms\android\res\xml\config.xml'
at Object.fs.openS... | 28,965 | 373,784 | 2020-02-05 09:01:55 | 32,275,247 | 26 | 2015-08-28 16:02:15 | 516,474 | 2015-08-28 16:02:15 | https://stackoverflow.com/q/26795867 | https://stackoverflow.com/a/32275247 | <p>Re-install android as a platform, should re-create any folders that had bad permissions</p>
<p><code>cordova platform remove android</code></p>
<p><code>cordova platform add android</code></p>
| <p>Re-install android as a platform, should re-create any folders that had bad permissions</p> <p><code>cordova platform remove android</code></p> <p><code>cordova platform add android</code></p> | 63, 1386, 78331 | android, cordova, svn | <h1>Cordova error building - EPERM, operation not permitted</h1>
<p>I am trying to build an android APK file for my project</p>
<pre><code>C:\myApp>cordova build android
cp: copyFileSync: could not write to dest file (code=EPERM):C:\myApp\platforms\android\res\xml\config.xml
Error: EPERM, operation not permitted '... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,414 | svn | # Cordova error building - EPERM, operation not permitted
I am trying to build an android APK file for my project
```
C:\myApp>cordova build android
cp: copyFileSync: could not write to dest file (code=EPERM):C:\myApp\platforms\android\res\xml\config.xml
Error: EPERM, operation not permitted 'C:\myApp\platforms\andr... | Re-install android as a platform, should re-create any folders that had bad permissions
`cordova platform remove android`
`cordova platform add android` |
6409372 | Committing the code on Subversion (first time) | 12 | 2011-06-20 09:41:48 | <p>I am new on Subversion. I have to commit a code on subversion and this is the first time that I am doing this. So my mentor told me to put username on his server using SSH. I did this by following code:</p>
<p><code>amit@<URL></code> and it works fine.</p>
<p>Now he asked to commit the code and he give me ur... | 60,114 | null | 2019-02-28 06:46:04 | 6,409,393 | 26 | 2011-06-20 09:44:59 | 149,206 | 2011-06-20 10:31:03 | https://stackoverflow.com/q/6409372 | https://stackoverflow.com/a/6409393 | <p>First checkout that repository by</p>
<pre><code>svn checkout <Your URL> svn
</code></pre>
<p>Now <code>cd</code> to <strong>svn</strong> folder, create username folder(amit) in <strong>svn</strong> folder and commit:</p>
<pre><code>svn commit -m"username folder is created."
</code></pre>
<p>Now copy your ... | <p>First checkout that repository by</p> <pre><code>svn checkout <Your URL> svn </code></pre> <p>Now <code>cd</code> to <strong>svn</strong> folder, create username folder(amit) in <strong>svn</strong> folder and commit:</p> <pre><code>svn commit -m"username folder is created." </code></pre> <p>Now copy your ... | 63, 386, 5597, 65722 | commit, ssh, svn, svn-checkout | <h1>Committing the code on Subversion (first time)</h1>
<p>I am new on Subversion. I have to commit a code on subversion and this is the first time that I am doing this. So my mentor told me to put username on his server using SSH. I did this by following code:</p>
<p><code>amit@<URL></code> and it works fine.</... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,415 | svn | # Committing the code on Subversion (first time)
I am new on Subversion. I have to commit a code on subversion and this is the first time that I am doing this. So my mentor told me to put username on his server using SSH. I did this by following code:
`amit@<URL>` and it works fine.
Now he asked to commit the code a... | First checkout that repository by
```
svn checkout <Your URL> svn
```
Now `cd` to **svn** folder, create username folder(amit) in **svn** folder and commit:
```
svn commit -m"username folder is created."
```
Now copy your files in that folder(**amit** in your case). Now you have to add each new file or new folder:
... |
1689029 | SVN just won't ignore a folder, despite propset svn:ignore | 12 | 2009-11-06 17:18:03 | <p>Take folder <em>files</em>, inside an SVN working copy, running in Linux. The folder was set to be ignored, with the commands:</p>
<ul>
<li><code>svn propset svn:ignore * 'files'</code></li>
<li><code>svn propset svn:ignore 'default/files'</code></li>
<li>and a few other combination, all valid AFAIK </li>
</ul>
<p... | 9,006 | 170,091 | 2010-03-06 11:52:32 | 1,689,180 | 26 | 2009-11-06 17:43:56 | 189,919 | 2009-11-06 21:33:38 | https://stackoverflow.com/q/1689029 | https://stackoverflow.com/a/1689180 | <p>If you want to ignore a directory <code>files</code>, you need to <code>svn propset svn:ignore files</code> on its PARENT directory, not the directory itself.</p>
<p>e.g.</p>
<pre><code># your directory structure is this:
# workingCopy
# workingCopy/parent
# workingCopy/parent/subfolder
# to ignore subfolder do th... | <p>If you want to ignore a directory <code>files</code>, you need to <code>svn propset svn:ignore files</code> on its PARENT directory, not the directory itself.</p> <p>e.g.</p> <pre><code># your directory structure is this: # workingCopy # workingCopy/parent # workingCopy/parent/subfolder # to ignore subfolder do th... | 63 | svn | <h1>SVN just won't ignore a folder, despite propset svn:ignore</h1>
<p>Take folder <em>files</em>, inside an SVN working copy, running in Linux. The folder was set to be ignored, with the commands:</p>
<ul>
<li><code>svn propset svn:ignore * 'files'</code></li>
<li><code>svn propset svn:ignore 'default/files'</code></... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,416 | svn | # SVN just won't ignore a folder, despite propset svn:ignore
Take folder *files*, inside an SVN working copy, running in Linux. The folder was set to be ignored, with the commands:
- `svn propset svn:ignore * 'files'`
- `svn propset svn:ignore 'default/files'`
- and a few other combination, all valid AFAIK
However, ... | If you want to ignore a directory `files`, you need to `svn propset svn:ignore files` on its PARENT directory, not the directory itself.
e.g.
```
# your directory structure is this:
# workingCopy
# workingCopy/parent
# workingCopy/parent/subfolder
# to ignore subfolder do this:
svn propset svn:ignore subfolder workin... |
172018 | When updating a whole project's root, how can I exclude svn externals from being updated? | 11 | 2008-10-05 13:55:26 | <p>Is there a way to exclude all svn externals when doing a recursive update?</p>
<p>Is there a way to exclude only 1 of all of the svn externals when doing a recursive update?</p>
<p>Basically I'd like to cut down the svn update time, and a couple of the SVN externals that I have will just about never get updated.</... | 9,724 | 3,153 | 2023-11-16 01:56:47 | 172,043 | 26 | 2008-10-05 14:12:29 | 21,632 | 2008-10-05 14:19:48 | https://stackoverflow.com/q/172018 | https://stackoverflow.com/a/172043 | <p>Yes, there is an option for this (to ignore all):</p>
<pre><code>> svn update --ignore-externals
</code></pre>
<p>I don't know of any option to specifically ignore one or some externals while updating the rest. </p>
| <p>Yes, there is an option for this (to ignore all):</p> <pre><code>> svn update --ignore-externals </code></pre> <p>I don't know of any option to specifically ignore one or some externals while updating the rest. </p> | 63, 31462 | svn, svn-externals | <h1>When updating a whole project's root, how can I exclude svn externals from being updated?</h1>
<p>Is there a way to exclude all svn externals when doing a recursive update?</p>
<p>Is there a way to exclude only 1 of all of the svn externals when doing a recursive update?</p>
<p>Basically I'd like to cut down the ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,417 | svn | # When updating a whole project's root, how can I exclude svn externals from being updated?
Is there a way to exclude all svn externals when doing a recursive update?
Is there a way to exclude only 1 of all of the svn externals when doing a recursive update?
Basically I'd like to cut down the svn update time, and a ... | Yes, there is an option for this (to ignore all):
```
> svn update --ignore-externals
```
I don't know of any option to specifically ignore one or some externals while updating the rest. |
56227 | How do you determine the latest SVN revision number rooted in a directory? | 36 | 2008-09-11 10:35:02 | <p>I would like to start tagging my deployed binaries with the latest SVN revision number.</p>
<p>However, because SVN is file-based and not directory/project-based, I need to scan through all the directory's and subdirectory's files in order to determine the highest revision number.</p>
<p>Using <code>svn info</code... | 48,676 | 338 | 2017-09-08 23:19:24 | 56,240 | 25 | 2008-09-11 10:43:00 | 3,052 | 2008-09-11 10:43:00 | https://stackoverflow.com/q/56227 | https://stackoverflow.com/a/56240 | <p>One way. When you check out the code, look at the last line of svn output:</p>
<pre><code>$ svn up
...stuff...
Updated to revision 66593.
</code></pre>
<p>A more direct way:</p>
<pre><code>$ svn info
Path: .
URL: https://svn.example.com/svn/myproject/trunk
Repository Root: https://svn.example.com/svn/
Repository ... | <p>One way. When you check out the code, look at the last line of svn output:</p> <pre><code>$ svn up ...stuff... Updated to revision 66593. </code></pre> <p>A more direct way:</p> <pre><code>$ svn info Path: . URL: https://svn.example.com/svn/myproject/trunk Repository Root: https://svn.example.com/svn/ Repository ... | 63, 487 | build-automation, svn | <h1>How do you determine the latest SVN revision number rooted in a directory?</h1>
<p>I would like to start tagging my deployed binaries with the latest SVN revision number.</p>
<p>However, because SVN is file-based and not directory/project-based, I need to scan through all the directory's and subdirectory's files i... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,419 | svn | # How do you determine the latest SVN revision number rooted in a directory?
I would like to start tagging my deployed binaries with the latest SVN revision number.
However, because SVN is file-based and not directory/project-based, I need to scan through all the directory's and subdirectory's files in order to deter... | One way. When you check out the code, look at the last line of svn output:
```
$ svn up
...stuff...
Updated to revision 66593.
```
A more direct way:
```
$ svn info
Path: .
URL: https://svn.example.com/svn/myproject/trunk
Repository Root: https://svn.example.com/svn/
Repository UUID: d2a7a951-c712-0410-832a-9abccabd... |
245337 | How can I branch in SVN and have it branch my svn:external folders as well? | 23 | 2008-10-29 00:10:44 | <p>I'm using tortoise svn in Windows.</p>
<p>How can I branch in SVN and have it branch my svn:external folders as well?</p>
| 14,727 | 3,153 | 2011-11-29 08:39:55 | 248,367 | 25 | 2008-10-29 20:49:52 | 23,264 | 2008-10-29 21:14:41 | https://stackoverflow.com/q/245337 | https://stackoverflow.com/a/248367 | <p>You should use <code>svn:externals</code> as <strong>external</strong> references from different repositories. So <code>svn:externals</code> should refer to components, modules, 3rd party tools, etc.</p>
<p>You should <strong>not</strong> use <code>svn:externals</code> to emulate a "symbolic link"-behaviour by usin... | <p>You should use <code>svn:externals</code> as <strong>external</strong> references from different repositories. So <code>svn:externals</code> should refer to components, modules, 3rd party tools, etc.</p> <p>You should <strong>not</strong> use <code>svn:externals</code> to emulate a "symbolic link"-behaviour by usin... | 63, 656, 1879 | branch, svn, tortoisesvn | <h1>How can I branch in SVN and have it branch my svn:external folders as well?</h1>
<p>I'm using tortoise svn in Windows.</p>
<p>How can I branch in SVN and have it branch my svn:external folders as well?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,420 | svn | # How can I branch in SVN and have it branch my svn:external folders as well?
I'm using tortoise svn in Windows.
How can I branch in SVN and have it branch my svn:external folders as well? | You should use `svn:externals` as **external** references from different repositories. So `svn:externals` should refer to components, modules, 3rd party tools, etc.
You should **not** use `svn:externals` to emulate a "symbolic link"-behaviour by using externals to point into the same repository.
You can solve such iss... |
12513114 | Should I check-in the eclipse settings (.settings) to SVN? | 22 | 2012-09-20 12:57:14 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://stackoverflow.com/questions/337304/which-eclipse-files-belong-under-version-control">Which eclipse files belong under Version Control</a> </p>
</blockquote>
<p>We use Eclipse IDE for developing. There is always a change in .settings folde... | 16,868 | 643,271 | 2012-09-21 20:06:45 | 12,513,438 | 25 | 2012-09-20 13:15:53 | 1,103,872 | 2012-09-21 20:06:45 | https://stackoverflow.com/q/12513114 | https://stackoverflow.com/a/12513438 | <p>The <code>.settings</code> directory contains – or at least should contain – vital information needed to successfully build your project inside Eclipse, such as the character encoding used for source code, Java compiler settings, and much more. If you don't commit that directory to the SCM, you will in ... | <p>The <code>.settings</code> directory contains – or at least should contain – vital information needed to successfully build your project inside Eclipse, such as the character encoding used for source code, Java compiler settings, and much more. If you don't commit that directory to the SCM, you will in ... | 17, 53, 63, 602, 41127 | eclipse, java, maven, settings, svn | <h1>Should I check-in the eclipse settings (.settings) to SVN?</h1>
<blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://stackoverflow.com/questions/337304/which-eclipse-files-belong-under-version-control">Which eclipse files belong under Version Control</a> </p>
</blockquote>
<p>We use Ecl... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,421 | svn | # Should I check-in the eclipse settings (.settings) to SVN?
> **Possible Duplicate:**
> [Which eclipse files belong under Version Control](https://stackoverflow.com/questions/337304/which-eclipse-files-belong-under-version-control)
We use Eclipse IDE for developing. There is always a change in .settings folder. So... | The `.settings` directory contains – or at least should contain – vital information needed to successfully build your project inside Eclipse, such as the character encoding used for source code, Java compiler settings, and much more. If you don't commit that directory to the SCM, you will in most cases lose the ability... |
4889375 | SVN: Ignore subfolders | 21 | 2011-02-03 17:20:27 | <p>I have a folder say: <code>/user_files</code>, which I want to include in SVN, but there are additional folders underneath it which I don't want to include.</p>
<p>Is there a way to use <code>svn:ignore</code> to ignore anything in a folder even if that parent folder is included in the repos?</p>
| 25,471 | 212,298 | 2013-06-22 05:56:35 | 4,889,412 | 25 | 2011-02-03 17:24:05 | 576,875 | 2011-02-03 17:29:56 | https://stackoverflow.com/q/4889375 | https://stackoverflow.com/a/4889412 | <p>Use this to ignore everything in the user_files directory:</p>
<pre><code>svn propset svn:ignore '*' user_files
</code></pre>
<p>This sets the <code>svn:ignore</code> property to <code>*</code> on the <code>user_files</code> directory, which effectively causes svn to ignore every untracked file in this directory.<... | <p>Use this to ignore everything in the user_files directory:</p> <pre><code>svn propset svn:ignore '*' user_files </code></pre> <p>This sets the <code>svn:ignore</code> property to <code>*</code> on the <code>user_files</code> directory, which effectively causes svn to ignore every untracked file in this directory.<... | 63, 19160 | svn, svnignore | <h1>SVN: Ignore subfolders</h1>
<p>I have a folder say: <code>/user_files</code>, which I want to include in SVN, but there are additional folders underneath it which I don't want to include.</p>
<p>Is there a way to use <code>svn:ignore</code> to ignore anything in a folder even if that parent folder is included in t... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,422 | svn | # SVN: Ignore subfolders
I have a folder say: `/user_files`, which I want to include in SVN, but there are additional folders underneath it which I don't want to include.
Is there a way to use `svn:ignore` to ignore anything in a folder even if that parent folder is included in the repos? | Use this to ignore everything in the user_files directory:
```
svn propset svn:ignore '*' user_files
```
This sets the `svn:ignore` property to `*` on the `user_files` directory, which effectively causes svn to ignore every untracked file in this directory.
Then you have to commit the directory on which you set the ... |
1919859 | SVN commit failing due to missing file | 21 | 2009-12-17 06:28:51 | <p>My SVN won't commit:</p>
<pre><code>mac:MiTokeniPhone anemployee$ svn commit .
svn: Commit failed (details follow):
svn: '/Users/anemployee/Desktop/MiTokeniPhone/main_bg.png' is scheduled for addition, but is missing
</code></pre>
<p>I used:</p>
<p><code>svn revert -R .</code></p>
<p>Would there have been a way ... | 30,627 | 165,495 | 2015-07-21 13:22:28 | 1,919,868 | 25 | 2009-12-17 06:32:25 | 73,070 | 2009-12-17 06:43:05 | https://stackoverflow.com/q/1919859 | https://stackoverflow.com/a/1919868 | <p>You didn't do a recursive revert or a revert on the file that is missing. You might consider doing a</p>
<pre><code>svn revert /Users/anemployee/Desktop/MiTokeniPhone/main_bg.png
</code></pre>
<p><strong>EDIT:</strong> Since the question was edited and the OP found the recursive revert:</p>
<p>You could just crea... | <p>You didn't do a recursive revert or a revert on the file that is missing. You might consider doing a</p> <pre><code>svn revert /Users/anemployee/Desktop/MiTokeniPhone/main_bg.png </code></pre> <p><strong>EDIT:</strong> Since the question was edited and the OP found the recursive revert:</p> <p>You could just crea... | 63 | svn | <h1>SVN commit failing due to missing file</h1>
<p>My SVN won't commit:</p>
<pre><code>mac:MiTokeniPhone anemployee$ svn commit .
svn: Commit failed (details follow):
svn: '/Users/anemployee/Desktop/MiTokeniPhone/main_bg.png' is scheduled for addition, but is missing
</code></pre>
<p>I used:</p>
<p><code>svn revert ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,423 | svn | # SVN commit failing due to missing file
My SVN won't commit:
```
mac:MiTokeniPhone anemployee$ svn commit .
svn: Commit failed (details follow):
svn: '/Users/anemployee/Desktop/MiTokeniPhone/main_bg.png' is scheduled for addition, but is missing
```
I used:
`svn revert -R .`
Would there have been a way to avoid h... | You didn't do a recursive revert or a revert on the file that is missing. You might consider doing a
```
svn revert /Users/anemployee/Desktop/MiTokeniPhone/main_bg.png
```
**EDIT:** Since the question was edited and the OP found the recursive revert:
You could just create the file ... or don't add it in the first pl... |
284608 | How do I make Subversion use a third-party diff tool? | 20 | 2008-11-12 16:57:46 | <p>I need more than the default diff! I have recently purchased "Beyond Compare" and I'd like to integrate it with svn, so its launched when I type:</p>
<p>svn diff foo.c</p>
<p>How do I do this?</p>
| 22,343 | 3,886 | 2013-01-10 09:18:38 | 284,666 | 25 | 2008-11-12 17:19:08 | 14,343 | 2008-11-12 17:19:08 | https://stackoverflow.com/q/284608 | https://stackoverflow.com/a/284666 | <p>From a <a href="http://www.scootersoftware.com/vbulletin/showthread.php?t=41520" rel="noreferrer">Beyond Compare forum post</a>:</p>
<p>/usr/bin/bcompare_svn:</p>
<pre><code>#!/bin/bash
/usr/bin/bcompare $6 $7 &
exit 0
</code></pre>
<p>The invocation of bcompare is obvious but I had to add "exit 0" so that sv... | <p>From a <a href="http://www.scootersoftware.com/vbulletin/showthread.php?t=41520" rel="noreferrer">Beyond Compare forum post</a>:</p> <p>/usr/bin/bcompare_svn:</p> <pre><code>#!/bin/bash /usr/bin/bcompare $6 $7 & exit 0 </code></pre> <p>The invocation of bcompare is obvious but I had to add "exit 0" so that sv... | 58, 63, 606, 15129 | beyondcompare, diff, linux, svn | <h1>How do I make Subversion use a third-party diff tool?</h1>
<p>I need more than the default diff! I have recently purchased "Beyond Compare" and I'd like to integrate it with svn, so its launched when I type:</p>
<p>svn diff foo.c</p>
<p>How do I do this?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,424 | svn | # How do I make Subversion use a third-party diff tool?
I need more than the default diff! I have recently purchased "Beyond Compare" and I'd like to integrate it with svn, so its launched when I type:
svn diff foo.c
How do I do this? | From a [Beyond Compare forum post](http://www.scootersoftware.com/vbulletin/showthread.php?t=41520):
/usr/bin/bcompare_svn:
```
#!/bin/bash
/usr/bin/bcompare $6 $7 &
exit 0
```
The invocation of bcompare is obvious but I had to add "exit 0" so that svn would open more than one file at a time.
To make svn invoke my ... |
36324 | "The system cannot find the file specified" when invoking subprocess.Popen in python | 14 | 2008-08-30 20:24:38 | <p>I'm trying to use <code>svnmerge.py</code> to merge some files. Under the hood it uses python, and when I use it I get an error - "The system cannot find the file specified". Colleagues at work are running the same version of <code>svnmerge.py</code>, and of python (2.5.2, specifically r252:60911) without ... | 17,929 | 1,714 | 2022-07-11 21:57:13 | 36,327 | 25 | 2008-08-30 20:34:35 | 3,002 | 2008-08-30 20:48:43 | https://stackoverflow.com/q/36324 | https://stackoverflow.com/a/36327 | <p>It's a bug, see the <a href="http://docs.python.org/lib/node528.html" rel="noreferrer">documentation of <code>subprocess.Popen</code></a>. There either needs to be a <code>"shell=True</code>" option, or the first argument needs to be a sequence <code>['svn', '--version']</code>. As it is now, <code>Popen</code> is l... | <p>It's a bug, see the <a href="http://docs.python.org/lib/node528.html" rel="noreferrer">documentation of <code>subprocess.Popen</code></a>. There either needs to be a <code>"shell=True</code>" option, or the first argument needs to be a sequence <code>['svn', '--version']</code>. As it is now, <code>Popen</code> is l... | 16, 13377 | python, svn-merge | <h1>"The system cannot find the file specified" when invoking subprocess.Popen in python</h1>
<p>I'm trying to use <code>svnmerge.py</code> to merge some files. Under the hood it uses python, and when I use it I get an error - "The system cannot find the file specified". Colleagues at work are running the sam... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,427 | svn | # "The system cannot find the file specified" when invoking subprocess.Popen in python
I'm trying to use `svnmerge.py` to merge some files. Under the hood it uses python, and when I use it I get an error - "The system cannot find the file specified". Colleagues at work are running the same version of `svnmerge.py`, an... | It's a bug, see the [documentation of `subprocess.Popen`](http://docs.python.org/lib/node528.html). There either needs to be a `"shell=True`" option, or the first argument needs to be a sequence `['svn', '--version']`. As it is now, `Popen` is looking for an executable named, literally, "svn --version" which it doesn't... |
3949173 | Losing SVN history on files during refactoring | 13 | 2010-10-16 14:03:01 | <p>During some refactoring, I'm moving files around. Obviously SVN sees this as deleting the file and creating a new one since the IDE doesn't trigger an SVN rename/move operation. However I thought the SVN server would be smart enough to detect it, but this is not proving to be the case... not all the time anyway. I'm... | 6,991 | 197,229 | 2022-05-09 20:23:43 | 3,949,764 | 25 | 2010-10-16 16:37:51 | 140,719 | 2015-04-16 11:11:58 | https://stackoverflow.com/q/3949173 | https://stackoverflow.com/a/3949764 | <p>The SVN way to do this is actually to have SVN rename the file (<code>svn move</code> or using TortoiseSVN's "Rename"). However, if you absolutely <em>must</em> have some external tool to perform the rename operation, you can <strong><em>use TortoiseSVN to repair the move operation</em></strong>. The following will ... | <p>The SVN way to do this is actually to have SVN rename the file (<code>svn move</code> or using TortoiseSVN's "Rename"). However, if you absolutely <em>must</em> have some external tool to perform the rename operation, you can <strong><em>use TortoiseSVN to repair the move operation</em></strong>. The following will ... | 63, 656 | svn, tortoisesvn | <h1>Losing SVN history on files during refactoring</h1>
<p>During some refactoring, I'm moving files around. Obviously SVN sees this as deleting the file and creating a new one since the IDE doesn't trigger an SVN rename/move operation. However I thought the SVN server would be smart enough to detect it, but this is no... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,428 | svn | # Losing SVN history on files during refactoring
During some refactoring, I'm moving files around. Obviously SVN sees this as deleting the file and creating a new one since the IDE doesn't trigger an SVN rename/move operation. However I thought the SVN server would be smart enough to detect it, but this is not proving... | The SVN way to do this is actually to have SVN rename the file (`svn move` or using TortoiseSVN's "Rename"). However, if you absolutely *must* have some external tool to perform the rename operation, you can ***use TortoiseSVN to repair the move operation***. The following will tell SVN that the new file is actually th... |
989034 | Using SharpSvn to retrieve log entries within a date range | 12 | 2009-06-12 21:02:04 | <p>I'm using <a href="http://blogs.open.collab.net/svn/2008/04/sharpsvn-brings.html" rel="noreferrer">SharpSvn</a> to interact with my svn repository via C# code. I am using this code to retrieve svn log entries:</p>
<pre><code>Collection<SvnLogEventArgs> logitems;
var uri = new Uri("http://myserver/svn/foo/bar... | 10,169 | 404 | 2009-06-12 21:42:40 | 989,164 | 25 | 2009-06-12 21:33:01 | 90,203 | 2009-06-12 21:42:40 | https://stackoverflow.com/q/989034 | https://stackoverflow.com/a/989164 | <p>You can try it like this:</p>
<pre><code>DateTime startDateTime = // ...;
DateTime endDateTime = // ...;
SvnRevisionRange range = new SvnRevisionRange(new SvnRevision(startDateTime), new SvnRevision(endDateTime));
client.GetLog(uri, new SvnLogArgs(range), out logitems);
</code></pre>
| <p>You can try it like this:</p> <pre><code>DateTime startDateTime = // ...; DateTime endDateTime = // ...; SvnRevisionRange range = new SvnRevisionRange(new SvnRevision(startDateTime), new SvnRevision(endDateTime)); client.GetLog(uri, new SvnLogArgs(range), out logitems); </code></pre> | 63, 16557 | sharpsvn, svn | <h1>Using SharpSvn to retrieve log entries within a date range</h1>
<p>I'm using <a href="http://blogs.open.collab.net/svn/2008/04/sharpsvn-brings.html" rel="noreferrer">SharpSvn</a> to interact with my svn repository via C# code. I am using this code to retrieve svn log entries:</p>
<pre><code>Collection<SvnLogEv... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,429 | svn | # Using SharpSvn to retrieve log entries within a date range
I'm using [SharpSvn](http://blogs.open.collab.net/svn/2008/04/sharpsvn-brings.html) to interact with my svn repository via C# code. I am using this code to retrieve svn log entries:
```
Collection<SvnLogEventArgs> logitems;
var uri = new Uri("http://myserve... | You can try it like this:
```
DateTime startDateTime = // ...;
DateTime endDateTime = // ...;
SvnRevisionRange range = new SvnRevisionRange(new SvnRevision(startDateTime), new SvnRevision(endDateTime));
client.GetLog(uri, new SvnLogArgs(range), out logitems);
``` |
8340387 | How to exclude .svn folders with robocopy | 10 | 2011-12-01 11:11:12 | <p>does anyone know how to exclude .svn folders with Robocopy?
I want to copy all folders but I want to prevent to copy the subversion folders that svn creates.</p>
<p>Any ideas on this?</p>
<p>Thanks in advance.</p>
| 5,936 | 1,023,679 | 2011-12-01 11:13:00 | 8,340,413 | 25 | 2011-12-01 11:13:00 | 186,971 | 2011-12-01 11:13:00 | https://stackoverflow.com/q/8340387 | https://stackoverflow.com/a/8340413 | <p>The <code>/xd ".svn"</code> folder exclusion should help in your case.</p>
| <p>The <code>/xd ".svn"</code> folder exclusion should help in your case.</p> | 63, 64, 11635 | robocopy, svn, windows | <h1>How to exclude .svn folders with robocopy</h1>
<p>does anyone know how to exclude .svn folders with Robocopy?
I want to copy all folders but I want to prevent to copy the subversion folders that svn creates.</p>
<p>Any ideas on this?</p>
<p>Thanks in advance.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,430 | svn | # How to exclude .svn folders with robocopy
does anyone know how to exclude .svn folders with Robocopy?
I want to copy all folders but I want to prevent to copy the subversion folders that svn creates.
Any ideas on this?
Thanks in advance. | The `/xd ".svn"` folder exclusion should help in your case. |
7754850 | Symbols meaning aside class name in xcode | 10 | 2011-10-13 13:28:26 | <p>I am using Xcode 4.2 in which I have created various classes which shows various symbols like ?, A, M with the name of the classes. Project is running absolutely fine. Still I'm curious to know the meaning of these symbols. Whether the classes with question mark symbol will create error or warning in future?</p>
| 4,887 | 891,589 | 2014-11-24 14:30:19 | 7,898,919 | 25 | 2011-10-26 05:10:52 | 891,589 | 2013-12-27 16:56:25 | https://stackoverflow.com/q/7754850 | https://stackoverflow.com/a/7898919 | <p>After lots of searching I have got the answer at <a href="http://developer.apple.com/library/mac/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/SCM/SCM.html">this</a> link under "Keep Track of Your Files’ SCM Status" section.</p>
<pre><code>M = Locally modified
U = Updated in repository
A = Locally adde... | <p>After lots of searching I have got the answer at <a href="http://developer.apple.com/library/mac/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/SCM/SCM.html">this</a> link under "Keep Track of Your Files’ SCM Status" section.</p> <pre><code>M = Locally modified U = Updated in repository A = Locally adde... | 63, 456, 2743, 69874 | svn, symbols, version-control, xcode4.2 | <h1>Symbols meaning aside class name in xcode</h1>
<p>I am using Xcode 4.2 in which I have created various classes which shows various symbols like ?, A, M with the name of the classes. Project is running absolutely fine. Still I'm curious to know the meaning of these symbols. Whether the classes with question mark sym... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,431 | svn | # Symbols meaning aside class name in xcode
I am using Xcode 4.2 in which I have created various classes which shows various symbols like ?, A, M with the name of the classes. Project is running absolutely fine. Still I'm curious to know the meaning of these symbols. Whether the classes with question mark symbol will ... | After lots of searching I have got the answer at [this](http://developer.apple.com/library/mac/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/SCM/SCM.html) link under "Keep Track of Your Files’ SCM Status" section.
```
M = Locally modified
U = Updated in repository
A = Locally added
D = Locally deleted
I... |
1396368 | How can I switch a subversion repository using only command-line tools? | 8 | 2009-09-08 21:14:17 | <p>Until recently I was a read-only user of an open-source project on GoogleCode. I've been invited onto the team however I need to switch my local repository from using the http:// url to the more secure https:// url which will allow me to commit. </p>
<p>At work TortoiseSVN for Windows has a handy "switch" feature w... | 8,381 | 46,411 | 2012-02-07 11:40:11 | 1,396,387 | 25 | 2009-09-08 21:18:54 | 27,727 | 2009-09-08 21:18:54 | https://stackoverflow.com/q/1396368 | https://stackoverflow.com/a/1396387 | <p>The command-line way is:</p>
<pre><code>svn switch --relocate http://old-url https://new-url
</code></pre>
| <p>The command-line way is:</p> <pre><code>svn switch --relocate http://old-url https://new-url </code></pre> | 63 | svn | <h1>How can I switch a subversion repository using only command-line tools?</h1>
<p>Until recently I was a read-only user of an open-source project on GoogleCode. I've been invited onto the team however I need to switch my local repository from using the http:// url to the more secure https:// url which will allow me t... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,432 | svn | # How can I switch a subversion repository using only command-line tools?
Until recently I was a read-only user of an open-source project on GoogleCode. I've been invited onto the team however I need to switch my local repository from using the http:// url to the more secure https:// url which will allow me to commit.... | The command-line way is:
```
svn switch --relocate http://old-url https://new-url
``` |
4744741 | How to check out a particular version of code from SVN? | 7 | 2011-01-20 08:06:53 | <blockquote>
<p><strong>Possible Duplicate:</strong> <br/>
<a href="https://stackoverflow.com/questions/1429034">Checkout a specific revision from Subversion from the command line</a></p>
</blockquote>
<p>How can I check out a particular version of code from SVN (Subversion)?</p>
| 39,474 | 148,869 | 2016-08-15 15:01:11 | 4,744,763 | 25 | 2011-01-20 08:10:18 | 60,117 | 2011-01-20 08:10:18 | https://stackoverflow.com/q/4744741 | https://stackoverflow.com/a/4744763 | <p>What client are you using?</p>
<pre><code>svn checkout svn://repository/path@123
</code></pre>
<p>or</p>
<pre><code>svn checkout -r 123 url://repository/path
</code></pre>
<p>or</p>
<blockquote>
<p><code>TortoiseProc.exe /command:checkout /rev:1234</code></p>
</blockquote>
| <p>What client are you using?</p> <pre><code>svn checkout svn://repository/path@123 </code></pre> <p>or</p> <pre><code>svn checkout -r 123 url://repository/path </code></pre> <p>or</p> <blockquote> <p><code>TortoiseProc.exe /command:checkout /rev:1234</code></p> </blockquote> | 63 | svn | <h1>How to check out a particular version of code from SVN?</h1>
<blockquote>
<p><strong>Possible Duplicate:</strong> <br/>
<a href="https://stackoverflow.com/questions/1429034">Checkout a specific revision from Subversion from the command line</a></p>
</blockquote>
<p>How can I check out a particular version of... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,433 | svn | # How to check out a particular version of code from SVN?
> **Possible Duplicate:**
> [Checkout a specific revision from Subversion from the command line](https://stackoverflow.com/questions/1429034)
How can I check out a particular version of code from SVN (Subversion)? | What client are you using?
```
svn checkout svn://repository/path@123
```
or
```
svn checkout -r 123 url://repository/path
```
or
> `TortoiseProc.exe /command:checkout /rev:1234` |
3517848 | How to undo an -R status (marked for deletion) in SVN | 7 | 2010-08-19 00:34:03 | <p>I'm trying to add a_folder to SVN but I accidentally scheduled my root directory for deletion:</p>
<pre><code>[phil@sessions www]$svn status
R .
A a_folder
</code></pre>
<p>I can't commit a_folder's adding because...</p>
<pre><code>[phil@sessions www]$ svn commit a_folder-m "adding"
svn: Commit failed (... | 11,276 | 43,035 | 2015-07-06 14:20:28 | 3,517,865 | 25 | 2010-08-19 00:38:12 | 40,468 | 2010-08-19 00:38:12 | https://stackoverflow.com/q/3517848 | https://stackoverflow.com/a/3517865 | <p><code>svn revert .</code></p>
| <p><code>svn revert .</code></p> | 63 | svn | <h1>How to undo an -R status (marked for deletion) in SVN</h1>
<p>I'm trying to add a_folder to SVN but I accidentally scheduled my root directory for deletion:</p>
<pre><code>[phil@sessions www]$svn status
R .
A a_folder
</code></pre>
<p>I can't commit a_folder's adding because...</p>
<pre><code>[phil@ses... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,434 | svn | # How to undo an -R status (marked for deletion) in SVN
I'm trying to add a_folder to SVN but I accidentally scheduled my root directory for deletion:
```
[phil@sessions www]$svn status
R .
A a_folder
```
I can't commit a_folder's adding because...
```
[phil@sessions www]$ svn commit a_folder-m "adding"
s... | `svn revert .` |
14555944 | SVN: is it possible to get svn info for a given revision number of a branch | 24 | 2013-01-28 05:27:21 | <p>Is it possible to get svn info for a branch for a specific revision number. For example if the latest working copy of a branch has revision number 56, can I get info for the same branch for revsion number 32.</p>
| 42,272 | 894,272 | 2018-10-07 00:34:47 | 14,556,063 | 24 | 2013-01-28 05:40:06 | 1,248,114 | 2013-01-28 10:15:17 | https://stackoverflow.com/q/14555944 | https://stackoverflow.com/a/14556063 | <p>There are two options available to get informatioon about past revisions: </p>
<ul>
<li><code>svn log -r <rev number> <url></code>: the commit message of a specified revision and url</li>
<li><code>svn info -r <rev number> <url></code>: some technical information about a specified revision a... | <p>There are two options available to get informatioon about past revisions: </p> <ul> <li><code>svn log -r <rev number> <url></code>: the commit message of a specified revision and url</li> <li><code>svn info -r <rev number> <url></code>: some technical information about a specified revision a... | 63, 1555, 1879 | branch, revision, svn | <h1>SVN: is it possible to get svn info for a given revision number of a branch</h1>
<p>Is it possible to get svn info for a branch for a specific revision number. For example if the latest working copy of a branch has revision number 56, can I get info for the same branch for revsion number 32.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,436 | svn | # SVN: is it possible to get svn info for a given revision number of a branch
Is it possible to get svn info for a branch for a specific revision number. For example if the latest working copy of a branch has revision number 56, can I get info for the same branch for revsion number 32. | There are two options available to get informatioon about past revisions:
- `svn log -r <rev number> <url>`: the commit message of a specified revision and url
- `svn info -r <rev number> <url>`: some technical information about a specified revision and url
An example: `svn log -r 5628 https://repo.exampl.org/prod/br... |
5500813 | How to backup SVN repository? | 23 | 2011-03-31 13:41:01 | <p>I often hear that having an SVN repository doesn't cancel need for backups.</p>
<p>How is such backup done? I mean the repository will inflate over time, won't it? So do I back it up as a whole every time or what do I do?</p>
<p>What's the easiest way to do such backups?</p>
| 66,045 | 57,428 | 2017-06-20 21:02:20 | 5,500,871 | 24 | 2011-03-31 13:46:04 | 149,053 | 2011-03-31 13:46:04 | https://stackoverflow.com/q/5500813 | https://stackoverflow.com/a/5500871 | <p>I've used <a href="http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.hotcopy.html">svnadmin with hotcopy</a>.</p>
<pre><code>svnadmin hotcopy repopath backupdestination
</code></pre>
<p>You can also use the <a href="http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.dump.html">svnadmin dump command<... | <p>I've used <a href="http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.hotcopy.html">svnadmin with hotcopy</a>.</p> <pre><code>svnadmin hotcopy repopath backupdestination </code></pre> <p>You can also use the <a href="http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.dump.html">svnadmin dump command<... | 63, 456, 493, 17381 | backup, backup-strategies, svn, version-control | <h1>How to backup SVN repository?</h1>
<p>I often hear that having an SVN repository doesn't cancel need for backups.</p>
<p>How is such backup done? I mean the repository will inflate over time, won't it? So do I back it up as a whole every time or what do I do?</p>
<p>What's the easiest way to do such backups?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,437 | svn | # How to backup SVN repository?
I often hear that having an SVN repository doesn't cancel need for backups.
How is such backup done? I mean the repository will inflate over time, won't it? So do I back it up as a whole every time or what do I do?
What's the easiest way to do such backups? | I've used [svnadmin with hotcopy](http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.hotcopy.html).
```
svnadmin hotcopy repopath backupdestination
```
You can also use the [svnadmin dump command](http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.dump.html). |
709372 | Alternative to binaries in Subversion | 23 | 2009-04-02 11:43:53 | <p>Some of my colleagues are convinced that committing build artefacts to the subversion repository is a good idea. The argument is that this way, installation and update on the test machines is easy - just "svn up"!</p>
<p>I'm sure there are weighty arguments against this bad practice, but all I can think of are lame... | 2,850 | 4,596 | 2013-06-03 14:25:41 | 709,407 | 24 | 2009-04-02 11:58:02 | 76,776 | 2009-04-02 11:58:02 | https://stackoverflow.com/q/709372 | https://stackoverflow.com/a/709407 | <p>In my opinion the code repository should only contain source code as well as third party libraries required to compile this source code (also the third party libraries might be retrieved with some dependency management tool during the build process). The resulting binaries should not get checked in along with the so... | <p>In my opinion the code repository should only contain source code as well as third party libraries required to compile this source code (also the third party libraries might be retrieved with some dependency management tool during the build process). The resulting binaries should not get checked in along with the so... | 17, 63 | java, svn | <h1>Alternative to binaries in Subversion</h1>
<p>Some of my colleagues are convinced that committing build artefacts to the subversion repository is a good idea. The argument is that this way, installation and update on the test machines is easy - just "svn up"!</p>
<p>I'm sure there are weighty arguments against thi... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,438 | svn | # Alternative to binaries in Subversion
Some of my colleagues are convinced that committing build artefacts to the subversion repository is a good idea. The argument is that this way, installation and update on the test machines is easy - just "svn up"!
I'm sure there are weighty arguments against this bad practice, ... | In my opinion the code repository should only contain source code as well as third party libraries required to compile this source code (also the third party libraries might be retrieved with some dependency management tool during the build process). The resulting binaries should not get checked in along with the sourc... |
20804444 | Using Meld as external diff tool with Tortoise SVN | 22 | 2013-12-27 16:48:40 | <p>I have Tortoise SVN but I don't like the diff tool. Is there a way to use Meld with tortoise SVN? I know tortoise has an option to set external diff tools, but I am not sure how to use that with meld.</p>
| 13,070 | 2,662,279 | 2018-03-14 08:56:44 | 22,261,662 | 24 | 2014-03-07 22:08:56 | 2,712,968 | 2014-10-22 05:08:19 | https://stackoverflow.com/q/20804444 | https://stackoverflow.com/a/22261662 | <ol>
<li><p>Download meld from <a href="http://sourceforge.net/projects/meld-installer/" rel="noreferrer">http://sourceforge.net/projects/meld-installer/</a></p></li>
<li><p>Unpack the downloaded zip archive into "Program Files" or wherever you want it to be installed. This will create two folders, named "meld" and "py... | <ol> <li><p>Download meld from <a href="http://sourceforge.net/projects/meld-installer/" rel="noreferrer">http://sourceforge.net/projects/meld-installer/</a></p></li> <li><p>Unpack the downloaded zip archive into "Program Files" or wherever you want it to be installed. This will create two folders, named "meld" and "py... | 606, 656, 13630 | diff, meld, tortoisesvn | <h1>Using Meld as external diff tool with Tortoise SVN</h1>
<p>I have Tortoise SVN but I don't like the diff tool. Is there a way to use Meld with tortoise SVN? I know tortoise has an option to set external diff tools, but I am not sure how to use that with meld.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,439 | svn | # Using Meld as external diff tool with Tortoise SVN
I have Tortoise SVN but I don't like the diff tool. Is there a way to use Meld with tortoise SVN? I know tortoise has an option to set external diff tools, but I am not sure how to use that with meld. | 1. Download meld from <http://sourceforge.net/projects/meld-installer/>
2. Unpack the downloaded zip archive into "Program Files" or wherever you want it to be installed. This will create two folders, named "meld" and "python".
3. Start "meld.exe" from the "meld" folder. If you get a Meld window opened, then you have i... |
5046075 | Unfixable mixed-revision working copy in SVN | 22 | 2011-02-18 20:15:37 | <p>I have a branch checkout that is clean (no modifications), but I cannot reintegrate the trunk back into my branch, because SVN thinks I have a mixed-revision working copy:</p>
<pre><code>c:\myproject> svnversion
2045:2047
</code></pre>
<p>The problem seems to be caused by one of my externals:</p>
<pre><code>c:... | 36,171 | 44,330 | 2022-04-13 16:49:28 | 5,112,819 | 24 | 2011-02-25 02:01:39 | 40,745 | 2011-02-25 02:01:39 | https://stackoverflow.com/q/5046075 | https://stackoverflow.com/a/5112819 | <p>Looks like you're not the only one with this problem.</p>
<p>The fix is to use the equivalent of <code>svn update --ignore-externals</code></p>
<p>See here:
<a href="https://stackoverflow.com/questions/1764002/svn-reintegrate-a-branch-with-externals-fails/1823018#1823018">Reintegrate a branch with externals fails ... | <p>Looks like you're not the only one with this problem.</p> <p>The fix is to use the equivalent of <code>svn update --ignore-externals</code></p> <p>See here: <a href="https://stackoverflow.com/questions/1764002/svn-reintegrate-a-branch-with-externals-fails/1823018#1823018">Reintegrate a branch with externals fails ... | 63, 717, 31462 | merge, svn, svn-externals | <h1>Unfixable mixed-revision working copy in SVN</h1>
<p>I have a branch checkout that is clean (no modifications), but I cannot reintegrate the trunk back into my branch, because SVN thinks I have a mixed-revision working copy:</p>
<pre><code>c:\myproject> svnversion
2045:2047
</code></pre>
<p>The problem seems t... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,440 | svn | # Unfixable mixed-revision working copy in SVN
I have a branch checkout that is clean (no modifications), but I cannot reintegrate the trunk back into my branch, because SVN thinks I have a mixed-revision working copy:
```
c:\myproject> svnversion
2045:2047
```
The problem seems to be caused by one of my externals:
... | Looks like you're not the only one with this problem.
The fix is to use the equivalent of `svn update --ignore-externals`
See here:
[Reintegrate a branch with externals fails in SVN](https://stackoverflow.com/questions/1764002/svn-reintegrate-a-branch-with-externals-fails/1823018#1823018) |
1560969 | To where should I point the VCS root of TeamCity? | 20 | 2009-10-13 15:27:24 | <p>I am setting up TeamCity and I am wondering what should be used as the VCS Root.</p>
<p>My svn repository is located at <a href="http://obfuscatedserver/svn/main/MyProject1/" rel="noreferrer">http://obfuscatedserver/svn/main/MyProject1/</a></p>
<p>Should I set the VCS Root at <a href="http://obfuscatedserver/svn/m... | 6,286 | 151,488 | 2011-09-30 10:15:36 | 1,594,564 | 24 | 2009-10-20 13:19:59 | 193,096 | 2009-10-20 13:19:59 | https://stackoverflow.com/q/1560969 | https://stackoverflow.com/a/1594564 | <p>I would recommend using <a href="http://obfuscatedserver/svn/main/" rel="noreferrer">http://obfuscatedserver/svn/main/</a> as the VCS Root, and then restricting which folders are checked out using checkout rules.</p>
<p>Add the following checkout rules (section 2 of the build config):</p>
<pre><code> +:/MyProject... | <p>I would recommend using <a href="http://obfuscatedserver/svn/main/" rel="noreferrer">http://obfuscatedserver/svn/main/</a> as the VCS Root, and then restricting which folders are checked out using checkout rules.</p> <p>Add the following checkout rules (section 2 of the build config):</p> <pre><code> +:/MyProject... | 63, 265, 604, 1066 | continuous-integration, msbuild, svn, teamcity | <h1>To where should I point the VCS root of TeamCity?</h1>
<p>I am setting up TeamCity and I am wondering what should be used as the VCS Root.</p>
<p>My svn repository is located at <a href="http://obfuscatedserver/svn/main/MyProject1/" rel="noreferrer">http://obfuscatedserver/svn/main/MyProject1/</a></p>
<p>Should I... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,442 | svn | # To where should I point the VCS root of TeamCity?
I am setting up TeamCity and I am wondering what should be used as the VCS Root.
My svn repository is located at <http://obfuscatedserver/svn/main/MyProject1/>
Should I set the VCS Root at <http://obfuscatedserver/svn/main/MyProject1/> or use the trunk folder at <h... | I would recommend using <http://obfuscatedserver/svn/main/> as the VCS Root, and then restricting which folders are checked out using checkout rules.
Add the following checkout rules (section 2 of the build config):
```
+:/MyProject1/trunk
```
You will probably also need to update the location of your msbuild file... |
25636002 | SVN commit error says attempt to write a readonly database | 19 | 2014-09-03 03:58:30 | <p>I'm maintaining SVN server on an Ubuntu machine. And currently for some reason it didn't allow to commit. While commit it display following error message.</p>
<pre><code>Warning: post-commit FS processing had error 'attempt to write a readonly database'.
</code></pre>
<p>How can I fix this issue?</p>
| 30,674 | 3,973,151 | 2018-03-15 15:28:33 | 25,636,356 | 24 | 2014-09-03 04:40:18 | 1,473,915 | 2014-09-03 04:40:18 | https://stackoverflow.com/q/25636002 | https://stackoverflow.com/a/25636356 | <p>This seems to be caused by incorrect permissions on some of the svn files in your repository. A <a href="https://svn.help.collab.net/entries/24663856-svn-commit-fails-with-error-attempt-to-write-a-readonly-database" rel="noreferrer">quick</a> <a href="http://www.gsdesign.ro/blog/error-svn-attempt-to-write-a-readonly... | <p>This seems to be caused by incorrect permissions on some of the svn files in your repository. A <a href="https://svn.help.collab.net/entries/24663856-svn-commit-fails-with-error-attempt-to-write-a-readonly-database" rel="noreferrer">quick</a> <a href="http://www.gsdesign.ro/blog/error-svn-attempt-to-write-a-readonly... | 63, 549 | svn, ubuntu | <h1>SVN commit error says attempt to write a readonly database</h1>
<p>I'm maintaining SVN server on an Ubuntu machine. And currently for some reason it didn't allow to commit. While commit it display following error message.</p>
<pre><code>Warning: post-commit FS processing had error 'attempt to write a readonly data... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,443 | svn | # SVN commit error says attempt to write a readonly database
I'm maintaining SVN server on an Ubuntu machine. And currently for some reason it didn't allow to commit. While commit it display following error message.
```
Warning: post-commit FS processing had error 'attempt to write a readonly database'.
```
How can ... | This seems to be caused by incorrect permissions on some of the svn files in your repository. A [quick](https://svn.help.collab.net/entries/24663856-svn-commit-fails-with-error-attempt-to-write-a-readonly-database) [search](http://www.gsdesign.ro/blog/error-svn-attempt-to-write-a-readonly-database-commit-failed/) [show... |
5479962 | Handling SVN conflict | 14 | 2011-03-29 23:04:52 | <p>When firing the SVN update statement I am getting the conflicts. How can I keep my version and check that in. What is the command for that?</p>
| 34,000 | 418,029 | 2017-07-11 09:16:55 | 5,480,040 | 24 | 2011-03-29 23:13:31 | 120,753 | 2012-06-29 19:47:42 | https://stackoverflow.com/q/5479962 | https://stackoverflow.com/a/5480040 | <p>If you're using a shell client like TortoiseSVN, then right click "resolve using mine" as @Adi mentions.</p>
<p>On the command line, it's</p>
<pre><code>svn resolve --accept mine-full <FILENAME>
</code></pre>
| <p>If you're using a shell client like TortoiseSVN, then right click "resolve using mine" as @Adi mentions.</p> <p>On the command line, it's</p> <pre><code>svn resolve --accept mine-full <FILENAME> </code></pre> | 63, 3146 | conflict, svn | <h1>Handling SVN conflict</h1>
<p>When firing the SVN update statement I am getting the conflicts. How can I keep my version and check that in. What is the command for that?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,446 | svn | # Handling SVN conflict
When firing the SVN update statement I am getting the conflicts. How can I keep my version and check that in. What is the command for that? | If you're using a shell client like TortoiseSVN, then right click "resolve using mine" as @Adi mentions.
On the command line, it's
```
svn resolve --accept mine-full <FILENAME>
``` |
8634466 | svn: generic failure | 13 | 2011-12-26 09:31:11 | <p>I know this problem is asked multiple times around the globe, but I believe mine is a little different from the others.</p>
<p>The scenario is as follow:</p>
<blockquote>
<p><strong>Day1:</strong> Installing an Ubuntu Server 10.04 on a cloud server with
Subversion 1.6.6 on a remote server.</p>
<p><strong>... | 7,835 | 866,082 | 2012-10-29 15:24:27 | 12,517,570 | 24 | 2012-09-20 17:14:49 | 1,069,083 | 2012-09-20 17:14:49 | https://stackoverflow.com/q/8634466 | https://stackoverflow.com/a/12517570 | <p>svn needs your hostname routed to 127.0.0.1 (local)</p>
<p>if your hostname is not in </p>
<pre><code>cat /etc/hosts
</code></pre>
<p>this will add your current hostname to it:</p>
<pre><code>#(as root)
echo 127.0.0.1 `hostname`>> /etc/hosts
</code></pre>
| <p>svn needs your hostname routed to 127.0.0.1 (local)</p> <p>if your hostname is not in </p> <pre><code>cat /etc/hosts </code></pre> <p>this will add your current hostname to it:</p> <pre><code>#(as root) echo 127.0.0.1 `hostname`>> /etc/hosts </code></pre> | 63 | svn | <h1>svn: generic failure</h1>
<p>I know this problem is asked multiple times around the globe, but I believe mine is a little different from the others.</p>
<p>The scenario is as follow:</p>
<blockquote>
<p><strong>Day1:</strong> Installing an Ubuntu Server 10.04 on a cloud server with
Subversion 1.6.6 on a remot... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,447 | svn | # svn: generic failure
I know this problem is asked multiple times around the globe, but I believe mine is a little different from the others.
The scenario is as follow:
> **Day1:** Installing an Ubuntu Server 10.04 on a cloud server with
> Subversion 1.6.6 on a remote server.
>
> **Day2:** Importing the first proje... | svn needs your hostname routed to 127.0.0.1 (local)
if your hostname is not in
```
cat /etc/hosts
```
this will add your current hostname to it:
```
#(as root)
echo 127.0.0.1 `hostname`>> /etc/hosts
``` |
6457457 | Cannot find javahl, svnkit nor command line svn client | 13 | 2011-06-23 16:28:05 | <p>I've done numerous svn / ant set-ups and but this time cann't figure out what's wrong.</p>
<p>Using Linux, </p>
<pre><code>svn 1.6.6
ant 1.8.2
svnant 1.3.1
</code></pre>
<p>I've copied the svnant jar files into <code>$ANT_HOME/lib</code></p>
<pre><code>top@secret:~/apps/apache-ant-1.8.2/lib$ ls -l
-rw-r--r-- 1 r... | 32,106 | 60,956 | 2013-09-04 10:16:01 | 6,458,355 | 24 | 2011-06-23 17:43:25 | 644,450 | 2012-05-14 10:04:00 | https://stackoverflow.com/q/6457457 | https://stackoverflow.com/a/6458355 | <p>Javahl way always needs some kind of os-dependent driver. This is mostly hard to set-up and I don't recommend using it.</p>
<p>You should try using <code>svnkit</code>:</p>
<pre><code><svn svnkit="true">
</code></pre>
<p>This uses the pure java library, but needs <code>svnkit.jar</code> to be in the ... | <p>Javahl way always needs some kind of os-dependent driver. This is mostly hard to set-up and I don't recommend using it.</p> <p>You should try using <code>svnkit</code>:</p> <pre><code><svn svnkit="true"> </code></pre> <p>This uses the pure java library, but needs <code>svnkit.jar</code> to be in the ... | 63, 142 | ant, svn | <h1>Cannot find javahl, svnkit nor command line svn client</h1>
<p>I've done numerous svn / ant set-ups and but this time cann't figure out what's wrong.</p>
<p>Using Linux, </p>
<pre><code>svn 1.6.6
ant 1.8.2
svnant 1.3.1
</code></pre>
<p>I've copied the svnant jar files into <code>$ANT_HOME/lib</code></p>
<pre><c... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,448 | svn | # Cannot find javahl, svnkit nor command line svn client
I've done numerous svn / ant set-ups and but this time cann't figure out what's wrong.
Using Linux,
```
svn 1.6.6
ant 1.8.2
svnant 1.3.1
```
I've copied the svnant jar files into `$ANT_HOME/lib`
```
top@secret:~/apps/apache-ant-1.8.2/lib$ ls -l
-rw-r--r-- 1 ... | Javahl way always needs some kind of os-dependent driver. This is mostly hard to set-up and I don't recommend using it.
You should try using `svnkit`:
```
<svn svnkit="true">
```
This uses the pure java library, but needs `svnkit.jar` to be in the classpath.
### References:
1. <http://subclipse.tigris.org/svnant/s... |
6882020 | How to ignore folder without removing it from my repository | 11 | 2011-07-30 08:33:52 | <p>I have this tmp/ and cache/ directories, that keep generating files that don't need to be commited. </p>
<p>How can I set it so svn ignores them, but doesn't delete them or remove them from the repository, they are needed for the site to work. </p>
| 28,032 | 522,337 | 2017-11-08 08:23:52 | 6,882,073 | 24 | 2011-07-30 08:45:58 | 135,448 | 2011-07-30 08:55:10 | https://stackoverflow.com/q/6882020 | https://stackoverflow.com/a/6882073 | <pre><code>$ cd /path/to/app/tmp
$ svn propset svn:ignore '*' .
$ cd /path/to/app/cache
$ svn propset svn:ignore '*' .
</code></pre>
<p>EDIT: Here's the steps if you already previously committed</p>
<pre><code>$ cd /path/to/app/tmp
$ svn st
M slkdjfag.jpg
M gasgsag.png
. #bunch of M's
$ svn rm * --force
$ svn ci -m'... | <pre><code>$ cd /path/to/app/tmp $ svn propset svn:ignore '*' . $ cd /path/to/app/cache $ svn propset svn:ignore '*' . </code></pre> <p>EDIT: Here's the steps if you already previously committed</p> <pre><code>$ cd /path/to/app/tmp $ svn st M slkdjfag.jpg M gasgsag.png . #bunch of M's $ svn rm * --force $ svn ci -m'... | 63, 7330 | repository, svn | <h1>How to ignore folder without removing it from my repository</h1>
<p>I have this tmp/ and cache/ directories, that keep generating files that don't need to be commited. </p>
<p>How can I set it so svn ignores them, but doesn't delete them or remove them from the repository, they are needed for the site to work. </p... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,450 | svn | # How to ignore folder without removing it from my repository
I have this tmp/ and cache/ directories, that keep generating files that don't need to be commited.
How can I set it so svn ignores them, but doesn't delete them or remove them from the repository, they are needed for the site to work. | ```
$ cd /path/to/app/tmp
$ svn propset svn:ignore '*' .
$ cd /path/to/app/cache
$ svn propset svn:ignore '*' .
```
EDIT: Here's the steps if you already previously committed
```
$ cd /path/to/app/tmp
$ svn st
M slkdjfag.jpg
M gasgsag.png
. #bunch of M's
$ svn rm * --force
$ svn ci -m'trunk: cleaning up tmp director... |
5698121 | How to merge with SVN server prior to 1.5 (retrieval of mergeinfo unsupported)? | 10 | 2011-04-18 03:08:37 | <p>Locally I've got <code>TortoiseSVN</code> version 1.6.11 installed.</p>
<p>This is using Subversion 1.6.13</p>
<p>My central SVN repository uses version SVN Server version 1.4.2 (and I can't upgrade it).</p>
<p>Every time I try to merge I get the message:</p>
<pre><code>retrieval of mergeinfo unsupported by http... | 11,247 | 93,733 | 2019-01-11 14:11:19 | 5,710,128 | 24 | 2011-04-18 23:52:54 | 526,535 | 2011-04-18 23:58:42 | https://stackoverflow.com/q/5698121 | https://stackoverflow.com/a/5710128 | <p>When merging, >=1.5, clients can do merge-tracking - basically find the revision when the last merge was done. Merge-tracking information is stored in the svn:mergeinfo property by the client when it performs a merge and once the merge is done, it is stored by the server. So when a new merge is done, the client expe... | <p>When merging, >=1.5, clients can do merge-tracking - basically find the revision when the last merge was done. Merge-tracking information is stored in the svn:mergeinfo property by the client when it performs a merge and once the merge is done, it is stored by the server. So when a new merge is done, the client expe... | 63, 656 | svn, tortoisesvn | <h1>How to merge with SVN server prior to 1.5 (retrieval of mergeinfo unsupported)?</h1>
<p>Locally I've got <code>TortoiseSVN</code> version 1.6.11 installed.</p>
<p>This is using Subversion 1.6.13</p>
<p>My central SVN repository uses version SVN Server version 1.4.2 (and I can't upgrade it).</p>
<p>Every time I t... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,451 | svn | # How to merge with SVN server prior to 1.5 (retrieval of mergeinfo unsupported)?
Locally I've got `TortoiseSVN` version 1.6.11 installed.
This is using Subversion 1.6.13
My central SVN repository uses version SVN Server version 1.4.2 (and I can't upgrade it).
Every time I try to merge I get the message:
```
retri... | When merging, >=1.5, clients can do merge-tracking - basically find the revision when the last merge was done. Merge-tracking information is stored in the svn:mergeinfo property by the client when it performs a merge and once the merge is done, it is stored by the server. So when a new merge is done, the client expects... |
1641647 | URL for creating local repository on Subversion | 8 | 2009-10-29 04:41:27 | <p>I want to create a new Subversion repository through Aptana Studio. Both Aptana SVN plugin and Aptana Subversive plugins are installed. I am not following what URL to give as I want to create the repository on localhost.</p>
<p>Please see this link: <a href="http://screencast.com/t/qVn3OvWqL" rel="noreferrer">http:... | 45,192 | 194,328 | 2012-10-27 15:22:36 | 1,642,877 | 24 | 2009-10-29 10:47:43 | 23,264 | 2009-10-29 10:47:43 | https://stackoverflow.com/q/1641647 | https://stackoverflow.com/a/1642877 | <p>You must create the repository <em>before</em> you can checkout from it. This is a mdifference to DVCSes. So to create. Usually Plugins are not able to <em>create</em> repositories(as you need local access to server).</p>
<p>If you have TortoiseSVN just browse to the directory where your repository should be, in yo... | <p>You must create the repository <em>before</em> you can checkout from it. This is a mdifference to DVCSes. So to create. Usually Plugins are not able to <em>create</em> repositories(as you need local access to server).</p> <p>If you have TortoiseSVN just browse to the directory where your repository should be, in yo... | 63, 3311 | subversive, svn | <h1>URL for creating local repository on Subversion</h1>
<p>I want to create a new Subversion repository through Aptana Studio. Both Aptana SVN plugin and Aptana Subversive plugins are installed. I am not following what URL to give as I want to create the repository on localhost.</p>
<p>Please see this link: <a href="... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,452 | svn | # URL for creating local repository on Subversion
I want to create a new Subversion repository through Aptana Studio. Both Aptana SVN plugin and Aptana Subversive plugins are installed. I am not following what URL to give as I want to create the repository on localhost.
Please see this link: <http://screencast.com/t/... | You must create the repository *before* you can checkout from it. This is a mdifference to DVCSes. So to create. Usually Plugins are not able to *create* repositories(as you need local access to server).
If you have TortoiseSVN just browse to the directory where your repository should be, in your case:
```
d:\subvers... |
874307 | Subversion - dealing with code generation | 8 | 2009-05-17 10:20:58 | <p>We have a web application framework that we want to use with Subversion. We've tried a couple of times before to set it up, but the code generation part of our application is causing problems. </p>
<p>The problem is that the generated code from one developer can be in a newer file than from another developer, but ... | 867 | 106,657 | 2010-12-07 19:57:17 | 874,325 | 24 | 2009-05-17 10:31:29 | 75,170 | 2009-05-17 10:39:43 | https://stackoverflow.com/q/874307 | https://stackoverflow.com/a/874325 | <p>The best way to decide to whether something should be in Subversion is to remember that it's a <em>version control system</em>. <strong>If you don't need to remember how it changed over time, it doesn't need to be in <code>svn</code>.</strong> Use <strong><code>svn:ignore</code></strong> to exclude files from such c... | <p>The best way to decide to whether something should be in Subversion is to remember that it's a <em>version control system</em>. <strong>If you don't need to remember how it changed over time, it doesn't need to be in <code>svn</code>.</strong> Use <strong><code>svn:ignore</code></strong> to exclude files from such c... | 63, 456 | svn, version-control | <h1>Subversion - dealing with code generation</h1>
<p>We have a web application framework that we want to use with Subversion. We've tried a couple of times before to set it up, but the code generation part of our application is causing problems. </p>
<p>The problem is that the generated code from one developer can b... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,453 | svn | # Subversion - dealing with code generation
We have a web application framework that we want to use with Subversion. We've tried a couple of times before to set it up, but the code generation part of our application is causing problems.
The problem is that the generated code from one developer can be in a newer file ... | The best way to decide to whether something should be in Subversion is to remember that it's a *version control system*. **If you don't need to remember how it changed over time, it doesn't need to be in `svn`.** Use **`svn:ignore`** to exclude files from such consideration.
That's the case here: you don't care how th... |
22068297 | Jenkins Subversion Error - E200015: No credential to try. Authentication failed | 30 | 2014-02-27 12:17:42 | <p>I've updated the Subversion plugin of jenkins to version 2.2</p>
<p>Now i get following error for repos which build the first time after the upgrade and for repos where something within an external changed. It works for all other builds as expected.</p>
<p>I tried to add additional credentials but this did not hel... | 55,382 | 325,479 | 2016-08-18 20:11:15 | 22,812,642 | 23 | 2014-04-02 13:13:49 | 325,479 | 2016-08-18 20:11:15 | https://stackoverflow.com/q/22068297 | https://stackoverflow.com/a/22812642 | <p>Ok after many comments on the official bug <a href="https://issues.jenkins-ci.org/browse/JENKINS-21785" rel="noreferrer">report</a> we were able to solve this issue.</p>
<p>So to get it working you have to update to the newest 2.3-snaptshot of the subversion plugin,
which can be found here:</p>
<p><a href="https:/... | <p>Ok after many comments on the official bug <a href="https://issues.jenkins-ci.org/browse/JENKINS-21785" rel="noreferrer">report</a> we were able to solve this issue.</p> <p>So to get it working you have to update to the newest 2.3-snaptshot of the subversion plugin, which can be found here:</p> <p><a href="https:/... | 63, 3858, 5357, 64999 | credentials, hudson, jenkins, svn | <h1>Jenkins Subversion Error - E200015: No credential to try. Authentication failed</h1>
<p>I've updated the Subversion plugin of jenkins to version 2.2</p>
<p>Now i get following error for repos which build the first time after the upgrade and for repos where something within an external changed. It works for all oth... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,456 | svn | # Jenkins Subversion Error - E200015: No credential to try. Authentication failed
I've updated the Subversion plugin of jenkins to version 2.2
Now i get following error for repos which build the first time after the upgrade and for repos where something within an external changed. It works for all other builds as exp... | Ok after many comments on the official bug [report](https://issues.jenkins-ci.org/browse/JENKINS-21785) we were able to solve this issue.
So to get it working you have to update to the newest 2.3-snaptshot of the subversion plugin,
which can be found here:
<https://jenkins.ci.cloudbees.com/job/plugins/job/subversion-... |
96313 | How can I restore svn control if the .svn folder has been damaged? | 27 | 2008-09-18 20:02:16 | <p>I've got a couple large checkouts where the .svn folder has become damaged so I'm getting and error, "Cleanup failed to process the following path.." And I can no longer commit or update files in that directory.</p>
<p>I'd just delete and do the checkout again but the whole directory is over a gig.</p>
<p>Is there... | 22,969 | 1,430 | 2010-10-29 22:02:02 | 96,415 | 23 | 2008-09-18 20:13:07 | 5,555 | 2008-09-21 13:22:51 | https://stackoverflow.com/q/96313 | https://stackoverflow.com/a/96415 | <p>In case you have changes to the files, and cannot delete them, you can use the Subversion 1.5 feature that allows you to 'checkout with obstructions'.</p>
<p>Just delete the .svn directory in this directory and:<br>
(you don't need to delete inside directories when using --depth files, thanks Eric)</p>
<p>In case ... | <p>In case you have changes to the files, and cannot delete them, you can use the Subversion 1.5 feature that allows you to 'checkout with obstructions'.</p> <p>Just delete the .svn directory in this directory and:<br> (you don't need to delete inside directories when using --depth files, thanks Eric)</p> <p>In case ... | 63 | svn | <h1>How can I restore svn control if the .svn folder has been damaged?</h1>
<p>I've got a couple large checkouts where the .svn folder has become damaged so I'm getting and error, "Cleanup failed to process the following path.." And I can no longer commit or update files in that directory.</p>
<p>I'd just delete and d... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,457 | svn | # How can I restore svn control if the .svn folder has been damaged?
I've got a couple large checkouts where the .svn folder has become damaged so I'm getting and error, "Cleanup failed to process the following path.." And I can no longer commit or update files in that directory.
I'd just delete and do the checkout a... | In case you have changes to the files, and cannot delete them, you can use the Subversion 1.5 feature that allows you to 'checkout with obstructions'.
Just delete the .svn directory in this directory and:
(you don't need to delete inside directories when using --depth files, thanks Eric)
In case the broken director... |
19787 | How Do I Find a File in a Subversion Repository History? | 26 | 2008-08-21 12:59:53 | <p>Is it possible to look back through the history of a Subversion repository for files of a certain name (even better would be for them to have a wildcard search)?</p>
<p>I want to see if a <code>.bat</code> file has been committed to the repository at some point in the past but has since been removed in later update... | 19,228 | 277 | 2013-04-01 12:39:46 | 19,826 | 23 | 2008-08-21 13:11:29 | 1,441 | 2008-08-21 13:11:29 | https://stackoverflow.com/q/19787 | https://stackoverflow.com/a/19826 | <p>TortoiseSVN can search the logs very easily, and on my system I can enter ".plg" in the search box and find all adds, modifies, and deletes for those files.</p>
<p>Without Tortoise, the only way I can think of doing that would be to grep the full logs or parse the logs and do your own searching for 'A' and 'D' indi... | <p>TortoiseSVN can search the logs very easily, and on my system I can enter ".plg" in the search box and find all adds, modifies, and deletes for those files.</p> <p>Without Tortoise, the only way I can think of doing that would be to grep the full logs or parse the logs and do your own searching for 'A' and 'D' indi... | 63, 7330 | repository, svn | <h1>How Do I Find a File in a Subversion Repository History?</h1>
<p>Is it possible to look back through the history of a Subversion repository for files of a certain name (even better would be for them to have a wildcard search)?</p>
<p>I want to see if a <code>.bat</code> file has been committed to the repository at... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,458 | svn | # How Do I Find a File in a Subversion Repository History?
Is it possible to look back through the history of a Subversion repository for files of a certain name (even better would be for them to have a wildcard search)?
I want to see if a `.bat` file has been committed to the repository at some point in the past but... | TortoiseSVN can search the logs very easily, and on my system I can enter ".plg" in the search box and find all adds, modifies, and deletes for those files.
Without Tortoise, the only way I can think of doing that would be to grep the full logs or parse the logs and do your own searching for 'A' and 'D' indicators on ... |
18259353 | What's the difference between "svn merge --reintegrate" and svn merge without reintegrate if I'd like to merge a branch onto the trunk | 24 | 2013-08-15 18:36:01 | <p>In the <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.html#svn.ref.svn.sw.reintegrate" rel="noreferrer">svn book</a> it says <code>merge</code>'s <code>--reintegrate</code> is "to merge all of the source URL's changes into the working copy". </p>
<p>I would like to merge a branch back to the trunk. <a hre... | 21,835 | 733,034 | 2013-08-15 20:18:50 | 18,260,529 | 23 | 2013-08-15 19:45:10 | 1,305,501 | 2013-08-15 19:45:10 | https://stackoverflow.com/q/18259353 | https://stackoverflow.com/a/18260529 | <p>A <em>sync merge</em> is something completely different than a <em>reintegration merge</em>. The former is used to merge all changes made on the parent branch to the target branch (typically a feature branch), that have not already been merged. The latter is used to merge a (feature) branch back into the parent bran... | <p>A <em>sync merge</em> is something completely different than a <em>reintegration merge</em>. The former is used to merge all changes made on the parent branch to the target branch (typically a feature branch), that have not already been merged. The latter is used to merge a (feature) branch back into the parent bran... | 63, 456 | svn, version-control | <h1>What's the difference between "svn merge --reintegrate" and svn merge without reintegrate if I'd like to merge a branch onto the trunk</h1>
<p>In the <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svn.html#svn.ref.svn.sw.reintegrate" rel="noreferrer">svn book</a> it says <code>merge</code>'s <code>--reintegrat... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,459 | svn | # What's the difference between "svn merge --reintegrate" and svn merge without reintegrate if I'd like to merge a branch onto the trunk
In the [svn book](http://svnbook.red-bean.com/en/1.7/svn.ref.svn.html#svn.ref.svn.sw.reintegrate) it says `merge`'s `--reintegrate` is "to merge all of the source URL's changes into ... | A *sync merge* is something completely different than a *reintegration merge*. The former is used to merge all changes made on the parent branch to the target branch (typically a feature branch), that have not already been merged. The latter is used to merge a (feature) branch back into the parent branch. Basically tha... |
12725721 | Is there any way to view own svn permissions | 23 | 2012-10-04 10:54:48 | <p>I need to view svn permissions assigned to me. Is there any way to do it with out accessing to svn configuration files?</p>
| 18,103 | 867,063 | 2025-03-17 04:24:34 | 12,728,346 | 23 | 2012-10-04 13:28:24 | 368,630 | 2012-10-04 13:28:24 | https://stackoverflow.com/q/12725721 | https://stackoverflow.com/a/12728346 | <p>The answer is: <strong><em>it depends, but normally no.</em></strong></p>
<p>Subversion has no concept of permissions or users or logins. That might sound strange to the vast majority of people who use Subversion since they need to use accounts and logins, but Subversion does not handle security directly.</p>
<p>I... | <p>The answer is: <strong><em>it depends, but normally no.</em></strong></p> <p>Subversion has no concept of permissions or users or logins. That might sound strange to the vast majority of people who use Subversion since they need to use accounts and logins, but Subversion does not handle security directly.</p> <p>I... | 63 | svn | <h1>Is there any way to view own svn permissions</h1>
<p>I need to view svn permissions assigned to me. Is there any way to do it with out accessing to svn configuration files?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,460 | svn | # Is there any way to view own svn permissions
I need to view svn permissions assigned to me. Is there any way to do it with out accessing to svn configuration files? | The answer is: ***it depends, but normally no.***
Subversion has no concept of permissions or users or logins. That might sound strange to the vast majority of people who use Subversion since they need to use accounts and logins, but Subversion does not handle security directly.
Instead, Subversion passes security co... |
10738994 | How commit all files except one with SVN | 23 | 2012-05-24 14:00:55 | <p>I want to commit all modified files except one using Subversion.</p>
<p>So here is the scenario:</p>
<pre><code>$ svn st
M file1
M file2
M file3
M file4
</code></pre>
<p>I can do something like this:</p>
<pre><code>svn ci -m "Commit 1" file1 file2 file3
svn ci -m "Commit 2" file4
</code></pre>
<p>Bu... | 11,957 | 462,015 | 2018-06-20 09:45:26 | 10,754,125 | 23 | 2012-05-25 12:05:41 | 462,015 | 2012-05-25 12:05:41 | https://stackoverflow.com/q/10738994 | https://stackoverflow.com/a/10754125 | <p>Option 1, AWK:</p>
<pre><code>svn ci -m "Commit 1" `svn st | awk '{print $NF}' | grep -v file4`
svn ci -m "Commit 2" file4
</code></pre>
<p>Option 2, --targets:</p>
<pre><code>svn ci -m "Commit 1" --targets filesToCommit.txt
svn ci -m "Commit 2" file4
</code></pre>
<p>Option 3, --changelist:</p>
<pre><code>svn ... | <p>Option 1, AWK:</p> <pre><code>svn ci -m "Commit 1" `svn st | awk '{print $NF}' | grep -v file4` svn ci -m "Commit 2" file4 </code></pre> <p>Option 2, --targets:</p> <pre><code>svn ci -m "Commit 1" --targets filesToCommit.txt svn ci -m "Commit 2" file4 </code></pre> <p>Option 3, --changelist:</p> <pre><code>svn ... | 63, 1796, 5310, 5597 | command, commit, file, svn | <h1>How commit all files except one with SVN</h1>
<p>I want to commit all modified files except one using Subversion.</p>
<p>So here is the scenario:</p>
<pre><code>$ svn st
M file1
M file2
M file3
M file4
</code></pre>
<p>I can do something like this:</p>
<pre><code>svn ci -m "Commit 1" file1 file2 fil... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,461 | svn | # How commit all files except one with SVN
I want to commit all modified files except one using Subversion.
So here is the scenario:
```
$ svn st
M file1
M file2
M file3
M file4
```
I can do something like this:
```
svn ci -m "Commit 1" file1 file2 file3
svn ci -m "Commit 2" file4
```
But when a large... | Option 1, AWK:
```
svn ci -m "Commit 1" `svn st | awk '{print $NF}' | grep -v file4`
svn ci -m "Commit 2" file4
```
Option 2, --targets:
```
svn ci -m "Commit 1" --targets filesToCommit.txt
svn ci -m "Commit 2" file4
```
Option 3, --changelist:
```
svn changelist my-changelist file1 file2 file3
svn ci -m "Commit 1... |
4155262 | How to change svn url in svnsync? | 19 | 2010-11-11 14:16:38 | <p>How can I change (relocate) a subversion url that I entered when creating a mirror repository using "svnsync init" (example from <code>#https://whatever</code> to <code>svn://whatever</code>)? </p>
<p>tried to run svnsync init again with new url but</p>
<pre><code>svnsync init file:///<path_to_mirror> http:/... | 12,223 | 160,320 | 2018-08-05 15:50:24 | 4,308,817 | 23 | 2010-11-29 22:38:29 | 159,508 | 2018-08-04 13:25:30 | https://stackoverflow.com/q/4155262 | https://stackoverflow.com/a/4308817 | <p>The sync-from URL is stored as a revprop in the mirror repo. If on the machine with the mirror repository (my situation), use the <strong>svnlook</strong> tool to look and <strong>svnadmin</strong> to change:</p>
<pre><code>user@q.r[~]$ svnlook pg --revprop -r0 /path/to/mirror/repo svn:sync-from-url
svn+ssh://svn.a... | <p>The sync-from URL is stored as a revprop in the mirror repo. If on the machine with the mirror repository (my situation), use the <strong>svnlook</strong> tool to look and <strong>svnadmin</strong> to change:</p> <pre><code>user@q.r[~]$ svnlook pg --revprop -r0 /path/to/mirror/repo svn:sync-from-url svn+ssh://svn.a... | 63, 13553 | svn, svnsync | <h1>How to change svn url in svnsync?</h1>
<p>How can I change (relocate) a subversion url that I entered when creating a mirror repository using "svnsync init" (example from <code>#https://whatever</code> to <code>svn://whatever</code>)? </p>
<p>tried to run svnsync init again with new url but</p>
<pre><code>svnsync... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,462 | svn | # How to change svn url in svnsync?
How can I change (relocate) a subversion url that I entered when creating a mirror repository using "svnsync init" (example from `#https://whatever` to `svn://whatever`)?
tried to run svnsync init again with new url but
```
svnsync init file:///<path_to_mirror> http:///<new_url>
s... | The sync-from URL is stored as a revprop in the mirror repo. If on the machine with the mirror repository (my situation), use the **svnlook** tool to look and **svnadmin** to change:
```
user@q.r[~]$ svnlook pg --revprop -r0 /path/to/mirror/repo svn:sync-from-url
svn+ssh://svn.abc.com:1234/svn/foo
```
You will see th... |
17468918 | SVN commit with a newline in message | 18 | 2013-07-04 11:17:33 | <p>I am trying to to an svn commit with a new line in message</p>
<p>how can i do this newline? I have tried</p>
<pre><code>svn commit -m "Issue \n solution" file.js
</code></pre>
<p>but it didnt work obviously. </p>
| 33,622 | 1,149,544 | 2013-07-04 15:01:31 | 17,473,448 | 23 | 2013-07-04 15:01:31 | 2,536,029 | 2013-07-04 15:01:31 | https://stackoverflow.com/q/17468918 | https://stackoverflow.com/a/17473448 | <p>alternatively, just do not specify <code>-m</code> (and not <code>-F</code>) and you will be shown an editor where you can type your message:</p>
<blockquote>
<p>Send changes from your working copy to the repository. If you do not
supply a log message with your commit by using either the --file (-F)
or --mess... | <p>alternatively, just do not specify <code>-m</code> (and not <code>-F</code>) and you will be shown an editor where you can type your message:</p> <blockquote> <p>Send changes from your working copy to the repository. If you do not supply a log message with your commit by using either the --file (-F) or --mess... | 63, 1863, 3705, 5597 | commit, message, newline, svn | <h1>SVN commit with a newline in message</h1>
<p>I am trying to to an svn commit with a new line in message</p>
<p>how can i do this newline? I have tried</p>
<pre><code>svn commit -m "Issue \n solution" file.js
</code></pre>
<p>but it didnt work obviously. </p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,463 | svn | # SVN commit with a newline in message
I am trying to to an svn commit with a new line in message
how can i do this newline? I have tried
```
svn commit -m "Issue \n solution" file.js
```
but it didnt work obviously. | alternatively, just do not specify `-m` (and not `-F`) and you will be shown an editor where you can type your message:
> Send changes from your working copy to the repository. If you do not
> supply a log message with your commit by using either the --file (-F)
> or --message (-m) option, svn will launch your editor ... |
2568428 | Clearing TortoiseSVN authentication cache from the command line | 16 | 2010-04-02 18:32:21 | <p>TortoiseSVN is nice for the most part, but one thing that blows in a team development situation where more than one person is using a particular PC is the authentication. When I'm working on stuff, I like to save my credentials so that I don't need to keep entering it in for logging, branching, committing, etc.</p>... | 29,651 | 214,071 | 2017-12-02 13:12:15 | 2,568,440 | 23 | 2010-04-02 18:35:52 | 259,609 | 2017-12-02 13:12:15 | https://stackoverflow.com/q/2568428 | https://stackoverflow.com/a/2568440 | <p>You have to delete the files manually, like so (using .bat file):</p>
<pre><code>@echo off
rmdir /s /q "%APPDATA%\Subversion\auth"
</code></pre>
<p>See the <a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug.html#tsvn-dug-general-auth" rel="nofollow noreferrer">Authentication</a> section of the To... | <p>You have to delete the files manually, like so (using .bat file):</p> <pre><code>@echo off rmdir /s /q "%APPDATA%\Subversion\auth" </code></pre> <p>See the <a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug.html#tsvn-dug-general-auth" rel="nofollow noreferrer">Authentication</a> section of the To... | 63, 183, 656, 1763 | authentication, caching, svn, tortoisesvn | <h1>Clearing TortoiseSVN authentication cache from the command line</h1>
<p>TortoiseSVN is nice for the most part, but one thing that blows in a team development situation where more than one person is using a particular PC is the authentication. When I'm working on stuff, I like to save my credentials so that I don't... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,466 | svn | # Clearing TortoiseSVN authentication cache from the command line
TortoiseSVN is nice for the most part, but one thing that blows in a team development situation where more than one person is using a particular PC is the authentication. When I'm working on stuff, I like to save my credentials so that I don't need to k... | You have to delete the files manually, like so (using .bat file):
```
@echo off
rmdir /s /q "%APPDATA%\Subversion\auth"
```
See the [Authentication](http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug.html#tsvn-dug-general-auth) section of the TortoiseSVN documentation. |
160497 | Removing .svn folders from project for deployment | 15 | 2008-10-02 01:36:51 | <p>I'm using subversion (TortoiseSVN) and I want to remove the .svn folders from my project for deployment, is there an automated way of doing this using subversion or do I have to create a custom script for this?</p>
| 9,178 | 1,368 | 2016-06-23 13:21:08 | 160,505 | 23 | 2008-10-02 01:39:36 | 5,441 | 2012-07-31 07:29:32 | https://stackoverflow.com/q/160497 | https://stackoverflow.com/a/160505 | <p>TortoiseSVN has an export function. This will create the entire SVN tree elsewhere without the <code>.svn</code> folders.</p>
<p>Also, a lot of FTP clients have filtering, which you can add <code>.svn</code> to just in case you forget one day.</p>
| <p>TortoiseSVN has an export function. This will create the entire SVN tree elsewhere without the <code>.svn</code> folders.</p> <p>Also, a lot of FTP clients have filtering, which you can add <code>.svn</code> to just in case you forget one day.</p> | 63, 190, 656 | deployment, svn, tortoisesvn | <h1>Removing .svn folders from project for deployment</h1>
<p>I'm using subversion (TortoiseSVN) and I want to remove the .svn folders from my project for deployment, is there an automated way of doing this using subversion or do I have to create a custom script for this?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,467 | svn | # Removing .svn folders from project for deployment
I'm using subversion (TortoiseSVN) and I want to remove the .svn folders from my project for deployment, is there an automated way of doing this using subversion or do I have to create a custom script for this? | TortoiseSVN has an export function. This will create the entire SVN tree elsewhere without the `.svn` folders.
Also, a lot of FTP clients have filtering, which you can add `.svn` to just in case you forget one day. |
11979188 | Can't install subversion on Mountain Lion OSX | 14 | 2012-08-16 00:38:28 | <p>I downloaded the subversion installer in the "Community Binaries" at collabnet:
<a href="http://www.collab.net/downloads/subversion#tab-3">http://www.collab.net/downloads/subversion#tab-3</a>. When I try to install it, I go through Introduction, Read Me, and License. When I get to Destination Select, "Install for al... | 9,398 | 482,325 | 2012-11-15 06:21:11 | 11,979,966 | 23 | 2012-08-16 02:35:20 | 368,630 | 2012-08-16 02:35:20 | https://stackoverflow.com/q/11979188 | https://stackoverflow.com/a/11979966 | <p>Mountain Lion does have Subversion version 1.6.18 available from Apple. However, it's a bit convoluted to get it:</p>
<ul>
<li>Download Xcode from the Mac OS X App Store (Free program)</li>
<li>Select the Menu item Xcode->Preferences...</li>
<li>Select the "Downloads" section.</li>
<li>Choose <em>Command Line Tools... | <p>Mountain Lion does have Subversion version 1.6.18 available from Apple. However, it's a bit convoluted to get it:</p> <ul> <li>Download Xcode from the Mac OS X App Store (Free program)</li> <li>Select the Menu item Xcode->Preferences...</li> <li>Select the "Downloads" section.</li> <li>Choose <em>Command Line Tools... | 63, 369, 529 | installation, macos, svn | <h1>Can't install subversion on Mountain Lion OSX</h1>
<p>I downloaded the subversion installer in the "Community Binaries" at collabnet:
<a href="http://www.collab.net/downloads/subversion#tab-3">http://www.collab.net/downloads/subversion#tab-3</a>. When I try to install it, I go through Introduction, Read Me, and Lic... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,468 | svn | # Can't install subversion on Mountain Lion OSX
I downloaded the subversion installer in the "Community Binaries" at collabnet:
<http://www.collab.net/downloads/subversion#tab-3>. When I try to install it, I go through Introduction, Read Me, and License. When I get to Destination Select, "Install for all users of this... | Mountain Lion does have Subversion version 1.6.18 available from Apple. However, it's a bit convoluted to get it:
- Download Xcode from the Mac OS X App Store (Free program)
- Select the Menu item Xcode->Preferences...
- Select the "Downloads" section.
- Choose *Command Line Tools* and click on the *Install* button.
... |
8933015 | how to create local copy of remote svn repository? | 14 | 2012-01-19 20:44:36 | <p>I have remote svn repository. I want to check-out it (with history) and then use in Visual Studio as regular repository. After a while I will submit (commit changes) from local repository to remote repository (and also update files if any).</p>
<p>So it seems I just need two copies of svn repository and I need abil... | 35,792 | 93,647 | 2023-07-08 15:40:37 | 8,933,141 | 23 | 2012-01-19 20:54:49 | 492,405 | 2012-01-20 15:00:40 | https://stackoverflow.com/q/8933015 | https://stackoverflow.com/a/8933141 | <p>That goes against what SVN is. What it sounds like you want is a DVCS like Git or Mercurial, hence why many developers have moved to something like that.</p>
<p>I would use git; and use the <a href="http://linux.die.net/man/1/git-svn" rel="noreferrer">git-svn</a> bridge to be able to communicate back to your SVN se... | <p>That goes against what SVN is. What it sounds like you want is a DVCS like Git or Mercurial, hence why many developers have moved to something like that.</p> <p>I would use git; and use the <a href="http://linux.die.net/man/1/git-svn" rel="noreferrer">git-svn</a> bridge to be able to communicate back to your SVN se... | 63, 1991, 33953 | svn, visual-studio, visualsvn | <h1>how to create local copy of remote svn repository?</h1>
<p>I have remote svn repository. I want to check-out it (with history) and then use in Visual Studio as regular repository. After a while I will submit (commit changes) from local repository to remote repository (and also update files if any).</p>
<p>So it se... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,469 | svn | # how to create local copy of remote svn repository?
I have remote svn repository. I want to check-out it (with history) and then use in Visual Studio as regular repository. After a while I will submit (commit changes) from local repository to remote repository (and also update files if any).
So it seems I just need ... | That goes against what SVN is. What it sounds like you want is a DVCS like Git or Mercurial, hence why many developers have moved to something like that.
I would use git; and use the [git-svn](http://linux.die.net/man/1/git-svn) bridge to be able to communicate back to your SVN server.
Git keeps a full copy of the re... |
7090507 | Executing SVN cleanup from command prompt | 14 | 2011-08-17 09:21:50 | <p>I want to execute SVN cleanup from the command prompt. However, I cannot do it on the root folder since it takes long time to cleanup, and secondly, the machine runs out of memory. </p>
<p>I have 60+ folders on which cleanup has to be executed. I have written a script that picks one folder at a time and cleans it.<... | 67,614 | 898,327 | 2017-02-15 20:35:35 | 7,090,583 | 23 | 2011-08-17 09:27:26 | 356,838 | 2011-08-17 09:27:26 | https://stackoverflow.com/q/7090507 | https://stackoverflow.com/a/7090583 | <p>Try option --non-interactive (: do no interactive prompting): </p>
<pre><code>svn cleanup --non-interactive
</code></pre>
| <p>Try option --non-interactive (: do no interactive prompting): </p> <pre><code>svn cleanup --non-interactive </code></pre> | 63 | svn | <h1>Executing SVN cleanup from command prompt</h1>
<p>I want to execute SVN cleanup from the command prompt. However, I cannot do it on the root folder since it takes long time to cleanup, and secondly, the machine runs out of memory. </p>
<p>I have 60+ folders on which cleanup has to be executed. I have written a scr... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,470 | svn | # Executing SVN cleanup from command prompt
I want to execute SVN cleanup from the command prompt. However, I cannot do it on the root folder since it takes long time to cleanup, and secondly, the machine runs out of memory.
I have 60+ folders on which cleanup has to be executed. I have written a script that picks on... | Try option --non-interactive (: do no interactive prompting):
```
svn cleanup --non-interactive
``` |
4213459 | SVN post commit: Who is the user that committed? | 13 | 2010-11-18 09:46:30 | <p>In an SVN post commit hook, how can I get the user who executed the commit?</p>
| 5,423 | 510,645 | 2019-01-11 19:11:53 | 4,213,509 | 23 | 2010-11-18 09:52:59 | 1,605 | 2019-01-11 19:11:53 | https://stackoverflow.com/q/4213459 | https://stackoverflow.com/a/4213509 | <p>Using the <code>svnlook</code> command with <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svnlook.c.author.html" rel="nofollow noreferrer"><code>author</code></a>. For example, in a shell script, it might be:</p>
<pre><code>REPOS="$1"
REV="$2"
AUTHOR="$(svnlook author -r $REV $REPOS)"
</code></pre>
| <p>Using the <code>svnlook</code> command with <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svnlook.c.author.html" rel="nofollow noreferrer"><code>author</code></a>. For example, in a shell script, it might be:</p> <pre><code>REPOS="$1" REV="$2" AUTHOR="$(svnlook author -r $REV $REPOS)" </code></pre> | 63, 61840, 64649 | post-commit-hook, svn, svn-hooks | <h1>SVN post commit: Who is the user that committed?</h1>
<p>In an SVN post commit hook, how can I get the user who executed the commit?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,471 | svn | # SVN post commit: Who is the user that committed?
In an SVN post commit hook, how can I get the user who executed the commit? | Using the `svnlook` command with [`author`](http://svnbook.red-bean.com/en/1.7/svn.ref.svnlook.c.author.html). For example, in a shell script, it might be:
```
REPOS="$1"
REV="$2"
AUTHOR="$(svnlook author -r $REV $REPOS)"
``` |
2121158 | A example of a change that is NOT a conflict | 11 | 2010-01-22 23:02:19 | <p>I'm trying to understand the details of the subversion merge commands. I think understanding the difference between a change that is also a conflict and a change that is not a conflict would help.</p>
<p>This is a followup to this <a href="https://stackoverflow.com/questions/2113430/purpose-of-the-mine-full-and-th... | 6,853 | 203,736 | 2016-06-16 11:27:55 | 2,121,246 | 23 | 2010-01-22 23:20:48 | 119,738 | 2010-01-22 23:20:48 | https://stackoverflow.com/q/2121158 | https://stackoverflow.com/a/2121246 | <p>A change that is a conflict is when 2 people have both made a change to the same file in such a way that the two changes can not be automatically resolved.</p>
<p><strong>1) Lets start with an example of a non-conflicting merge.</strong></p>
<p>Original file</p>
<pre><code>line1
line2
line3
</code></pre>
<p>Pers... | <p>A change that is a conflict is when 2 people have both made a change to the same file in such a way that the two changes can not be automatically resolved.</p> <p><strong>1) Lets start with an example of a non-conflicting merge.</strong></p> <p>Original file</p> <pre><code>line1 line2 line3 </code></pre> <p>Pers... | 63 | svn | <h1>A example of a change that is NOT a conflict</h1>
<p>I'm trying to understand the details of the subversion merge commands. I think understanding the difference between a change that is also a conflict and a change that is not a conflict would help.</p>
<p>This is a followup to this <a href="https://stackoverflow... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,472 | svn | # A example of a change that is NOT a conflict
I'm trying to understand the details of the subversion merge commands. I think understanding the difference between a change that is also a conflict and a change that is not a conflict would help.
This is a followup to this [thread](https://stackoverflow.com/questions/21... | A change that is a conflict is when 2 people have both made a change to the same file in such a way that the two changes can not be automatically resolved.
**1) Lets start with an example of a non-conflicting merge.**
Original file
```
line1
line2
line3
```
Person A changes it to this:
```
line1CHANGED
line2
line3... |
23110064 | Add file to subversion, while automatically adding parent directory node(s) if not added already | 10 | 2014-04-16 12:53:29 | <p>When I want to add a file in a directory using</p>
<pre><code>svn add directory/file.extension
</code></pre>
<p>and directory has not been added yet, I get an error that says that directory's node cannot be found and needs to be added first. So I can do</p>
<pre><code>svn add directory --depth=empty
svn add direc... | 10,302 | 740,202 | 2014-04-16 19:24:23 | 23,118,396 | 23 | 2014-04-16 19:24:23 | 176,646 | 2014-04-16 19:24:23 | https://stackoverflow.com/q/23110064 | https://stackoverflow.com/a/23118396 | <p>Use the <code>--parents</code> option to <code>svn add</code> to add intermediate parents:</p>
<pre><code>svn add --parents directory/file
</code></pre>
| <p>Use the <code>--parents</code> option to <code>svn add</code> to add intermediate parents:</p> <pre><code>svn add --parents directory/file </code></pre> | 63 | svn | <h1>Add file to subversion, while automatically adding parent directory node(s) if not added already</h1>
<p>When I want to add a file in a directory using</p>
<pre><code>svn add directory/file.extension
</code></pre>
<p>and directory has not been added yet, I get an error that says that directory's node cannot be fo... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,474 | svn | # Add file to subversion, while automatically adding parent directory node(s) if not added already
When I want to add a file in a directory using
```
svn add directory/file.extension
```
and directory has not been added yet, I get an error that says that directory's node cannot be found and needs to be added first. ... | Use the `--parents` option to `svn add` to add intermediate parents:
```
svn add --parents directory/file
``` |
20465279 | SVN checkout Mac terminal/Xcode | 6 | 2013-12-09 07:24:36 | <p>I need to checkout the SVN code but I am trying from the Xcode and terminal but unable to do that.
My SVN format url starts from url below</p>
<p><code>svn://google.com/ad</code></p>
<p>I have valid username and password.</p>
<p>Do I need to make SVN to http/https before using it.</p>
| 25,437 | 1,476,834 | 2013-12-09 10:37:34 | 20,465,377 | 23 | 2013-12-09 07:32:06 | 3,069,083 | 2013-12-09 07:32:06 | https://stackoverflow.com/q/20465279 | https://stackoverflow.com/a/20465377 | <p>what you need to do is this:</p>
<pre><code>svn --username user --password password co svn://google.com/ad
</code></pre>
| <p>what you need to do is this:</p> <pre><code>svn --username user --password password co svn://google.com/ad </code></pre> | 63, 154, 369, 58338 | ios, iphone, macos, svn | <h1>SVN checkout Mac terminal/Xcode</h1>
<p>I need to checkout the SVN code but I am trying from the Xcode and terminal but unable to do that.
My SVN format url starts from url below</p>
<p><code>svn://google.com/ad</code></p>
<p>I have valid username and password.</p>
<p>Do I need to make SVN to http/https before u... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,475 | svn | # SVN checkout Mac terminal/Xcode
I need to checkout the SVN code but I am trying from the Xcode and terminal but unable to do that.
My SVN format url starts from url below
`svn://google.com/ad`
I have valid username and password.
Do I need to make SVN to http/https before using it. | what you need to do is this:
```
svn --username user --password password co svn://google.com/ad
``` |
2337470 | SVN move single directory into other repository (with history) | 44 | 2010-02-25 20:42:53 | <p>Related question: <a href="https://stackoverflow.com/questions/1646003/svn-moving-repository-trunk-to-anothers-branch-with-history">Moving repository trunk to another’s branch (with history)</a></p>
<hr>
<p>I know that one can dump a <em>complete</em> SVN repository with history and load it into a user-defined (su... | 26,680 | 245,706 | 2015-04-30 16:30:17 | 2,337,503 | 22 | 2010-02-25 20:47:38 | 63,147 | 2015-02-28 13:26:14 | https://stackoverflow.com/q/2337470 | https://stackoverflow.com/a/2337503 | <p>Check out <a href="http://svnbook.red-bean.com/en/1.7/svn.reposadmin.html" rel="noreferrer"><code>svndumpfilter</code></a> and this section on <a href="http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering" rel="noreferrer">Repository Maintenance</a>.</p>
<p>Once you have a dum... | <p>Check out <a href="http://svnbook.red-bean.com/en/1.7/svn.reposadmin.html" rel="noreferrer"><code>svndumpfilter</code></a> and this section on <a href="http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering" rel="noreferrer">Repository Maintenance</a>.</p> <p>Once you have a dum... | 63, 656, 7330, 15460, 34708 | repository, subdirectory, svn, svnadmin, tortoisesvn | <h1>SVN move single directory into other repository (with history)</h1>
<p>Related question: <a href="https://stackoverflow.com/questions/1646003/svn-moving-repository-trunk-to-anothers-branch-with-history">Moving repository trunk to another’s branch (with history)</a></p>
<hr>
<p>I know that one can dump a <em>compl... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,477 | svn | # SVN move single directory into other repository (with history)
Related question: [Moving repository trunk to another’s branch (with history)](https://stackoverflow.com/questions/1646003/svn-moving-repository-trunk-to-anothers-branch-with-history)
---
I know that one can dump a *complete* SVN repository with histor... | Check out [`svndumpfilter`](http://svnbook.red-bean.com/en/1.7/svn.reposadmin.html) and this section on [Repository Maintenance](http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering).
Once you have a dumpfile for the entire old repository, you can use `svndumpfilter` to extract j... |
9263568 | Change author of old commits in Subversion | 28 | 2012-02-13 15:55:13 | <p>I have a user that has, up until today, been called <strong>foo.bar</strong>. Now that user will be known as <strong>fb</strong> instead from here on. But I would like to update all the old commits to reflect this username instead of the old one for statistical reasons etc. How can this be done?</p>
<p>I know about... | 16,871 | 357,448 | 2018-09-12 07:46:05 | 9,264,368 | 22 | 2012-02-13 16:45:51 | 469,210 | 2018-09-12 07:46:05 | https://stackoverflow.com/q/9263568 | https://stackoverflow.com/a/9264368 | <p>You can build a command to get the revisions in the log which <code>old_username</code> has committed with:</p>
<pre><code>svn log | grep "^r[0-9]* | old_username |" | cut -c 2- | awk '{print $1}'
</code></pre>
<p>This command gets the logs, searches for lines that appear at the start of each revision, drops the f... | <p>You can build a command to get the revisions in the log which <code>old_username</code> has committed with:</p> <pre><code>svn log | grep "^r[0-9]* | old_username |" | cut -c 2- | awk '{print $1}' </code></pre> <p>This command gets the logs, searches for lines that appear at the start of each revision, drops the f... | 63 | svn | <h1>Change author of old commits in Subversion</h1>
<p>I have a user that has, up until today, been called <strong>foo.bar</strong>. Now that user will be known as <strong>fb</strong> instead from here on. But I would like to update all the old commits to reflect this username instead of the old one for statistical rea... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,479 | svn | # Change author of old commits in Subversion
I have a user that has, up until today, been called **foo.bar**. Now that user will be known as **fb** instead from here on. But I would like to update all the old commits to reflect this username instead of the old one for statistical reasons etc. How can this be done?
I ... | You can build a command to get the revisions in the log which `old_username` has committed with:
```
svn log | grep "^r[0-9]* | old_username |" | cut -c 2- | awk '{print $1}'
```
This command gets the logs, searches for lines that appear at the start of each revision, drops the first character (i.e. the `r`) from tho... |
714307 | SVN: Ignoring an already committed file | 24 | 2009-04-03 14:59:27 | <p>I have a settings file that is under version control using subversion. Everybody has their own copy of this file, and I need this not to be ever committed. However, like I said, there is already a copy under version control. My question is: <strong>how do I remove this file from version control without deleting ever... | 14,168 | 56,225 | 2016-10-31 10:08:59 | 714,455 | 22 | 2009-04-03 15:28:05 | 4,918 | 2009-04-03 15:28:05 | https://stackoverflow.com/q/714307 | https://stackoverflow.com/a/714455 | <p>Make a clean checkout, <code>svn delete</code> the file and add the ignore. Then commit this. Everyone else will have to take care (once) that their local copy isn't deleted on the next <code>svn update</code>, but after that, the local file would stay undisturbed and ignored by SVN.</p>
| <p>Make a clean checkout, <code>svn delete</code> the file and add the ignore. Then commit this. Everyone else will have to take care (once) that their local copy isn't deleted on the next <code>svn update</code>, but after that, the local file would stay undisturbed and ignored by SVN.</p> | 58, 63, 456 | linux, svn, version-control | <h1>SVN: Ignoring an already committed file</h1>
<p>I have a settings file that is under version control using subversion. Everybody has their own copy of this file, and I need this not to be ever committed. However, like I said, there is already a copy under version control. My question is: <strong>how do I remove thi... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,481 | svn | # SVN: Ignoring an already committed file
I have a settings file that is under version control using subversion. Everybody has their own copy of this file, and I need this not to be ever committed. However, like I said, there is already a copy under version control. My question is: **how do I remove this file from ver... | Make a clean checkout, `svn delete` the file and add the ignore. Then commit this. Everyone else will have to take care (once) that their local copy isn't deleted on the next `svn update`, but after that, the local file would stay undisturbed and ignored by SVN. |
8977214 | Moving Local Changes Into a Branch | 22 | 2012-01-23 19:10:27 | <p>I've been working in the trunk today and now I am needing to take some changes I've made out of the trunk and move them into a branch. I haven't committed any of these changes yet. But I need to create a branch then get these files into that branch. I have no idea how to go about this.</p>
| 6,871 | 261,159 | 2012-01-23 19:13:21 | 8,977,250 | 22 | 2012-01-23 19:13:21 | 847,601 | 2012-01-23 19:13:21 | https://stackoverflow.com/q/8977214 | https://stackoverflow.com/a/8977250 | <p>Add a new branch to the repository:</p>
<pre><code> svn copy $base/trunk $base/branches/my-branch
</code></pre>
<p>and then switch your WC to it:</p>
<pre><code> svn switch $base/branches/my-branch
</code></pre>
| <p>Add a new branch to the repository:</p> <pre><code> svn copy $base/trunk $base/branches/my-branch </code></pre> <p>and then switch your WC to it:</p> <pre><code> svn switch $base/branches/my-branch </code></pre> | 63, 1879 | branch, svn | <h1>Moving Local Changes Into a Branch</h1>
<p>I've been working in the trunk today and now I am needing to take some changes I've made out of the trunk and move them into a branch. I haven't committed any of these changes yet. But I need to create a branch then get these files into that branch. I have no idea how t... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,482 | svn | # Moving Local Changes Into a Branch
I've been working in the trunk today and now I am needing to take some changes I've made out of the trunk and move them into a branch. I haven't committed any of these changes yet. But I need to create a branch then get these files into that branch. I have no idea how to go about t... | Add a new branch to the repository:
```
svn copy $base/trunk $base/branches/my-branch
```
and then switch your WC to it:
```
svn switch $base/branches/my-branch
``` |
1323121 | Eclipse svn ignore bin | 21 | 2009-08-24 15:39:36 | <p>Eclipse project, I have Subversion set to ignore the bin directory, and also within Eclipse I added bin to the list of ignored resources.</p>
<p>However, every now and then Eclipse puts a .svn directory into bin anyway. This doesn't interfere with Subversion checkins (as the Subversion commandline client obeys the ... | 20,354 | 45,843 | 2018-08-16 15:15:53 | 1,401,020 | 22 | 2009-09-09 17:35:13 | 171,000 | 2011-02-25 10:29:00 | https://stackoverflow.com/q/1323121 | https://stackoverflow.com/a/1401020 | <p>It looks like what is actually happening is that eclipse is copying the .svn directory from your source directories as part of its build -- it thinks it is a "resource" to be copied to your output bin directory. To get it to stop doing that, you can add <code>.svn/</code> as a filtered resource. In the Properties ... | <p>It looks like what is actually happening is that eclipse is copying the .svn directory from your source directories as part of its build -- it thinks it is a "resource" to be copied to your output bin directory. To get it to stop doing that, you can add <code>.svn/</code> as a filtered resource. In the Properties ... | 53, 63 | eclipse, svn | <h1>Eclipse svn ignore bin</h1>
<p>Eclipse project, I have Subversion set to ignore the bin directory, and also within Eclipse I added bin to the list of ignored resources.</p>
<p>However, every now and then Eclipse puts a .svn directory into bin anyway. This doesn't interfere with Subversion checkins (as the Subversi... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,483 | svn | # Eclipse svn ignore bin
Eclipse project, I have Subversion set to ignore the bin directory, and also within Eclipse I added bin to the list of ignored resources.
However, every now and then Eclipse puts a .svn directory into bin anyway. This doesn't interfere with Subversion checkins (as the Subversion commandline c... | It looks like what is actually happening is that eclipse is copying the .svn directory from your source directories as part of its build -- it thinks it is a "resource" to be copied to your output bin directory. To get it to stop doing that, you can add `.svn/` as a filtered resource. In the Properties dialog for your ... |
12356409 | Uninstall AnkhSVN from VS2012 | 20 | 2012-09-10 17:10:23 | <p>I want to remove AnkhSVN from my VS2010 install, but find that the Uninstall option is grayed out when I navigate to TOOLS*/Extensions and Updates.</p>
<p>Starting Visual Studio 2012 as Administrator and unselecting AnkhSVN as the source control provider did not enable the Uninstall option.</p>
<p>*<em>I'm not sho... | 8,050 | 141,172 | 2014-10-29 10:37:29 | 12,356,412 | 22 | 2012-09-10 17:10:23 | 141,172 | 2012-09-10 17:40:08 | https://stackoverflow.com/q/12356409 | https://stackoverflow.com/a/12356412 | <p>AnkhSVN apparently cannot be disabled or uninstalled from within Visual Studio 2012.</p>
<p>Do the following instead:</p>
<ul>
<li>Close all instances of Visual Studio.</li>
<li>Run the AnkhSVN uninstaller.</li>
</ul>
<p><em>Note: I ran the uninstaller in Revo Uninstaller, and there were no left-over artifacts (f... | <p>AnkhSVN apparently cannot be disabled or uninstalled from within Visual Studio 2012.</p> <p>Do the following instead:</p> <ul> <li>Close all instances of Visual Studio.</li> <li>Run the AnkhSVN uninstaller.</li> </ul> <p><em>Note: I ran the uninstaller in Revo Uninstaller, and there were no left-over artifacts (f... | 2018, 33953 | ankhsvn, visual-studio | <h1>Uninstall AnkhSVN from VS2012</h1>
<p>I want to remove AnkhSVN from my VS2010 install, but find that the Uninstall option is grayed out when I navigate to TOOLS*/Extensions and Updates.</p>
<p>Starting Visual Studio 2012 as Administrator and unselecting AnkhSVN as the source control provider did not enable the Uni... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,485 | svn | # Uninstall AnkhSVN from VS2012
I want to remove AnkhSVN from my VS2010 install, but find that the Uninstall option is grayed out when I navigate to TOOLS*/Extensions and Updates.
Starting Visual Studio 2012 as Administrator and unselecting AnkhSVN as the source control provider did not enable the Uninstall option.
... | AnkhSVN apparently cannot be disabled or uninstalled from within Visual Studio 2012.
Do the following instead:
- Close all instances of Visual Studio.
- Run the AnkhSVN uninstaller.
*Note: I ran the uninstaller in Revo Uninstaller, and there were no left-over artifacts (files, registry entries).*
After uninstalling... |
6206537 | Creating a local SVN branch | 20 | 2011-06-01 19:23:24 | <p>I am working on an SVN repository and do not want to create a new SVN branch. Instead of that, I want to create a branch local to my machine, something which could be done easily with <a href="http://en.wikipedia.org/wiki/Git_%28software%29" rel="noreferrer">Git</a>.</p>
<p>But I am currently using SVN and need to ... | 20,767 | 697,461 | 2016-01-03 19:53:18 | 6,206,944 | 22 | 2011-06-01 20:01:07 | 368,630 | 2011-06-01 20:01:07 | https://stackoverflow.com/q/6206537 | https://stackoverflow.com/a/6206944 | <p>Subversion is a centralized version control system. Some of the advantages of a centralized system is that it forces everyone to play with the same codebase. You can't hide your work for months at a time, then suddenly plop it down two days before a major release. The bad part is that you can't truly have a private ... | <p>Subversion is a centralized version control system. Some of the advantages of a centralized system is that it forces everyone to play with the same codebase. You can't hide your work for months at a time, then suddenly plop it down two days before a major release. The bad part is that you can't truly have a private ... | 63, 456, 656, 7330 | repository, svn, tortoisesvn, version-control | <h1>Creating a local SVN branch</h1>
<p>I am working on an SVN repository and do not want to create a new SVN branch. Instead of that, I want to create a branch local to my machine, something which could be done easily with <a href="http://en.wikipedia.org/wiki/Git_%28software%29" rel="noreferrer">Git</a>.</p>
<p>But ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,486 | svn | # Creating a local SVN branch
I am working on an SVN repository and do not want to create a new SVN branch. Instead of that, I want to create a branch local to my machine, something which could be done easily with [Git](http://en.wikipedia.org/wiki/Git_%28software%29).
But I am currently using SVN and need to branch ... | Subversion is a centralized version control system. Some of the advantages of a centralized system is that it forces everyone to play with the same codebase. You can't hide your work for months at a time, then suddenly plop it down two days before a major release. The bad part is that you can't truly have a private bra... |
2281028 | SVN delete --keep-local | 20 | 2010-02-17 13:38:12 | <p>I'm working on a project where someone has checked in some folders and files that are not suppose to be in the repository and are suppose to be on our local, I try to delete them by the following command and it gives me this error</p>
<pre><code>svn delete filename --keep-local
svn: invalid option: --keep-local
</c... | 22,769 | 178,854 | 2011-07-22 16:40:21 | 2,281,036 | 22 | 2010-02-17 13:40:20 | 52,626 | 2010-02-17 13:40:20 | https://stackoverflow.com/q/2281028 | https://stackoverflow.com/a/2281036 | <p>Upgrade to the <a href="http://www.collab.net/downloads/subversion/" rel="noreferrer">latest version of the SVN client</a>. The version you have installed doesn't have the <code>--keep-local</code> option yet. This feature was <a href="http://subversion.apache.org/docs/release-notes/1.5.html#cmdline" rel="noreferrer... | <p>Upgrade to the <a href="http://www.collab.net/downloads/subversion/" rel="noreferrer">latest version of the SVN client</a>. The version you have installed doesn't have the <code>--keep-local</code> option yet. This feature was <a href="http://subversion.apache.org/docs/release-notes/1.5.html#cmdline" rel="noreferrer... | 63 | svn | <h1>SVN delete --keep-local</h1>
<p>I'm working on a project where someone has checked in some folders and files that are not suppose to be in the repository and are suppose to be on our local, I try to delete them by the following command and it gives me this error</p>
<pre><code>svn delete filename --keep-local
svn:... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,487 | svn | # SVN delete --keep-local
I'm working on a project where someone has checked in some folders and files that are not suppose to be in the repository and are suppose to be on our local, I try to delete them by the following command and it gives me this error
```
svn delete filename --keep-local
svn: invalid option: --k... | Upgrade to the [latest version of the SVN client](http://www.collab.net/downloads/subversion/). The version you have installed doesn't have the `--keep-local` option yet. This feature was [added in SVN 1.5](http://subversion.apache.org/docs/release-notes/1.5.html#cmdline). |
15546751 | SVN strategy using branches, and merging changes from trunk into branch | 19 | 2013-03-21 11:52:27 | <p>So long time user of SVN, but fairly inexperienced in branching / tagging, and when I have I suspect I'm not really using it correctly or to its full potential.</p>
<p>I have my trunk which I work on adding new features etc. This code base is used in multiple websites, where we create a branch off the trunk on a pe... | 14,412 | 520,702 | 2014-06-25 19:22:34 | 15,588,127 | 22 | 2013-03-23 14:51:52 | 1,867,549 | 2013-03-23 14:51:52 | https://stackoverflow.com/q/15546751 | https://stackoverflow.com/a/15588127 | <p>Yes it is possible. Basically, you need to run <code>svn merge</code> from a clean working copy of your branch (one with no local modifications):</p>
<pre><code>$ pwd
/home/user/mybranch
$ svn status # Does not display anything
$ svn update # Make sure your local copy is up to date.
Updating '.':
At revision X.
$ s... | <p>Yes it is possible. Basically, you need to run <code>svn merge</code> from a clean working copy of your branch (one with no local modifications):</p> <pre><code>$ pwd /home/user/mybranch $ svn status # Does not display anything $ svn update # Make sure your local copy is up to date. Updating '.': At revision X. $ s... | 63, 1879, 13377, 31130, 53847 | branch, branching-and-merging, svn, svn-merge, svn-update | <h1>SVN strategy using branches, and merging changes from trunk into branch</h1>
<p>So long time user of SVN, but fairly inexperienced in branching / tagging, and when I have I suspect I'm not really using it correctly or to its full potential.</p>
<p>I have my trunk which I work on adding new features etc. This code ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,488 | svn | # SVN strategy using branches, and merging changes from trunk into branch
So long time user of SVN, but fairly inexperienced in branching / tagging, and when I have I suspect I'm not really using it correctly or to its full potential.
I have my trunk which I work on adding new features etc. This code base is used in ... | Yes it is possible. Basically, you need to run `svn merge` from a clean working copy of your branch (one with no local modifications):
```
$ pwd
/home/user/mybranch
$ svn status # Does not display anything
$ svn update # Make sure your local copy is up to date.
Updating '.':
At revision X.
$ svn merge url/to/repositor... |
151299 | Embedding SVN Revision number at compile time in a Windows app | 19 | 2008-09-30 00:27:51 | <p>I'd like my .exe to have access to a resource string with my svn version. I can type this in by hand, but I'd prefer an automated way to embed this at compile time. Is there any such capability in Visual Studio 2008?</p>
| 13,443 | 23,071 | 2009-10-16 06:27:01 | 151,445 | 22 | 2008-09-30 01:47:34 | 1,625 | 2008-10-01 19:59:28 | https://stackoverflow.com/q/151299 | https://stackoverflow.com/a/151445 | <p>I wanted a similar availability and found $Rev$ to be insufficient because it was only updated for a file if that file's revision was changed (which meant it would have to be edited and committed very time: not something I wanted to do.) Instead, I wanted something that was based on the repository's revision number... | <p>I wanted a similar availability and found $Rev$ to be insufficient because it was only updated for a file if that file's revision was changed (which meant it would have to be edited and committed very time: not something I wanted to do.) Instead, I wanted something that was based on the repository's revision number... | 10, 63, 64, 33953 | c++, svn, visual-studio, windows | <h1>Embedding SVN Revision number at compile time in a Windows app</h1>
<p>I'd like my .exe to have access to a resource string with my svn version. I can type this in by hand, but I'd prefer an automated way to embed this at compile time. Is there any such capability in Visual Studio 2008?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,489 | svn | # Embedding SVN Revision number at compile time in a Windows app
I'd like my .exe to have access to a resource string with my svn version. I can type this in by hand, but I'd prefer an automated way to embed this at compile time. Is there any such capability in Visual Studio 2008? | I wanted a similar availability and found $Rev$ to be insufficient because it was only updated for a file if that file's revision was changed (which meant it would have to be edited and committed very time: not something I wanted to do.) Instead, I wanted something that was based on the repository's revision number.
F... |
16573474 | How to run SVN commands from a python script? | 18 | 2013-05-15 19:31:47 | <p>Basically I want to write a python script that does several things and one of them will be to run a checkout on a repository using subversion (SVN) and maybe preform a couple more of svn commands. What's the best way to do this ? This will be running as a crond script.</p>
| 57,997 | 1,106,160 | 2024-02-14 11:13:26 | 16,574,107 | 22 | 2013-05-15 20:11:46 | 1,206,180 | 2013-05-15 20:33:13 | https://stackoverflow.com/q/16573474 | https://stackoverflow.com/a/16574107 | <p>Would this work?</p>
<pre><code>p = subprocess.Popen("svn info svn://xx.xx.xx.xx/project/trunk | grep \"Revision\" | awk '{print $2}'", stdout=subprocess.PIPE, shell=True)
(output, err) = p.communicate()
print "Revision is", output
</code></pre>
| <p>Would this work?</p> <pre><code>p = subprocess.Popen("svn info svn://xx.xx.xx.xx/project/trunk | grep \"Revision\" | awk '{print $2}'", stdout=subprocess.PIPE, shell=True) (output, err) = p.communicate() print "Revision is", output </code></pre> | 16, 63 | python, svn | <h1>How to run SVN commands from a python script?</h1>
<p>Basically I want to write a python script that does several things and one of them will be to run a checkout on a repository using subversion (SVN) and maybe preform a couple more of svn commands. What's the best way to do this ? This will be running as a crond ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,490 | svn | # How to run SVN commands from a python script?
Basically I want to write a python script that does several things and one of them will be to run a checkout on a repository using subversion (SVN) and maybe preform a couple more of svn commands. What's the best way to do this ? This will be running as a crond script. | Would this work?
```
p = subprocess.Popen("svn info svn://xx.xx.xx.xx/project/trunk | grep \"Revision\" | awk '{print $2}'", stdout=subprocess.PIPE, shell=True)
(output, err) = p.communicate()
print "Revision is", output
``` |
7424035 | How to add content to an SVN directory without checking out its contents? | 18 | 2011-09-14 23:04:05 | <p>Today I needed to add two Android projects to our Subversion repository but I had a problem.
The directory in the repository already contained a lot of projects and I didn't want to checkout all of them.
Is it possible add two directories to that directory without checking out everything?</p>
| 9,676 | 528,027 | 2011-09-16 19:15:51 | 7,449,347 | 22 | 2011-09-16 19:15:51 | 947,357 | 2011-09-16 19:15:51 | https://stackoverflow.com/q/7424035 | https://stackoverflow.com/a/7449347 | <p>You can simply <code>import</code> the new stuff right into the repository without any working copy:</p>
<pre><code>svn import INSTALL.txt $SVN_REPO/trunk/proj1/INSTALL.txt
</code></pre>
<p>Works with directories (aka. "projects") also. </p>
<pre><code>svn import proj2 $SVN_REPO/trunk/proj2
</code></pre>
<p>Afte... | <p>You can simply <code>import</code> the new stuff right into the repository without any working copy:</p> <pre><code>svn import INSTALL.txt $SVN_REPO/trunk/proj1/INSTALL.txt </code></pre> <p>Works with directories (aka. "projects") also. </p> <pre><code>svn import proj2 $SVN_REPO/trunk/proj2 </code></pre> <p>Afte... | 63 | svn | <h1>How to add content to an SVN directory without checking out its contents?</h1>
<p>Today I needed to add two Android projects to our Subversion repository but I had a problem.
The directory in the repository already contained a lot of projects and I didn't want to checkout all of them.
Is it possible add two directo... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,491 | svn | # How to add content to an SVN directory without checking out its contents?
Today I needed to add two Android projects to our Subversion repository but I had a problem.
The directory in the repository already contained a lot of projects and I didn't want to checkout all of them.
Is it possible add two directories to t... | You can simply `import` the new stuff right into the repository without any working copy:
```
svn import INSTALL.txt $SVN_REPO/trunk/proj1/INSTALL.txt
```
Works with directories (aka. "projects") also.
```
svn import proj2 $SVN_REPO/trunk/proj2
```
After importing you must checkout the stuff in order to continue yo... |
569353 | Release management in SVN | 18 | 2009-02-20 12:07:20 | <p>When I look in the SVN log I really wish I could see markers that tell me when releases were done. I've seen this in other version control systems such as PVCS and <a href="http://www.perforce.com/perforce/doc.current/manuals/cmdref/tag.html" rel="noreferrer">Perforce</a>.</p>
<p>Can this be done in SVN? I've done ... | 18,874 | 39,709 | 2021-11-12 12:25:57 | 569,672 | 22 | 2009-02-20 14:08:47 | 7,298 | 2009-02-20 14:23:48 | https://stackoverflow.com/q/569353 | https://stackoverflow.com/a/569672 | <p>Richard, tags are very close, but I wonder if what you need might not be a dedicated release branch.</p>
<p>For this, make a branch from trunk early on called something like 'Release'.
Then work on trunk as normal, when you're ready for a release, merge your changes from trunk into 'Release'. This is the only way t... | <p>Richard, tags are very close, but I wonder if what you need might not be a dedicated release branch.</p> <p>For this, make a branch from trunk early on called something like 'Release'. Then work on trunk as normal, when you're ready for a release, merge your changes from trunk into 'Release'. This is the only way t... | 63, 15488 | release-management, svn | <h1>Release management in SVN</h1>
<p>When I look in the SVN log I really wish I could see markers that tell me when releases were done. I've seen this in other version control systems such as PVCS and <a href="http://www.perforce.com/perforce/doc.current/manuals/cmdref/tag.html" rel="noreferrer">Perforce</a>.</p>
<p>... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,492 | svn | # Release management in SVN
When I look in the SVN log I really wish I could see markers that tell me when releases were done. I've seen this in other version control systems such as PVCS and [Perforce](http://www.perforce.com/perforce/doc.current/manuals/cmdref/tag.html).
Can this be done in SVN? I've done a little ... | Richard, tags are very close, but I wonder if what you need might not be a dedicated release branch.
For this, make a branch from trunk early on called something like 'Release'.
Then work on trunk as normal, when you're ready for a release, merge your changes from trunk into 'Release'. This is the only way that you sh... |
27131309 | Difference between svnrdump dump & svnadmin dump | 17 | 2014-11-25 15:59:15 | <p>I need a dump of a svn repository. I found two solutions </p>
<blockquote>
<p><code>svnrdump dump</code></p>
</blockquote>
<p>And </p>
<blockquote>
<p><code>svnadmin dump</code></p>
</blockquote>
<p><code>svnrdump dump</code> is the same of <code>svnadmin dump</code>?</p>
<p>If not, what are the differences... | 17,380 | 3,083,093 | 2019-04-16 23:23:36 | 27,132,473 | 22 | 2014-11-25 16:59:17 | 1,698,557 | 2014-11-25 16:59:17 | https://stackoverflow.com/q/27131309 | https://stackoverflow.com/a/27132473 | <p><code>svnrdump</code> generates the same dump as <code>svnadmin dump</code>. According to <a href="http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svnrdump">the red book</a>:</p>
<blockquote>
<p>The svnrdump program is, to put it simply, essentially just network-aware flavors... | <p><code>svnrdump</code> generates the same dump as <code>svnadmin dump</code>. According to <a href="http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svnrdump">the red book</a>:</p> <blockquote> <p>The svnrdump program is, to put it simply, essentially just network-aware flavors... | 63, 4779, 15460, 62060 | dump, svn, svnadmin, svndump | <h1>Difference between svnrdump dump & svnadmin dump</h1>
<p>I need a dump of a svn repository. I found two solutions </p>
<blockquote>
<p><code>svnrdump dump</code></p>
</blockquote>
<p>And </p>
<blockquote>
<p><code>svnadmin dump</code></p>
</blockquote>
<p><code>svnrdump dump</code> is the same of <code>svna... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,493 | svn | # Difference between svnrdump dump & svnadmin dump
I need a dump of a svn repository. I found two solutions
> `svnrdump dump`
And
> `svnadmin dump`
`svnrdump dump` is the same of `svnadmin dump`?
If not, what are the differences between these two commands ? | `svnrdump` generates the same dump as `svnadmin dump`. According to [the red book](http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svnrdump):
> The svnrdump program is, to put it simply, essentially just network-aware flavors of the svnadmin dump and svnadmin load subcommands, roll... |
1798040 | Get Last file Commit Date from SVN | 17 | 2009-11-25 16:13:31 | <p>Noob to Subversion, so please bear with me.</p>
<p>Is there a way to get the last commit date for a file from the command line?</p>
| 21,244 | 14,509 | 2020-02-26 16:47:51 | 1,798,062 | 22 | 2009-11-25 16:15:51 | 83,109 | 2009-11-25 16:15:51 | https://stackoverflow.com/q/1798040 | https://stackoverflow.com/a/1798062 | <pre><code>svn info filename
</code></pre>
| <pre><code>svn info filename </code></pre> | 63, 1231 | command-line, svn | <h1>Get Last file Commit Date from SVN</h1>
<p>Noob to Subversion, so please bear with me.</p>
<p>Is there a way to get the last commit date for a file from the command line?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,494 | svn | # Get Last file Commit Date from SVN
Noob to Subversion, so please bear with me.
Is there a way to get the last commit date for a file from the command line? | ```
svn info filename
``` |
3859009 | How to create a subversion repository with standard layout? | 15 | 2010-10-04 20:51:02 | <p>Is it possible to create a new SVN repository which is automatically structured by the SVN standard repository layout (trunk, branches, tags) via commandline (svnadmin create)?</p>
<p>Or do I always have to create thos directories manually?</p>
| 13,933 | 439,546 | 2010-10-05 07:09:29 | 3,859,040 | 22 | 2010-10-04 20:56:43 | 120,513 | 2010-10-04 20:56:43 | https://stackoverflow.com/q/3859009 | https://stackoverflow.com/a/3859040 | <p>Since it is only a suggested layout it doesn't do that out of the box. If you are using linux, here is a simple script I use for that:</p>
<pre><code>#!/bin/bash
url=svn://somewhere
svn mkdir $url/$1/trunk $url/$1/branches $url/$1/tags -m "New project $1" --parents
</code></pre>
| <p>Since it is only a suggested layout it doesn't do that out of the box. If you are using linux, here is a simple script I use for that:</p> <pre><code>#!/bin/bash url=svn://somewhere svn mkdir $url/$1/trunk $url/$1/branches $url/$1/tags -m "New project $1" --parents </code></pre> | 63, 7330 | repository, svn | <h1>How to create a subversion repository with standard layout?</h1>
<p>Is it possible to create a new SVN repository which is automatically structured by the SVN standard repository layout (trunk, branches, tags) via commandline (svnadmin create)?</p>
<p>Or do I always have to create thos directories manually?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,496 | svn | # How to create a subversion repository with standard layout?
Is it possible to create a new SVN repository which is automatically structured by the SVN standard repository layout (trunk, branches, tags) via commandline (svnadmin create)?
Or do I always have to create thos directories manually? | Since it is only a suggested layout it doesn't do that out of the box. If you are using linux, here is a simple script I use for that:
```
#!/bin/bash
url=svn://somewhere
svn mkdir $url/$1/trunk $url/$1/branches $url/$1/tags -m "New project $1" --parents
``` |
9028729 | Subversion Warning Message when trying to commit change to branch | 14 | 2012-01-27 03:47:43 | <p>I created a branch in subversion by copying the trunk directory. But now when I commit changes to the branch I get this warning message: "Your working copy points to ... which appears to be a tag! You should first switch to a branch or the main trunk before committing."</p>
<p>If I just ignore the error message ... | 11,615 | 250,030 | 2020-01-27 17:28:55 | 9,028,929 | 22 | 2012-01-27 04:17:37 | 1,101,036 | 2012-01-27 04:17:37 | https://stackoverflow.com/q/9028729 | https://stackoverflow.com/a/9028929 | <p>Guess: you are using TortoiseSVN and your working copy SVN URL contains the string <code>tags</code>.</p>
<p>See also: <a href="http://groups.google.com/group/tortoisesvn/browse_thread/thread/dce8ddf63d0c66a6">http://groups.google.com/group/tortoisesvn/browse_thread/thread/dce8ddf63d0c66a6</a></p>
| <p>Guess: you are using TortoiseSVN and your working copy SVN URL contains the string <code>tags</code>.</p> <p>See also: <a href="http://groups.google.com/group/tortoisesvn/browse_thread/thread/dce8ddf63d0c66a6">http://groups.google.com/group/tortoisesvn/browse_thread/thread/dce8ddf63d0c66a6</a></p> | 63 | svn | <h1>Subversion Warning Message when trying to commit change to branch</h1>
<p>I created a branch in subversion by copying the trunk directory. But now when I commit changes to the branch I get this warning message: "Your working copy points to ... which appears to be a tag! You should first switch to a branch or the... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,498 | svn | # Subversion Warning Message when trying to commit change to branch
I created a branch in subversion by copying the trunk directory. But now when I commit changes to the branch I get this warning message: "Your working copy points to ... which appears to be a tag! You should first switch to a branch or the main trunk ... | Guess: you are using TortoiseSVN and your working copy SVN URL contains the string `tags`.
See also: <http://groups.google.com/group/tortoisesvn/browse_thread/thread/dce8ddf63d0c66a6> |
305275 | Check for a subversion update | 14 | 2008-11-20 13:23:00 | <p>I am putting together a build system and wanted to know if there is a reliable way to find out if a checked out SVN folder needs updating (i.e. is it out of sync with the repository). I want to avoid a nightly build unless something has changed. I could write a script that parses the results of the <code>svn updat... | 12,882 | 9,236 | 2017-12-13 10:03:22 | 305,294 | 22 | 2008-11-20 13:28:16 | 36,472 | 2013-04-04 09:13:14 | https://stackoverflow.com/q/305275 | https://stackoverflow.com/a/305294 | <p>Use the <a href="http://www.visualsvn.com/support/svnbook/ref/svn/#svn.ref.svn.sw.show_updates" rel="noreferrer">show updates option</a> of the status command: </p>
<pre><code>svn status -u
</code></pre>
<p>or</p>
<pre><code>svn status --show-updates
</code></pre>
| <p>Use the <a href="http://www.visualsvn.com/support/svnbook/ref/svn/#svn.ref.svn.sw.show_updates" rel="noreferrer">show updates option</a> of the status command: </p> <pre><code>svn status -u </code></pre> <p>or</p> <pre><code>svn status --show-updates </code></pre> | 63 | svn | <h1>Check for a subversion update</h1>
<p>I am putting together a build system and wanted to know if there is a reliable way to find out if a checked out SVN folder needs updating (i.e. is it out of sync with the repository). I want to avoid a nightly build unless something has changed. I could write a script that pa... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,499 | svn | # Check for a subversion update
I am putting together a build system and wanted to know if there is a reliable way to find out if a checked out SVN folder needs updating (i.e. is it out of sync with the repository). I want to avoid a nightly build unless something has changed. I could write a script that parses the re... | Use the [show updates option](http://www.visualsvn.com/support/svnbook/ref/svn/#svn.ref.svn.sw.show_updates) of the status command:
```
svn status -u
```
or
```
svn status --show-updates
``` |
8268753 | more than one build in queue for specific job in jenkins | 13 | 2011-11-25 11:53:46 | <p>I have a job which I trigger with parameters from another job using <code>wget</code>. each time I give the job different parameter - which <code>svn</code> revision to run with.<br>
I don't want to allow concurrent runs of the same job, but I want to allow more than one pending build in the queue for the job.<br>
F... | 10,126 | 411,965 | 2017-05-16 14:53:11 | 8,269,534 | 22 | 2011-11-25 13:02:13 | 521,505 | 2011-11-25 13:02:13 | https://stackoverflow.com/q/8268753 | https://stackoverflow.com/a/8269534 | <p>Jenkins doesn't place a build in the queue if it already contains one with the same param values.</p>
<p>To trick it, you could add an additional, unused param, and set it to a random value when calling <code>wget</code>.</p>
| <p>Jenkins doesn't place a build in the queue if it already contains one with the same param values.</p> <p>To trick it, you could add an additional, unused param, and set it to a random value when calling <code>wget</code>.</p> | 63, 1066, 64999 | continuous-integration, jenkins, svn | <h1>more than one build in queue for specific job in jenkins</h1>
<p>I have a job which I trigger with parameters from another job using <code>wget</code>. each time I give the job different parameter - which <code>svn</code> revision to run with.<br>
I don't want to allow concurrent runs of the same job, but I want to... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,500 | svn | # more than one build in queue for specific job in jenkins
I have a job which I trigger with parameters from another job using `wget`. each time I give the job different parameter - which `svn` revision to run with.
I don't want to allow concurrent runs of the same job, but I want to allow more than one pending buil... | Jenkins doesn't place a build in the queue if it already contains one with the same param values.
To trick it, you could add an additional, unused param, and set it to a random value when calling `wget`. |
1858855 | Subversion oddity - svn info revision higher than last changed rev on project folder | 13 | 2009-12-07 09:32:44 | <p>Got something going on I can't explain.</p>
<p>I have a working copy of my project - done svn update (which says: Updated to revision 1895), I know it's the latest. When I perform an <code>svn info</code> on the project folder, the Revision is 1895, but the Last Changed Rev is 1888.</p>
<p>Inspecting the log using... | 10,436 | 30,874 | 2009-12-07 10:05:30 | 1,858,870 | 22 | 2009-12-07 09:35:46 | 136,540 | 2009-12-07 09:35:46 | https://stackoverflow.com/q/1858855 | https://stackoverflow.com/a/1858870 | <p>This is not a problem or an oddity... the revision number applies to the entire Subversion repository, and therefore, the revision number may be higher due to changes elsewhere in the repository than the last revision number at which something changed in the branch of the repository in which you are working.</p>
<p... | <p>This is not a problem or an oddity... the revision number applies to the entire Subversion repository, and therefore, the revision number may be higher due to changes elsewhere in the repository than the last revision number at which something changed in the branch of the repository in which you are working.</p> <p... | 63, 265, 456, 1555 | msbuild, revision, svn, version-control | <h1>Subversion oddity - svn info revision higher than last changed rev on project folder</h1>
<p>Got something going on I can't explain.</p>
<p>I have a working copy of my project - done svn update (which says: Updated to revision 1895), I know it's the latest. When I perform an <code>svn info</code> on the project fo... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,501 | svn | # Subversion oddity - svn info revision higher than last changed rev on project folder
Got something going on I can't explain.
I have a working copy of my project - done svn update (which says: Updated to revision 1895), I know it's the latest. When I perform an `svn info` on the project folder, the Revision is 1895,... | This is not a problem or an oddity... the revision number applies to the entire Subversion repository, and therefore, the revision number may be higher due to changes elsewhere in the repository than the last revision number at which something changed in the branch of the repository in which you are working.
To clarif... |
2963886 | create an empty branch | 10 | 2010-06-03 07:02:53 | <p>Subversion 1.6
Ubuntu 10.4</p>
<p>I have a project with the following repository layout.</p>
<pre><code>proj/trunk
proj/branches/new_feature1/
proj/branches/new_feature2/
proj/tags
</code></pre>
<p>However, I would like to create a small test app, that isn't a new feature. Just just testing a small aspect of... | 10,472 | 70,942 | 2010-06-03 07:15:51 | 2,963,952 | 22 | 2010-06-03 07:15:51 | 136,540 | 2010-06-03 07:15:51 | https://stackoverflow.com/q/2963886 | https://stackoverflow.com/a/2963952 | <p>You can use <code>svn mkdir</code> to create the directory, and then use <code>svn co</code> to check it out:</p>
<pre><code>svn mkdir http://path/to/svn/repository/branches/experimental_project
svn co http://path/to/svn/repository/branches/experimental_project project
</code></pre>
| <p>You can use <code>svn mkdir</code> to create the directory, and then use <code>svn co</code> to check it out:</p> <pre><code>svn mkdir http://path/to/svn/repository/branches/experimental_project svn co http://path/to/svn/repository/branches/experimental_project project </code></pre> | 63 | svn | <h1>create an empty branch</h1>
<p>Subversion 1.6
Ubuntu 10.4</p>
<p>I have a project with the following repository layout.</p>
<pre><code>proj/trunk
proj/branches/new_feature1/
proj/branches/new_feature2/
proj/tags
</code></pre>
<p>However, I would like to create a small test app, that isn't a new feature. Jus... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,502 | svn | # create an empty branch
Subversion 1.6
Ubuntu 10.4
I have a project with the following repository layout.
```
proj/trunk
proj/branches/new_feature1/
proj/branches/new_feature2/
proj/tags
```
However, I would like to create a small test app, that isn't a new feature. Just just testing a small aspect of the project.... | You can use `svn mkdir` to create the directory, and then use `svn co` to check it out:
```
svn mkdir http://path/to/svn/repository/branches/experimental_project
svn co http://path/to/svn/repository/branches/experimental_project project
``` |
174773 | What URL should I use to connect to an SVN repository? | 10 | 2008-10-06 15:31:58 | <p>I have TurtoiseSVN and ankhSVN installed. I created a repository on my computer: <code>C:\Documents and Settings\user1\My Documents\Subversion\Repository\</code>.</p>
<p>I am trying to connect to this repository from my co-worker's computer. What should this URL be?</p>
| 87,773 | 1,316 | 2023-01-05 11:35:35 | 174,818 | 22 | 2008-10-06 15:39:47 | 24,068 | 2008-10-06 15:39:47 | https://stackoverflow.com/q/174773 | https://stackoverflow.com/a/174818 | <p>You will need to run the svnserve daemon on your computer, or run an apache server with the necessary modules, to allow your colleague to access this locally stored repository. For a simple case like this I would recommend svnserve, it should be simpler to configure and run.</p>
<p>The url would then be:</p>
<pre>... | <p>You will need to run the svnserve daemon on your computer, or run an apache server with the necessary modules, to allow your colleague to access this locally stored repository. For a simple case like this I would recommend svnserve, it should be simpler to configure and run.</p> <p>The url would then be:</p> <pre>... | 63 | svn | <h1>What URL should I use to connect to an SVN repository?</h1>
<p>I have TurtoiseSVN and ankhSVN installed. I created a repository on my computer: <code>C:\Documents and Settings\user1\My Documents\Subversion\Repository\</code>.</p>
<p>I am trying to connect to this repository from my co-worker's computer. What shoul... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,503 | svn | # What URL should I use to connect to an SVN repository?
I have TurtoiseSVN and ankhSVN installed. I created a repository on my computer: `C:\Documents and Settings\user1\My Documents\Subversion\Repository\`.
I am trying to connect to this repository from my co-worker's computer. What should this URL be? | You will need to run the svnserve daemon on your computer, or run an apache server with the necessary modules, to allow your colleague to access this locally stored repository. For a simple case like this I would recommend svnserve, it should be simpler to configure and run.
The url would then be:
```
svn://<your_ip>... |
19591464 | Subversion 1.8.x giving 400 Bad Request errors | 9 | 2013-10-25 13:39:17 | <p>I've recently upgraded my svn client to the 1.8 branch (1.8.3) and now I can no longer update or commit anything to our server (through HTTPS).</p>
<p>It keeps giving the following error:</p>
<blockquote>
<p>C:\lavori\XPadStore>svn update Updating '.': svn: E175002: Unable to
connect to a repository at URL
'... | 9,879 | 443,136 | 2017-09-19 20:18:20 | 22,713,369 | 22 | 2014-03-28 12:49:50 | 761,095 | 2017-05-03 16:41:51 | https://stackoverflow.com/q/19591464 | https://stackoverflow.com/a/22713369 | <ul>
<li><p>In case you use Integrated Windows Authentication, read the article <a href="https://www.visualsvn.com/support/topic/00098/" rel="noreferrer">KB98: 'HTTP status 400 Bad Request' error when a user connects to VisualSVN Server</a>.</p></li>
<li><p>In case you access the server by FQDN or hostname that contain... | <ul> <li><p>In case you use Integrated Windows Authentication, read the article <a href="https://www.visualsvn.com/support/topic/00098/" rel="noreferrer">KB98: 'HTTP status 400 Bad Request' error when a user connects to VisualSVN Server</a>.</p></li> <li><p>In case you access the server by FQDN or hostname that contain... | 63, 641, 642 | https, ssl, svn | <h1>Subversion 1.8.x giving 400 Bad Request errors</h1>
<p>I've recently upgraded my svn client to the 1.8 branch (1.8.3) and now I can no longer update or commit anything to our server (through HTTPS).</p>
<p>It keeps giving the following error:</p>
<blockquote>
<p>C:\lavori\XPadStore>svn update Updating '.': svn:... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,504 | svn | # Subversion 1.8.x giving 400 Bad Request errors
I've recently upgraded my svn client to the 1.8 branch (1.8.3) and now I can no longer update or commit anything to our server (through HTTPS).
It keeps giving the following error:
> C:\lavori\XPadStore>svn update Updating '.': svn: E175002: Unable to
> connect to a r... | - In case you use Integrated Windows Authentication, read the article [KB98: 'HTTP status 400 Bad Request' error when a user connects to VisualSVN Server](https://www.visualsvn.com/support/topic/00098/).
- In case you access the server by FQDN or hostname that contains `_` underscore character -- remove or replace the ... |
509265 | What do the letter suffixes on SVN version numbers mean? | 9 | 2009-02-03 22:42:27 | <p>We have a svnversion reported as 22625P.</p>
<p>What does the "P" mean?</p>
| 2,811 | 19,343 | 2014-10-07 16:47:27 | 509,289 | 22 | 2009-02-03 22:46:51 | 33,252 | 2009-02-03 22:46:51 | https://stackoverflow.com/q/509265 | https://stackoverflow.com/a/509289 | <p>Try <code>svnversion --help</code></p>
<pre><code>4123:4168 mixed revision working copy
4168M modified working copy
4123S switched working copy
4123P partial working copy, from a sparse checkout
4123:4168MS mixed revision, modified, switched working copy
</code></pre>
| <p>Try <code>svnversion --help</code></p> <pre><code>4123:4168 mixed revision working copy 4168M modified working copy 4123S switched working copy 4123P partial working copy, from a sparse checkout 4123:4168MS mixed revision, modified, switched working copy </code></pre> | 63 | svn | <h1>What do the letter suffixes on SVN version numbers mean?</h1>
<p>We have a svnversion reported as 22625P.</p>
<p>What does the "P" mean?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,505 | svn | # What do the letter suffixes on SVN version numbers mean?
We have a svnversion reported as 22625P.
What does the "P" mean? | Try `svnversion --help`
```
4123:4168 mixed revision working copy
4168M modified working copy
4123S switched working copy
4123P partial working copy, from a sparse checkout
4123:4168MS mixed revision, modified, switched working copy
``` |
1344064 | How to recover an accidentally deleted folder in a svn repository | 7 | 2009-08-27 22:19:41 | <p>I know how to revert to a specific revision of a folder using these instructions:</p>
<p><a href="http://aralbalkan.com/1381" rel="noreferrer">http://aralbalkan.com/1381</a></p>
<p>However, I deleted the entire folder and want to get that folder back without reverting the rest of the repository.</p>
<p>I tried re... | 19,417 | 48,311 | 2013-02-15 10:44:52 | 1,344,100 | 22 | 2009-08-27 22:30:15 | 1,605 | 2009-08-27 22:30:15 | https://stackoverflow.com/q/1344064 | https://stackoverflow.com/a/1344100 | <p>The easiest way is probably to <strong>svn copy</strong> the tree you want, from the revision where it last existed:</p>
<pre><code>svn copy src@rev dest
</code></pre>
<p>See the <a href="http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.copy.html" rel="noreferrer">Subversion Book</a> for details.</p>
| <p>The easiest way is probably to <strong>svn copy</strong> the tree you want, from the revision where it last existed:</p> <pre><code>svn copy src@rev dest </code></pre> <p>See the <a href="http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.copy.html" rel="noreferrer">Subversion Book</a> for details.</p> | 63, 2200, 7330 | recovery, repository, svn | <h1>How to recover an accidentally deleted folder in a svn repository</h1>
<p>I know how to revert to a specific revision of a folder using these instructions:</p>
<p><a href="http://aralbalkan.com/1381" rel="noreferrer">http://aralbalkan.com/1381</a></p>
<p>However, I deleted the entire folder and want to get that f... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,506 | svn | # How to recover an accidentally deleted folder in a svn repository
I know how to revert to a specific revision of a folder using these instructions:
<http://aralbalkan.com/1381>
However, I deleted the entire folder and want to get that folder back without reverting the rest of the repository.
I tried recreating th... | The easiest way is probably to **svn copy** the tree you want, from the revision where it last existed:
```
svn copy src@rev dest
```
See the [Subversion Book](http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.copy.html) for details. |
862950 | Subversion: prevent local modifications to one file from being committed? | 40 | 2009-05-14 12:04:38 | <p>I have a Subversion working copy where I made some local modifications to one file. The modifications are only relevant to me, I do not want to commit them. (The version in the repository contains some default values which are suitable for the other users, just not for me, which is why I want to override them locall... | 20,305 | 6,918 | 2020-01-21 08:21:01 | 898,186 | 21 | 2009-05-22 14:37:04 | 6,918 | 2020-01-21 08:21:01 | https://stackoverflow.com/q/862950 | https://stackoverflow.com/a/898186 | <p>There have been a few answers that can work:</p>
<ol>
<li>Create a pre-commit hook script that reject the commit when a specific property is being added. You can then add this property to files in the working copy to prevent commits. </li>
<li>TortoiseSVN will exclude files in the special changelist "ignore-on-comm... | <p>There have been a few answers that can work:</p> <ol> <li>Create a pre-commit hook script that reject the commit when a specific property is being added. You can then add this property to files in the working copy to prevent commits. </li> <li>TortoiseSVN will exclude files in the special changelist "ignore-on-comm... | 63 | svn | <h1>Subversion: prevent local modifications to one file from being committed?</h1>
<p>I have a Subversion working copy where I made some local modifications to one file. The modifications are only relevant to me, I do not want to commit them. (The version in the repository contains some default values which are suitabl... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,507 | svn | # Subversion: prevent local modifications to one file from being committed?
I have a Subversion working copy where I made some local modifications to one file. The modifications are only relevant to me, I do not want to commit them. (The version in the repository contains some default values which are suitable for the... | There have been a few answers that can work:
1. Create a pre-commit hook script that reject the commit when a specific property is being added. You can then add this property to files in the working copy to prevent commits.
2. TortoiseSVN will exclude files in the special changelist "ignore-on-commit". However, this i... |
13376483 | How to solve svn error E155010? | 27 | 2012-11-14 09:53:52 | <p>My working copy is in an inconsistent status:</p>
<pre><code>$ svn status
svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted
$ svn cleanup
svn: E155010: The node '<myprojectpath>/libs/armeabi/gdbserver' was not found.
</code></pre>
<p>I'm stucked on it. There is a solution... | 61,335 | 1,122,966 | 2019-02-02 09:26:39 | 13,492,107 | 21 | 2012-11-21 11:16:49 | 1,005,273 | 2012-11-21 11:16:49 | https://stackoverflow.com/q/13376483 | https://stackoverflow.com/a/13492107 | <p>I had the same problem and I found that is quite simple to solve (in my case).
Open a console and go to the folder presenting the problem (in you case <code><myprojectpath>/libs/armeabi/gdbserver</code>).</p>
<p>Run <code>svn up</code>. It will show you a line presenting the same error <code>svn: E155010:...<... | <p>I had the same problem and I found that is quite simple to solve (in my case). Open a console and go to the folder presenting the problem (in you case <code><myprojectpath>/libs/armeabi/gdbserver</code>).</p> <p>Run <code>svn up</code>. It will show you a line presenting the same error <code>svn: E155010:...<... | 63 | svn | <h1>How to solve svn error E155010?</h1>
<p>My working copy is in an inconsistent status:</p>
<pre><code>$ svn status
svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted
$ svn cleanup
svn: E155010: The node '<myprojectpath>/libs/armeabi/gdbserver' was not found.
</code></pre>
... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,508 | svn | # How to solve svn error E155010?
My working copy is in an inconsistent status:
```
$ svn status
svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted
$ svn cleanup
svn: E155010: The node '<myprojectpath>/libs/armeabi/gdbserver' was not found.
```
I'm stucked on it. There is a soluti... | I had the same problem and I found that is quite simple to solve (in my case).
Open a console and go to the folder presenting the problem (in you case `<myprojectpath>/libs/armeabi/gdbserver`).
Run `svn up`. It will show you a line presenting the same error `svn: E155010:...`.
```
lore@loreLaptop ~/workspace/Ng
$ svn... |
800294 | How to get started deploying PHP applications from a subversion repository? | 24 | 2009-04-28 23:40:59 | <p>I've heard the phrase "deploying applications" which sounds much better/easier/more reliable than uploading individual changed files to a server, but I don't know where to begin.</p>
<p>I have a Zend Framework application that is under version control (in a Subversion repository). How do I go about "deploying" my a... | 9,825 | 48,523 | 2012-09-17 22:00:13 | 801,414 | 21 | 2009-04-29 08:21:30 | 18,180 | 2009-04-29 08:31:37 | https://stackoverflow.com/q/800294 | https://stackoverflow.com/a/801414 | <p>Automatic deploy + run of tests to a staging server is known as continuous integration. The idea is that if you check in something that breaks the tests, you would get notified right away. For PHP, you might want to look into <a href="http://code.google.com/p/xinc/" rel="noreferrer">Xinc</a> or <a href="http://www.p... | <p>Automatic deploy + run of tests to a staging server is known as continuous integration. The idea is that if you check in something that breaks the tests, you would get notified right away. For PHP, you might want to look into <a href="http://code.google.com/p/xinc/" rel="noreferrer">Xinc</a> or <a href="http://www.p... | 5, 63, 190, 2857, 22507 | deployment, php, setup-deployment, svn, zend-framework | <h1>How to get started deploying PHP applications from a subversion repository?</h1>
<p>I've heard the phrase "deploying applications" which sounds much better/easier/more reliable than uploading individual changed files to a server, but I don't know where to begin.</p>
<p>I have a Zend Framework application that is u... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,510 | svn | # How to get started deploying PHP applications from a subversion repository?
I've heard the phrase "deploying applications" which sounds much better/easier/more reliable than uploading individual changed files to a server, but I don't know where to begin.
I have a Zend Framework application that is under version con... | Automatic deploy + run of tests to a staging server is known as continuous integration. The idea is that if you check in something that breaks the tests, you would get notified right away. For PHP, you might want to look into [Xinc](http://code.google.com/p/xinc/) or [phpUnderControl](http://www.phpundercontrol.org/)
... |
28117615 | svn relocate error -- invalid relocation destination | 23 | 2015-01-23 19:49:04 | <p>Our svn repo's location was changed to a different url, and in addition the relative paths of trunk, branches, and tags were moved a little. Now when I try to <code>svn relocate</code>, I get this message.</p>
<p><code>Invalid relocation destination: 'https://my-repo-server/new-proj-name/branches/my-branch' (does ... | 18,767 | 752,916 | 2020-03-27 02:35:54 | 28,117,616 | 21 | 2015-01-23 19:49:04 | 752,916 | 2015-01-23 19:49:04 | https://stackoverflow.com/q/28117615 | https://stackoverflow.com/a/28117616 | <p>Solved it with a stopgap solution -- from within the root of the working copy, deleted the .svn folder and ran <code>svn checkout <new-url-of-branch> .</code> </p>
<p>If anyone has a better answer that doesn't involve deleting the .svn folder, I will select it.</p>
| <p>Solved it with a stopgap solution -- from within the root of the working copy, deleted the .svn folder and ran <code>svn checkout <new-url-of-branch> .</code> </p> <p>If anyone has a better answer that doesn't involve deleting the .svn folder, I will select it.</p> | 63 | svn | <h1>svn relocate error -- invalid relocation destination</h1>
<p>Our svn repo's location was changed to a different url, and in addition the relative paths of trunk, branches, and tags were moved a little. Now when I try to <code>svn relocate</code>, I get this message.</p>
<p><code>Invalid relocation destination: 'h... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,511 | svn | # svn relocate error -- invalid relocation destination
Our svn repo's location was changed to a different url, and in addition the relative paths of trunk, branches, and tags were moved a little. Now when I try to `svn relocate`, I get this message.
`Invalid relocation destination: 'https://my-repo-server/new-proj-na... | Solved it with a stopgap solution -- from within the root of the working copy, deleted the .svn folder and ran `svn checkout <new-url-of-branch> .`
If anyone has a better answer that doesn't involve deleting the .svn folder, I will select it. |
2335414 | How to use the SVN command line with TortoiseSVN | 19 | 2010-02-25 16:00:49 | <p>How do I use the command line for SVN when SVN is installed by Tortoise?</p>
<p>I'm trying to invoke some commands found in <em><a href="http://jacqueschirag.wordpress.com/2007/07/22/changing-revision-property-in-subversion-with-tortoisesvn/" rel="noreferrer">Changing a revision property in Subversion</a></em>, but... | 44,479 | 93,468 | 2014-12-29 13:02:58 | 2,335,631 | 21 | 2010-02-25 16:27:41 | 12,567 | 2010-02-25 16:27:41 | https://stackoverflow.com/q/2335414 | https://stackoverflow.com/a/2335631 | <p>That page mostly references setting up SVN hooks on the <em>server</em>, but you can call SVN functions through Tortoise like the following:</p>
<pre><code><Path to TortoiseSVN>\bin\TortoiseProc.exe /command:<SVNCommand> <Parameters>
</code></pre>
<p>For example:</p>
<pre><code>C:\Program Files\... | <p>That page mostly references setting up SVN hooks on the <em>server</em>, but you can call SVN functions through Tortoise like the following:</p> <pre><code><Path to TortoiseSVN>\bin\TortoiseProc.exe /command:<SVNCommand> <Parameters> </code></pre> <p>For example:</p> <pre><code>C:\Program Files\... | 63, 656, 11603 | svn, tortoisesvn, visualsvn-server | <h1>How to use the SVN command line with TortoiseSVN</h1>
<p>How do I use the command line for SVN when SVN is installed by Tortoise?</p>
<p>I'm trying to invoke some commands found in <em><a href="http://jacqueschirag.wordpress.com/2007/07/22/changing-revision-property-in-subversion-with-tortoisesvn/" rel="noreferrer... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,512 | svn | # How to use the SVN command line with TortoiseSVN
How do I use the command line for SVN when SVN is installed by Tortoise?
I'm trying to invoke some commands found in *[Changing a revision property in Subversion](http://jacqueschirag.wordpress.com/2007/07/22/changing-revision-property-in-subversion-with-tortoisesvn/... | That page mostly references setting up SVN hooks on the *server*, but you can call SVN functions through Tortoise like the following:
```
<Path to TortoiseSVN>\bin\TortoiseProc.exe /command:<SVNCommand> <Parameters>
```
For example:
```
C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe /command:log /path:"c:\MyRepo\... |
10598069 | SVN+SSH and Sourceforge | 16 | 2012-05-15 09:42:00 | <p>I'm new to both Sourceforge and SVN (SilkSVN on Windows).</p>
<p>I managed to check out a project using</p>
<pre><code>svn co --username=zeroth123 svn://zeroth123@svn.code.sf.net/p/stddecimal/code/trunk stddecimal-code
</code></pre>
<p>However, every time I try and use ssh (so I can check in for example) it fails... | 14,482 | 424,153 | 2015-12-10 12:15:18 | 10,609,603 | 21 | 2012-05-15 22:18:38 | 424,153 | 2013-12-18 20:59:29 | https://stackoverflow.com/q/10598069 | https://stackoverflow.com/a/10609603 | <p>`%SVN_SSH% needs to be set <em>correctly</em> and an SSH key needs to be registered with Sourceforge.</p>
<p>Note that new Sourceforge projects are <em>version 2.0</em> by default, while 99% of the Sourceforge documentation is for version 1.0 and appears outdated.</p>
<p>These instructions assume you have <code>SV... | <p>`%SVN_SSH% needs to be set <em>correctly</em> and an SSH key needs to be registered with Sourceforge.</p> <p>Note that new Sourceforge projects are <em>version 2.0</em> by default, while 99% of the Sourceforge documentation is for version 1.0 and appears outdated.</p> <p>These instructions assume you have <code>SV... | 63, 64, 1840 | sourceforge, svn, windows | <h1>SVN+SSH and Sourceforge</h1>
<p>I'm new to both Sourceforge and SVN (SilkSVN on Windows).</p>
<p>I managed to check out a project using</p>
<pre><code>svn co --username=zeroth123 svn://zeroth123@svn.code.sf.net/p/stddecimal/code/trunk stddecimal-code
</code></pre>
<p>However, every time I try and use ssh (so I c... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,514 | svn | # SVN+SSH and Sourceforge
I'm new to both Sourceforge and SVN (SilkSVN on Windows).
I managed to check out a project using
```
svn co --username=zeroth123 svn://zeroth123@svn.code.sf.net/p/stddecimal/code/trunk stddecimal-code
```
However, every time I try and use ssh (so I can check in for example) it fails with
... | `%SVN_SSH% needs to be set *correctly* and an SSH key needs to be registered with Sourceforge.
Note that new Sourceforge projects are *version 2.0* by default, while 99% of the Sourceforge documentation is for version 1.0 and appears outdated.
These instructions assume you have `SVN` and the `PuTTY` tools installed, ... |
2692381 | Is there any way to svn diff or svn merge across multiple non-sequential revisions at once? | 16 | 2010-04-22 15:54:55 | <p>So in SVN you can do things like:</p>
<pre><code>svn merge -r555:558
svn diff -c551
</code></pre>
<p>but (as far as I know) there is no way to do:</p>
<pre><code>svn merge -r555:558, 592:594
svn diff -c551, 557, 563
</code></pre>
<p>For merges you can always just do several commands in sequence:</p>
<pre><code>... | 5,969 | 5,921 | 2015-01-22 05:18:45 | 2,906,146 | 21 | 2010-05-25 15:36:31 | 263,779 | 2010-05-25 15:36:31 | https://stackoverflow.com/q/2692381 | https://stackoverflow.com/a/2906146 | <p>You can merge multiple revisions in one command (at least in 1.6):</p>
<pre><code>svn merge -c 551, 557, 563
svn merge -r 555:558 -r 592:594
</code></pre>
<p>however svn diff does not seem to support multiple non-sequential revisions.</p>
<p>To get a cumulative patch, you can get the diffs individually and then u... | <p>You can merge multiple revisions in one command (at least in 1.6):</p> <pre><code>svn merge -c 551, 557, 563 svn merge -r 555:558 -r 592:594 </code></pre> <p>however svn diff does not seem to support multiple non-sequential revisions.</p> <p>To get a cumulative patch, you can get the diffs individually and then u... | 63, 606, 717, 41309 | diff, merge, revisions, svn | <h1>Is there any way to svn diff or svn merge across multiple non-sequential revisions at once?</h1>
<p>So in SVN you can do things like:</p>
<pre><code>svn merge -r555:558
svn diff -c551
</code></pre>
<p>but (as far as I know) there is no way to do:</p>
<pre><code>svn merge -r555:558, 592:594
svn diff -c551, 557, 5... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,516 | svn | # Is there any way to svn diff or svn merge across multiple non-sequential revisions at once?
So in SVN you can do things like:
```
svn merge -r555:558
svn diff -c551
```
but (as far as I know) there is no way to do:
```
svn merge -r555:558, 592:594
svn diff -c551, 557, 563
```
For merges you can always just do se... | You can merge multiple revisions in one command (at least in 1.6):
```
svn merge -c 551, 557, 563
svn merge -r 555:558 -r 592:594
```
however svn diff does not seem to support multiple non-sequential revisions.
To get a cumulative patch, you can get the diffs individually and then use combine-diff to merge them toge... |
849239 | Subversion - Add text file - File Status A (bin) | 16 | 2009-05-11 17:51:46 | <p>I don't know why I'm getting (bin) in the file status - I checked the file and there are no special characters. The add and commit worked and the file is probably fine, but I just thought it was odd. </p>
| 8,870 | 104,815 | 2010-11-07 20:20:47 | 849,278 | 21 | 2009-05-11 18:00:02 | 90,322 | 2010-11-07 20:20:47 | https://stackoverflow.com/q/849239 | https://stackoverflow.com/a/849278 | <p>From <a href="http://subversion.apache.org/faq.html#binary-files" rel="noreferrer">http://subversion.apache.org/faq.html#binary-files</a></p>
<blockquote>
<p>Subversion treats the following files as text:</p>
<ul>
<li>Files with no svn:mime-type</li>
<li>Files with a svn:mime-type starting "text/"</li>
... | <p>From <a href="http://subversion.apache.org/faq.html#binary-files" rel="noreferrer">http://subversion.apache.org/faq.html#binary-files</a></p> <blockquote> <p>Subversion treats the following files as text:</p> <ul> <li>Files with no svn:mime-type</li> <li>Files with a svn:mime-type starting "text/"</li> ... | 63 | svn | <h1>Subversion - Add text file - File Status A (bin)</h1>
<p>I don't know why I'm getting (bin) in the file status - I checked the file and there are no special characters. The add and commit worked and the file is probably fine, but I just thought it was odd. </p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,517 | svn | # Subversion - Add text file - File Status A (bin)
I don't know why I'm getting (bin) in the file status - I checked the file and there are no special characters. The add and commit worked and the file is probably fine, but I just thought it was odd. | From <http://subversion.apache.org/faq.html#binary-files>
> Subversion treats the following files as text:
>
> - Files with no svn:mime-type
> - Files with a svn:mime-type starting "text/"
> - Files with a svn:mime-type equal to "image/x-xbitmap"
> - Files with a svn:mime-type equal to "image/x-xpixmap"
>
> All other ... |
11951546 | SVN command line in jenkins fails due to server certificate mismatch | 15 | 2012-08-14 11:43:22 | <p>When I run the svn command line from the Jenkins shell I get this error:</p>
<pre><code> D:\Jenkins\jobs\Merge Trunk to Stable\workspace\stable>svn up --trust-server-cert --non-interactive
Updating '.':
svn: E175002: Unable to connect to a repository at URL 'https://xxx/stable'
svn: E175002: OPTIONS of 'http... | 20,275 | 1,010,965 | 2019-10-31 09:02:05 | 20,090,655 | 21 | 2013-11-20 08:19:03 | 1,802,240 | 2013-11-20 08:19:03 | https://stackoverflow.com/q/11951546 | https://stackoverflow.com/a/20090655 | <p>Pretty old question, but still quite alive.</p>
<p>As you know, the problem is that the accepted certificate cache (as well as the username/password cache) is per-user, and since Jenkins is running as a different user (most likely SYSTEM), it has no idea of your regular user cache.</p>
<p>Not all SVN clients let y... | <p>Pretty old question, but still quite alive.</p> <p>As you know, the problem is that the accepted certificate cache (as well as the username/password cache) is per-user, and since Jenkins is running as a different user (most likely SYSTEM), it has no idea of your regular user cache.</p> <p>Not all SVN clients let y... | 63, 64999 | jenkins, svn | <h1>SVN command line in jenkins fails due to server certificate mismatch</h1>
<p>When I run the svn command line from the Jenkins shell I get this error:</p>
<pre><code> D:\Jenkins\jobs\Merge Trunk to Stable\workspace\stable>svn up --trust-server-cert --non-interactive
Updating '.':
svn: E175002: Unable to conne... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,518 | svn | # SVN command line in jenkins fails due to server certificate mismatch
When I run the svn command line from the Jenkins shell I get this error:
```
D:\Jenkins\jobs\Merge Trunk to Stable\workspace\stable>svn up --trust-server-cert --non-interactive
Updating '.':
svn: E175002: Unable to connect to a repository at U... | Pretty old question, but still quite alive.
As you know, the problem is that the accepted certificate cache (as well as the username/password cache) is per-user, and since Jenkins is running as a different user (most likely SYSTEM), it has no idea of your regular user cache.
Not all SVN clients let you do the "echo p... |
3530572 | Is there any way to run svn log on an entire repository (not just a checkout of trunk) without having to check it out? | 14 | 2010-08-20 11:54:00 | <p>I've got a Subversion repository that our Atlassian Fisheye instances nearly chokes on because of some accidental commits + backouts ( i.e., someone tagged the entire repository instead of just /trunk, and on more than one occasion).
So what I want to do is audit the repo for larger-than-average commits, and carry o... | 6,096 | 195,262 | 2010-08-20 11:56:27 | 3,530,591 | 21 | 2010-08-20 11:56:27 | 893 | 2010-08-20 11:56:27 | https://stackoverflow.com/q/3530572 | https://stackoverflow.com/a/3530591 | <p>Sure, you can specify an URL to <code>svn log</code>:</p>
<pre><code>svn log svn://server/repo
</code></pre>
| <p>Sure, you can specify an URL to <code>svn log</code>:</p> <pre><code>svn log svn://server/repo </code></pre> | 63, 14980 | svn, svndumpfilter | <h1>Is there any way to run svn log on an entire repository (not just a checkout of trunk) without having to check it out?</h1>
<p>I've got a Subversion repository that our Atlassian Fisheye instances nearly chokes on because of some accidental commits + backouts ( i.e., someone tagged the entire repository instead of ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,519 | svn | # Is there any way to run svn log on an entire repository (not just a checkout of trunk) without having to check it out?
I've got a Subversion repository that our Atlassian Fisheye instances nearly chokes on because of some accidental commits + backouts ( i.e., someone tagged the entire repository instead of just /tru... | Sure, you can specify an URL to `svn log`:
```
svn log svn://server/repo
``` |
2385152 | how to upload my project files to online svn host? | 14 | 2010-03-05 07:23:02 | <p>I have an account on projectlocker (free svn host), and I don't know how to upload my project files to it.</p>
<p>I don't find any option for that in my dashboard.</p>
<p>I am using tortoiseSvn on my computer , so how to upload files and configure tortoiseSvn?</p>
| 43,095 | 161,222 | 2013-05-23 15:39:53 | 2,391,409 | 21 | 2010-03-06 05:07:01 | 162,407 | 2010-03-06 06:01:25 | https://stackoverflow.com/q/2385152 | https://stackoverflow.com/a/2391409 | <p>Before importing your files I suggest you setup the basic structure of your repository.
The typical structure looks like this:</p>
<pre><code>|
+- trunk
+- branches
+- tags
</code></pre>
<p>You can prepare that structure using the repo-browser. To open the repo-browser right-click on the desktop and select <code>T... | <p>Before importing your files I suggest you setup the basic structure of your repository. The typical structure looks like this:</p> <pre><code>| +- trunk +- branches +- tags </code></pre> <p>You can prepare that structure using the repo-browser. To open the repo-browser right-click on the desktop and select <code>T... | 63, 656 | svn, tortoisesvn | <h1>how to upload my project files to online svn host?</h1>
<p>I have an account on projectlocker (free svn host), and I don't know how to upload my project files to it.</p>
<p>I don't find any option for that in my dashboard.</p>
<p>I am using tortoiseSvn on my computer , so how to upload files and configure tortois... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,520 | svn | # how to upload my project files to online svn host?
I have an account on projectlocker (free svn host), and I don't know how to upload my project files to it.
I don't find any option for that in my dashboard.
I am using tortoiseSvn on my computer , so how to upload files and configure tortoiseSvn? | Before importing your files I suggest you setup the basic structure of your repository.
The typical structure looks like this:
```
|
+- trunk
+- branches
+- tags
```
You can prepare that structure using the repo-browser. To open the repo-browser right-click on the desktop and select `TortoiseSVN -> Repo-browser` from... |
132293 | SVNkit cannot create SVNRepoitory | 13 | 2008-09-25 09:22:13 | <p>I am trying to run a diff on two svn urls using SVNkit. The problem is that I get the error when <code>diff.doDiff</code> is called.</p>
<blockquote>
<p>org.tmatesoft.svn.core.SVNException: svn: Unable to create
SVNRepository object for
'<a href="http://svn.codehaus.org/jruby/trunk/jruby/src/org/jruby/Finali... | 4,498 | 5,004 | 2015-09-13 14:32:51 | 133,627 | 21 | 2008-09-25 14:20:34 | 6,950 | 2008-09-25 14:20:34 | https://stackoverflow.com/q/132293 | https://stackoverflow.com/a/133627 | <p>have you called the following static method?</p>
<blockquote>
<p>DAVRepositoryFactory.setup();</p>
</blockquote>
<p>This needs to be called before accessing any <code>http://</code> repositories and the similar</p>
<blockquote>
<p>SVNRepositoryFactoryImpl.setup();</p>
</blockquote>
<p>should be used for <cod... | <p>have you called the following static method?</p> <blockquote> <p>DAVRepositoryFactory.setup();</p> </blockquote> <p>This needs to be called before accessing any <code>http://</code> repositories and the similar</p> <blockquote> <p>SVNRepositoryFactoryImpl.setup();</p> </blockquote> <p>should be used for <cod... | 17, 63, 8855 | java, svn, svnkit | <h1>SVNkit cannot create SVNRepoitory</h1>
<p>I am trying to run a diff on two svn urls using SVNkit. The problem is that I get the error when <code>diff.doDiff</code> is called.</p>
<blockquote>
<p>org.tmatesoft.svn.core.SVNException: svn: Unable to create
SVNRepository object for
'<a href="http://svn.codehaus... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,521 | svn | # SVNkit cannot create SVNRepoitory
I am trying to run a diff on two svn urls using SVNkit. The problem is that I get the error when `diff.doDiff` is called.
> org.tmatesoft.svn.core.SVNException: svn: Unable to create
> SVNRepository object for
> '<http://svn.codehaus.org/jruby/trunk/jruby/src/org/jruby/Finalizable.... | have you called the following static method?
> DAVRepositoryFactory.setup();
This needs to be called before accessing any `http://` repositories and the similar
> SVNRepositoryFactoryImpl.setup();
should be used for `svn://` repositories. |
20503669 | IntelliJ IDEA thinks part of my project is subversion instead of git, how to fix this? | 12 | 2013-12-10 19:38:33 | <p>I have an Android project in IDEA, and added a module for testing.
This module is created within the directory of the App module itself.</p>
<p>Since I have done that, IDEA thinks that the files in the 'test' module are under subversion version control. However, I don't know why and how, as there wis no .svn direct... | 2,296 | 542,664 | 2023-06-26 06:03:03 | 20,504,649 | 21 | 2013-12-10 20:34:57 | 894,194 | 2013-12-10 20:34:57 | https://stackoverflow.com/q/20503669 | https://stackoverflow.com/a/20504649 | <p>Check your project configuration in <code>Settings > Version Control</code>. </p>
<p>This is where your directory/vcs mappings are configured. Remove any SVN mapping that could exists, and make sure that the whole project is mapped to Git.
BTW, I don't know how this could have happened.</p>
| <p>Check your project configuration in <code>Settings > Version Control</code>. </p> <p>This is where your directory/vcs mappings are configured. Remove any SVN mapping that could exists, and make sure that the whole project is mapped to Git. BTW, I don't know how this could have happened.</p> | 63, 119, 1386, 8945 | android, git, intellij-idea, svn | <h1>IntelliJ IDEA thinks part of my project is subversion instead of git, how to fix this?</h1>
<p>I have an Android project in IDEA, and added a module for testing.
This module is created within the directory of the App module itself.</p>
<p>Since I have done that, IDEA thinks that the files in the 'test' module are ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,522 | svn | # IntelliJ IDEA thinks part of my project is subversion instead of git, how to fix this?
I have an Android project in IDEA, and added a module for testing.
This module is created within the directory of the App module itself.
Since I have done that, IDEA thinks that the files in the 'test' module are under subversion... | Check your project configuration in `Settings > Version Control`.
This is where your directory/vcs mappings are configured. Remove any SVN mapping that could exists, and make sure that the whole project is mapped to Git.
BTW, I don't know how this could have happened. |
12530085 | How to setup SVN on Mac OS X 10.8.2? | 12 | 2012-09-21 11:54:30 | <p>I have found information that SVN comes with Mac OS X. But there was no SVN on my system. I have installed <code>Subversion-1.6.17-1_10.7.x.pkg</code> and all was good. But after update to Mac OS X 10.8.2 all SVN files were automatically removed from the system. I have tried to install <code>Subversion-1.6.17-1_10.7... | 67,196 | 865,475 | 2012-09-21 14:04:41 | 12,532,138 | 21 | 2012-09-21 14:04:41 | 253,056 | 2012-09-21 14:04:41 | https://stackoverflow.com/q/12530085 | https://stackoverflow.com/a/12532138 | <p>After you have installed Xcode 4.5 you need to follow <a href="https://stackoverflow.com/a/9329325/253056">these instructions</a> in order to install the command line tools. Once you've done that successfully then you should see that svn is installed:</p>
<pre><code>$ which svn
/usr/bin/svn
$ svn --version
svn, ve... | <p>After you have installed Xcode 4.5 you need to follow <a href="https://stackoverflow.com/a/9329325/253056">these instructions</a> in order to install the command line tools. Once you've done that successfully then you should see that svn is installed:</p> <pre><code>$ which svn /usr/bin/svn $ svn --version svn, ve... | 63, 369, 529 | installation, macos, svn | <h1>How to setup SVN on Mac OS X 10.8.2?</h1>
<p>I have found information that SVN comes with Mac OS X. But there was no SVN on my system. I have installed <code>Subversion-1.6.17-1_10.7.x.pkg</code> and all was good. But after update to Mac OS X 10.8.2 all SVN files were automatically removed from the system. I have t... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,523 | svn | # How to setup SVN on Mac OS X 10.8.2?
I have found information that SVN comes with Mac OS X. But there was no SVN on my system. I have installed `Subversion-1.6.17-1_10.7.x.pkg` and all was good. But after update to Mac OS X 10.8.2 all SVN files were automatically removed from the system. I have tried to install `Sub... | After you have installed Xcode 4.5 you need to follow [these instructions](https://stackoverflow.com/a/9329325/253056) in order to install the command line tools. Once you've done that successfully then you should see that svn is installed:
```
$ which svn
/usr/bin/svn
$ svn --version
svn, version 1.6.18 (r1303927)
... |
2432469 | TortoiseSVN svnadmin | 12 | 2010-03-12 11:55:41 | <p>Currently im setting up TortoiseSVN and reading through docs etc.
The manual often mentions svnadmin.
I figured out, that I have to download it <a href="http://groups.google.com/group/tortoisesvn/browse_thread/thread/e2a42aa7f486f74e/8f2b05a44b676887" rel="noreferrer">seperatly</a>.
But the <a href="http://subversio... | 34,807 | 240,125 | 2024-11-04 05:54:25 | 10,744,309 | 21 | 2012-05-24 19:49:17 | 1,329,396 | 2012-05-24 19:49:17 | https://stackoverflow.com/q/2432469 | https://stackoverflow.com/a/10744309 | <p>TortoiseSVN now includes those in their install file (or atleast it did when I installed it 5/23/2012) During the options of what to choose to install i had to click on the command line tools. Now it is in <code>(tortoisesvnInstallfolder)\bin\svnadmin.exe</code></p>
<p>just thought i'd share</p>
| <p>TortoiseSVN now includes those in their install file (or atleast it did when I installed it 5/23/2012) During the options of what to choose to install i had to click on the command line tools. Now it is in <code>(tortoisesvnInstallfolder)\bin\svnadmin.exe</code></p> <p>just thought i'd share</p> | 63, 656, 15460 | svn, svnadmin, tortoisesvn | <h1>TortoiseSVN svnadmin</h1>
<p>Currently im setting up TortoiseSVN and reading through docs etc.
The manual often mentions svnadmin.
I figured out, that I have to download it <a href="http://groups.google.com/group/tortoisesvn/browse_thread/thread/e2a42aa7f486f74e/8f2b05a44b676887" rel="noreferrer">seperatly</a>.
But... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,524 | svn | # TortoiseSVN svnadmin
Currently im setting up TortoiseSVN and reading through docs etc.
The manual often mentions svnadmin.
I figured out, that I have to download it [seperatly](http://groups.google.com/group/tortoisesvn/browse_thread/thread/e2a42aa7f486f74e/8f2b05a44b676887).
But the [link](http://subversion.tigris.... | TortoiseSVN now includes those in their install file (or atleast it did when I installed it 5/23/2012) During the options of what to choose to install i had to click on the command line tools. Now it is in `(tortoisesvnInstallfolder)\bin\svnadmin.exe`
just thought i'd share |
4515586 | Clean an svn checkout (remove non-svn files) | 11 | 2010-12-23 03:09:23 | <p>Id like to remove all files in my working copy that are not known in the svn repository.</p>
<p>Effectively as if I'd just made a clean checkout, but Id rather not have to re-download all files.</p>
<p>The closest think I've come to this is...</p>
<pre><code>rm -rf `svn st | grep "^?" | cut -d" " -f8`
</code></pr... | 11,147 | 432,509 | 2017-11-10 20:19:55 | 6,527,892 | 21 | 2011-06-29 22:13:18 | 822,015 | 2011-06-29 22:13:18 | https://stackoverflow.com/q/4515586 | https://stackoverflow.com/a/6527892 | <p>Most solutions that are posted here fail to handle folders with whitespaces. This is why we use this one:</p>
<pre><code>svn status --no-ignore | grep '^[?I]' | sed "s/^[?I] //" | xargs -I{} rm -rf "{}"
</code></pre>
| <p>Most solutions that are posted here fail to handle folders with whitespaces. This is why we use this one:</p> <pre><code>svn status --no-ignore | grep '^[?I]' | sed "s/^[?I] //" | xargs -I{} rm -rf "{}" </code></pre> | 63, 65722 | svn, svn-checkout | <h1>Clean an svn checkout (remove non-svn files)</h1>
<p>Id like to remove all files in my working copy that are not known in the svn repository.</p>
<p>Effectively as if I'd just made a clean checkout, but Id rather not have to re-download all files.</p>
<p>The closest think I've come to this is...</p>
<pre><code>r... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 28,525 | svn | # Clean an svn checkout (remove non-svn files)
Id like to remove all files in my working copy that are not known in the svn repository.
Effectively as if I'd just made a clean checkout, but Id rather not have to re-download all files.
The closest think I've come to this is...
```
rm -rf `svn st | grep "^?" | cut -d... | Most solutions that are posted here fail to handle folders with whitespaces. This is why we use this one:
```
svn status --no-ignore | grep '^[?I]' | sed "s/^[?I] //" | xargs -I{} rm -rf "{}"
``` |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.