Date: Wed, 15 Mar 2017 22:53:46 -0300 From: "Danilo G. Baio (dbaio)" <dbaio@bsd.com.br> To: Kurt Jaeger <lists@opsec.eu> Cc: Jochen Neumeister <joneum@bsdproject.de>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: rename a port Message-ID: <20170316015346.erbwpjglbl3wn64j@dx240.localdomain> In-Reply-To: <20170314101824.GA64587@home.opsec.eu> References: <442f40bd-cff2-22b0-449c-1aa701e99878@bsdproject.de> <20170314101824.GA64587@home.opsec.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
--6xbpoiwkkobm52c2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 14, 2017 at 11:18:24AM +0100, Kurt Jaeger wrote: > Hi! >=20 > > I would like to rename a port. How is the best way? > >=20 > > Svn cp /port/oldname / port/newname >=20 > svn mv old new >=20 > should work. >=20 > Please provide an entry for /usr/ports/MOVED, too. >=20 > > And then a diff with /port/oldname /port/newname? >=20 > Yes. Hi. I am afraid it won't work perfectly with just that. =46rom the porters handbook we have this: "If files have been added, copied, moved, or removed, include the svn(1) ad= d, copy, move, and remove commands that were used. svn move or svn copy must be run before the patch can be applied. svn add or svn remove must be run after the patch is applied." https://www.freebsd.org/doc/en/books/porters-handbook/port-upgrading.html When using `svn diff` and executing `svn copy` before applying the patch, it works fine, but it doesn't work correctly with patches that include `svn mo= ve`,=20 unless you generate it with `svn diff --no-diff-deleted`. I had this problem a while ago. Regards. -- Danilo G. Baio (dbaio) --6xbpoiwkkobm52c2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEORj0UTsjzCy+enIkmpN7LfMuiNcFAljJ8CQACgkQmpN7LfMu iNcCfQ//SBwTcgDUbM6FzqI+r5kZOVex3tIJoONWw3yyhMjFh+gLPE+Y3XnhIBKs 5ID+bIcPZAfX+0Q9wK+CsRfdS+9sBwh1P5kay623sPvOP/7NyZJl0NoRFbCWUBfm ArRUnRbcZL8HG9Jx442TC/kfVGEehho3nMNTTQP5jghmKr5X+SbVYAA/jdOuTYjI AEmt/441ZqUdIdWaMLSQt+Nxkf83QqGUVG8/HCoHss9RB1jSzcucvqlTRdO3UjVA 9JN4sVGPGtrn6XhmgJWho4VrpDwBWvdB2Tp1vEqlAUmcIULFHwPRLMQpkKus8FJz MdPWVRwPxasZ7EOOytCaY1dzmyWgZ7CSfWAUAcuzZZDdJIqjDXW5QTT9ifl+7LlN pNStyg5HzOq2y8UXbRGt/woUv8LX0EhXuJs+pIfSl+9CjStEmp826ffw8gTpw2cM l0+JpJeis57SRkT+iwQ89QmvIM0N6Ny8tRuqC/0FZ+Bk0Agbb/nAzeNVtBQQDk+J tJZvC36Oa8nww0JTCTeIFsn67X0fxgItOkLYpnuDk36tncZAplcaVuJOlT/7a5Ks PilDMpN2AaawAdSe1Ma/HZNSoZVKiFJhNBpxBn0QNzhUjjKRhlntOxxJUKcO5aZl A6CtrqTi/TXGXUeyvdhAWaPYCSUKMiUimCiGG99pp9Of+vzfW2g= =JcUw -----END PGP SIGNATURE----- --6xbpoiwkkobm52c2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170316015346.erbwpjglbl3wn64j>