[HEADS UP] Planned deprecation of portsnap

Mathieu Arnold mat at freebsd.org
Thu Aug 6 11:57:15 UTC 2020


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 <eugen at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200806/f7f2fec9/attachment.sig>


More information about the freebsd-ports mailing list