On Thu, Aug 06, 2020 at 01:57:41PM +0700, Eugene Grosbein wrote:
> 06.08.2020 13:23, Doug Hardie wrote:
> 
> >> On 5 August 2020, at 21:30, Eugene Grosbein <eu...@grosbein.net> wrote:
> >>
> >> 06.08.2020 6:02, Tatsuki Makino wrote
> >> :
> >>> Is there any command other than "rm -rf /usr/ports ; portsnap extract"
> >>> that can be easily repaired?
> >>
> >> svnlite revert -R /usr/ports
> > 
> > 
> > master# svnlite revert -R /usr/ports
> > svn: E155007: '/usr/ports' is not a working copy
> > master# 
> > master# rm -rf /usr/ports/*
> > master# svnlite revert -R /usr/ports
> > svn: E155007: '/usr/ports' is not a working copy
> 
> If portsnap's deprecated, one uses "svnlite checkout" to replace portsnap's 
> data
> with data of Subversion, then "svnlite revert" would work.

Depending on the damage, you may also want to `svnlite cleanup 
--remove-unversioned`
and maybe a plain rm -rf followed by a svnlite checkout.

-- 
Mathieu Arnold

Attachment: signature.asc
Description: PGP signature

Reply via email to