Note that there are some explanatory texts on larger screens.

plurals
  1. POTroubles with svn:externals inside another svn:externals
    primarykey
    data
    text
    <p>I have some troubles in checking out a tagged version in my svn repository and most likely because of an inner 'svn:externals' that is not referring to the correct revision. Lets consider simplified situation:</p> <h3>I have a first svn repository which looked like this at revision XXX1:</h3> <pre><code>Repo1 (@ Rev XXX1) tags ... trunk Folder1 ExternalRefToFolder2 (svn:externals '../Folder2') Folder2 SomeFile1.txt SomeFile2.txt </code></pre> <h3>And which has been refactored to (at head revision):</h3> <pre><code>Repo1 (@ HEAD1) tags ... trunk Folder1 SomeFile1.txt SomeFile2.txt </code></pre> <p>I.E: For the good or for the bad, the external reference to <code>Folder2</code> has been removed and replaced by file copy between revisions <code>XXX1</code> and <code>HEAD1</code>.</p> <h3>I also have a second repository on the same server which looks like this:</h3> <pre><code>Repo2 (@ HEAD2) tags 1.0.0 ExternalToRepo1 (svn:externals -rXXX1 ^/../Repo1/trunk) trunk ExternalToRepo1 (svn:externals ^/../Repo1/trunk) </code></pre> <p>I.E.: Again, for the good or for the bad, the second repository is referencing first one using an external reference (revision <code>HEAD1</code> in <code>trunk</code> and revision <code>XXX1</code> in tagged version so as to freeze everything at correct revision).</p> <h3>The issue</h3> <ul> <li><p>When I'm checking-out the <code>trunk</code> of <code>Repo2</code>, I have no issue. That is <code>Repo1</code> is checked-out with its single <code>Folder1</code>.</p></li> <li><p>When I'm checking out the tag <code>1.0.0</code> of <code>Repo2</code>, then svn complains that it cannot find <code>http://server//Repo1//trunk//Folder2</code> at <code>HEAD1</code> revision.</p></li> </ul> <p>So it all looks like that even if the tag <code>1.0.0</code> is referring to <code>Repo1/trunk</code> in its correct <code>XXX1</code> revision; the <strong>inner</strong> external <code>svn:externals '../Folder2'</code> is interpreted as if based from <code>HEAD1</code> (instead of revision <code>XXX1</code> as I would have had expected).</p> <p>Is this behavior normal, and how may I work around the issue ?</p> <p>NB: Svn version I have is 1.7.8 (r1419671) compiled december 12th, 2012</p> <h1>Edit</h1> <p>Another way to reproduce the issue is to check-out or simply browse <code>Repo1</code> at revision <code>XXX1</code>. <code>svn:externals '../Folder2'</code> will then still be relative to <code>HEAD1</code> so guess there's no much solution.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload