Using the enforcer script from contrib/hooks, I get an error when a
commit includes a renamed empty file, for example:
AssertionError: Expected left file info, got: 'Deleted:
trunk/EmptyDocToBeRenamed.txt'
This only happens if the file is empty.
The exact result seems to depend on the order in which the two
operations that constitute a rename happen - Delete & Add-by-copying.
The problem seems to be that enforcer always expects a "diff" output
following the file rename, but if the file is empty, svnlook diff
shows no diff output bars.
(enforcer using svnlook version 1.6.9 (r901367), on Windows XP)
Can anyone confirm this is a bug?
Or a possible change to svnlook output format?
****************************************************************************
Please consider the environment before printing this email.
Thales Research and Technology (UK) Limited DISCLAIMER: The information
contained in this e-mail is confidential. It may also be legally
privileged. It is intended only for the stated addressee(s) and access to
it by any other person is unauthorised. If you are not an addressee, you
must not disclose, copy, circulate or in any other way use or rely on the
information contained herein. Such unauthorised use may be unlawful. We
may monitor all e-mail communications through our networks. If you have
received this e-mail in error, please inform us immediately on +44 (0)1293
575987 and delete it and all copies from your system. We accept no
responsibility for changes to any e-mail which occur after it has been sent.
Attachments to this e-mail may contain software viruses which could damage
your system. We therefore recommend you virus-check all attachments before
opening. The registered office of Thales Research and Technology (UK)
Limited is at: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX. Registered in England No. 774298.
****************************************************************************
Received on 2010-02-23 13:45:39 CET