[svnbook] r5514 committed - trunk/en/book/ch02-basic-usage.xml

C. Michael Pilato cmpilato at red-bean.com
Mon Dec 4 08:11:51 CST 2017


That would be an appropriate place to add the note, yes.

On Sun, Dec 3, 2017 at 12:08 PM, Richard Cavell <richardcavell at mail.com>
wrote:

> Hi, Mike.
>
> I note that "Part II. SVN Command Reference" already has a correct
> description of the behaviour of svn delete (in relation to whether it
> deletes now or only on an svn commit). But it doesn't mention the issue
> that you describe (attempting to delete a directory that is not empty).
> Would you like to add it there?
>
> http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.delete.html
>
> Richard
>
> *Sent:* Sunday, December 03, 2017 at 1:24 PM
> *From:* "C. Michael Pilato" <cmpilato at red-bean.com>
> *To:* "Richard Cavell" <richardcavell at mail.com>
> *Cc:* svnbook-dev at red-bean.com
> *Subject:* Re: [svnbook] r5514 committed - trunk/en/book/ch02-basic-
> usage.xml
> No no, I trust your judgment.  I was only reading the commit mail, with
> the limited context it provides -- that's why I asked.
>
> On Sat, Dec 2, 2017 at 10:59 AM, Richard Cavell <richardcavell at mail.com>
> wrote:
>>
>> Hi, Mike.
>>
>> I would vote for "no", because this section is meant only to introduce
>> the 5 most commonly used commands, not to provide a thorough description of
>> them. There is already a footnote on that item.
>>
>> But if you're sure, I'd be happy to add that.
>>
>> Richard
>>
>> *Sent:* Saturday, December 02, 2017 at 3:59 AM
>> *From:* "C. Michael Pilato" <cmpilato at gmail.com>
>> *To:* richardcavell at users.sourceforge.net
>> *Cc:* svnbook-dev at red-bean.com
>> *Subject:* Re: [svnbook] r5514 committed - trunk/en/book/ch02-basic-
>> usage.xml
>> I can't see the context right now, but is it worth noting here that in
>> the directory case, the directory won't be removed if there are unversioned
>> items within it?
>>
>> --
>> Sent via mobile. Please excuse brevity.
>>
>> On Dec 1, 2017 6:57 PM, <richardcavell at users.sourceforge.net> wrote:
>>>
>>> Revision: 5514
>>>           http://sourceforge.net/p/svnbook/source/5514
>>> Author:   richardcavell
>>> Date:     2017-12-01 23:30:58 +0000 (Fri, 01 Dec 2017)
>>> Log Message:
>>> -----------
>>> Modify chapter 2's description of svn delete FOO
>>>
>>> In fact, svn delete *does* immediately remove directories, as well as
>>> files
>>> and symlinks. This is true on svn 1.8 and 1.9. The behaviour described
>>> by the
>>> previous version of the book applied to previous versions of svn.
>>>
>>> Discussed on #svn on Freenode on 1 December 2017.
>>>
>>> Modified Paths:
>>> --------------
>>>     trunk/en/book/ch02-basic-usage.xml
>>>
>>> Modified: trunk/en/book/ch02-basic-usage.xml
>>> ===================================================================
>>> --- trunk/en/book/ch02-basic-usage.xml  2017-12-01 14:32:37 UTC (rev
>>> 5513)
>>> +++ trunk/en/book/ch02-basic-usage.xml  2017-12-01 23:30:58 UTC (rev
>>> 5514)
>>> @@ -703,19 +703,14 @@
>>>              </indexterm>
>>>              <para>Use this to schedule the file, directory, or
>>>                symbolic link <filename>FOO</filename> to be deleted
>>> -              from the repository.  If <filename>FOO</filename> is a
>>> -              file or link, it is immediately deleted from your
>>> -              working copy.  If <filename>FOO</filename> is a
>>> -              directory, it is not deleted, but Subversion schedules
>>> -              it for deletion.  When you commit your
>>> -              changes, <filename>FOO</filename> will be entirely
>>> -              removed from your working copy and the
>>> -              repository.<footnote><para>Of course, nothing is ever
>>> -              totally deleted from the repository—just from
>>> -              its <literal>HEAD</literal> revision.  You may continue
>>> -              to access the deleted item in previous revisions.
>>> -              Should you desire to resurrect the item so that it is
>>> -              again present in <literal>HEAD</literal>, see
>>> +              from the repository.  <filename>FOO</filename> is
>>> +              immediately deleted from your working copy.
>>> +              (Of course, nothing is ever totally deleted from the
>>> +              repository—just from its <literal>HEAD</literal>
>>> revision.
>>> +              You may continue to access the deleted item in previous
>>> +              revisions).
>>> +              <footnote><para>Should you desire to resurrect the item
>>> +              so that it is again present in <literal>HEAD</literal>,
>>> see
>>>                <xref linkend="svn.branchmerge.basicmerging.resurrect"
>>>                />.</para></footnote></para>
>>>            </listitem>
>>>
>>>
>>> _______________________________________________
>>> svnbook-dev mailing list
>>> svnbook-dev at red-bean.com
>>> http://www.red-bean.com/mailman/listinfo/svnbook-dev
>>
>> _______________________________________________ svnbook-dev mailing list
>> svnbook-dev at red-bean.com http://www.red-bean.com/
>> mailman/listinfo/svnbook-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.red-bean.com/pipermail/svnbook-dev/attachments/20171204/a916dd36/attachment.html>


More information about the svnbook-dev mailing list