Clearing subversion issue

384 views
Skip to first unread message

Kevin Oberman

unread,
Oct 27, 2017, 1:52:19 AM10/27/17
to ques...@freebsd.org
I am trying to update my ports. Two ports, print/freetype2 and
www/linux-c6-flashplugin11. The latter port was deleted some time ago and
does not exist in my tree. The former is one that I had manually patched.

Instead of resolving conflicts cleanly, I simply deleted all of the port
and run "svn up". It ran cleanly, but one file was not downloaded, the
recently added patch.

I ran "svn status" which returns:
D C print/freetype2/files/extra-patch-fix_size_metrics.diff
> local unversioned, incoming file add upon update
! C www/linux-c6-flashplugin11
> local dir edit, incoming dir delete or move upon update
! www/linux-c6-flashplugin11/Makefile
! www/linux-c6-flashplugin11/distinfo
! www/linux-c6-flashplugin11/pkg-descr
! www/linux-c6-flashplugin11/pkg-message
! www/linux-c6-flashplugin11/pkg-plist

I have no idea what triggered the flashplugin11 issue. It's been gone for a
long time, but this is the first time I have run a status on ports in a
very long time.

I suspect that there is an easy to fix these, but I have yet to find it.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkob...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
_______________________________________________
freebsd-...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

Matthew Seaman

unread,
Oct 27, 2017, 2:38:18 AM10/27/17
to freebsd-...@freebsd.org
On 27/10/2017 06:52, Kevin Oberman wrote:
> Instead of resolving conflicts cleanly, I simply deleted all of the port
> and run "svn up". It ran cleanly, but one file was not downloaded, the
> recently added patch.
>
> I ran "svn status" which returns:
> D C print/freetype2/files/extra-patch-fix_size_metrics.diff
> > local unversioned, incoming file add upon update

This is svn not overwriting an un-versioned file. If you know that you
want the patch from upstream, try removing
extra-patch-fix_size_metrics.diff and updating again.

> ! C www/linux-c6-flashplugin11
> > local dir edit, incoming dir delete or move upon update
> ! www/linux-c6-flashplugin11/Makefile
> ! www/linux-c6-flashplugin11/distinfo
> ! www/linux-c6-flashplugin11/pkg-descr
> ! www/linux-c6-flashplugin11/pkg-message
> ! www/linux-c6-flashplugin11/pkg-plist

This is svn expecting to rename that directory and all its contents, and
being confused because some things have already disappeared.

> I have no idea what triggered the flashplugin11 issue. It's been gone for a
> long time, but this is the first time I have run a status on ports in a
> very long time.
>
> I suspect that there is an easy to fix these, but I have yet to find it.

In general, 'svn revert -R foo/bar' will undo local changes and give you
copies of the foo/bar port's files exactly as they appear in the
repository. You should also look at 'svn status' to find files in your
tree that don't exist in the repository. svn does have a habit of
leaving some files in your tree which eg. git would remove -- this is
particularly noticeable with 'svn rm'

Cheers,

Matthew

signature.asc
Reply all
Reply to author
Forward
0 new messages