<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.quote
        {mso-style-name:quote;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I ran into one confusion when trying to implement the ideas described in the sparse directories chapter - svn.advanced.sparsedirs.html<o:p></o:p></p>
<p class="MsoNormal">I did not know that under svn it is not possible to use update to set the depth of any directory that was not the child of an existing one in the working copy.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thus <o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:"Courier New";color:black">svn checkout file:///var/svn/repos mom-empty --depth empty<o:p></o:p></span></p>
<pre style="background:white"><span style="font-size:9.0pt;color:black">svn update --set-depth infinity mom-empty/daughter/granddaughter1<o:p></o:p></span></pre>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">will fail, instead of creating just the granddaughter1 branch of daughter.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Instead you must create the granddaughter1’s parent directory first as:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:"Courier New";color:black">svn checkout file:///var/svn/repos mom-empty --depth empty<o:p></o:p></span></p>
<pre style="background:white"><span style="font-size:9.0pt;color:black">svn update --set-depth empty mom-empty/daughter<o:p></o:p></span></pre>
<pre style="background:white"><span style="font-size:9.0pt;color:black">svn update --set-depth infinity mom-empty/daughter/granddaughter1<o:p></o:p></span></pre>
<p class="MsoNormal" style="margin-bottom:6.75pt;line-height:13.5pt;background:white">
<span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:#333333"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:6.75pt;line-height:13.5pt;background:white">
<span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:#333333">Perhaps others may be confused by this and could be helped if something like this <> <> were added:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:6.75pt;line-height:13.5pt;background:white">
<span style="font-size:13.5pt;color:black;background:white">But we can independently change the ambient depth value of<span class="apple-converted-space"> </span><em><span style="font-family:"Calibri","sans-serif"">any</span></em><span class="apple-converted-space"> </span>subdirectory
 inside the working copy, too. <The only constraint is that the subdirectory must be a child of an existing directory in the working copy> Careful use of this ability allows us to flesh out only certain portions of the working copy tree, leaving other portions
 absent altogether (hence the<span class="apple-converted-space"> </span><span class="quote">“sparse”</span><span class="apple-converted-space"> </span>bit of the feature's name). Here's an example of how we might build out a portion of one branch of our family's
 tree, enable full recursion on another branch, and keep still other pieces pruned (absent from disk).  <Note that creating the empty daughter directory is required before the granddaughter subdirectory can be created recursively></span><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:#333333"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:6.75pt;line-height:13.5pt;background:white">
<span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:#333333">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#333333">David F Johnston<o:p></o:p></span></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>