#24388: Drop django.utils._os.rmtree_errorhandler
------------------------------------------------+------------------------
               Reporter:  aaugustin             |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Utilities             |        Version:  master
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 When Django was maintained with SVN, `collectstatic` could copy the `.svn`
 directory inside each directory (e.g. when testing
 `use_default_ignore_patterns=False`). Removing these directories was a
 problem on Windows.  [d18d37ce] introduced `rmtree_errorhandler` to solve
 that problem.

 Since we've moved to git, there's a single `.git` directory at the root of
 the repository and we don't need that anymore.

 [a9a0f0b0] also used `rmtree_errorhandler` in `startproject`/`startapp`.
 It's a large commit. I couldn't find anything about `rmtree_errorhandler`
 in the ticket, in the code or in the tests. I assume it was included for
 extra safety.

--
Ticket URL: <https://code.djangoproject.com/ticket/24388>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.0c89808577d862fd0de7347852ebbbda%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to