svn commit: r461866 - head/textproc/elasticsearch6
Romain Tartière
romain at FreeBSD.org
Thu Feb 15 09:29:58 UTC 2018
On Thu, Feb 15, 2018 at 10:11:17AM +0100, Mathieu Arnold wrote:
> On Thu, Feb 15, 2018 at 08:48:11AM +0000, Romain Tartière wrote:
> > Author: romain
> > Date: Thu Feb 15 08:48:11 2018
> > New Revision: 461866
> > URL: https://svnweb.freebsd.org/changeset/ports/461866
> >
> > Log:
> > Copy textproc/elasticsearch5 to textproc/elasticsearch6
> >
> > History was lost during textproc/elasticsearch6 creation, and other fixes are
> > required but our pre-commit hook do not allow doing everything atomically.
>
> It does let you do it atomically. You run svn copy, and then **PATCH**
> the files. On the other hand, to make sure things are not lost, it does
> not let you **REPLACE** files.
-- START OF DETAILED STEPS --
I did this:
1. svn up elasticsearch5 elasticsearch6
2. cp -R elasticsearch6 elasticsearch6.final
3. svn delete elasticsearch6
4. svn copy elasticsearch5 elasticsearch6
5. meld elasticsearch6 elasticsearch6.final
# And sync what was not up-to-date
6. svn delete elasticsearch6/files/patch-bin_elasticsearch elasticsearch6/files/patch-bin_elasticsearch.in.sh
# Remove extra files
7. svn commit elasticsearch6
The exact error message was
---------------------------------- 8< ----------------------------------
svn: E165001: Échec de la propagation (commit), détails :
svn: E165001: Commit blocked by pre-commit hook (exit code 1) with output:
Do not replace a file. This can lose history. Path: "/head/textproc/elasticsearch6"
== Additional errors may compound and may not be accurate ==
Do not replace a file. This can lose history. Path: "/head/textproc/elasticsearch6"
Do not replace a file. This can lose history. Path: "/head/textproc/elasticsearch6"
Do not replace a file. This can lose history. Path: "/head/textproc/elasticsearch6"
== Pre-commit problem count: 4
---------------------------------- 8< ----------------------------------
Since the error message was related to the parent directory, I though I
was trying to do too much in a single commit. Since I already `svn
delete + svn copy' in the past, I decided to do checkpoint commit
between steps 4 and 5.
-- END OF DETAILED STEPS --
Do you mean that the problem is that the i-node of the files in the
elasticsearch6 directory changed?
--
Romain Tartière <romain at FreeBSD.org> http://people.FreeBSD.org/~romain/
pgp: 8234 9A78 E7C0 B807 0B59 80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20180215/0f140a16/attachment.sig>
More information about the svn-ports-head
mailing list