Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[linuxtools-dev] SVN commit glitch

Hi,

I got an error when committing some code to the Linux Tools project. I am using Subclispe (SVN).

Checkout command

svn checkout "svn+ssh://fchouinar@xxxxxxxxxxxxxxx/svnroot/technology/org.eclipse.linuxtools/lttng/trunk/org.eclipse.linuxtools.tmf@HEAD" -r HEAD --depth infinity "/home/francois/Workspaces/LTTng/org.eclipse.linuxtools.tmf" --username "fchouinar"

Checkin command
(I just renamed a file)

svn commit "/home/francois/Workspaces/LTTng/org.eclipse.linuxtools.tmf/src/org/eclipse/linuxtools/tmf/eventlog/TmfEventLog.java" "/home/francois/Workspaces/LTTng/org.eclipse.linuxtools.tmf/src/org/eclipse/linuxtools/tmf/eventlog/TmfTrace.java" "/home/francois/Workspaces/LTTng/org.eclipse.linuxtools.tmf/tests/org/eclipse/linuxtools/tmf/eventlog/TmfEventLogTest.java" -N -m "Commit test :-)" --username "fchouinar"
    D /home/francois/Workspaces/LTTng/org.eclipse.linuxtools.tmf/src/org/eclipse/linuxtools/tmf/eventlog/TmfEventLog.java
    A /home/francois/Workspaces/LTTng/org.eclipse.linuxtools.tmf/src/org/eclipse/linuxtools/tmf/eventlog/TmfTrace.java
    M /home/francois/Workspaces/LTTng/org.eclipse.linuxtools.tmf/tests/org/eclipse/linuxtools/tmf/eventlog/TmfEventLogTest.java

Result

Committed revision 22579
svn: Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook
*** Error (took 00:01.906)

From the error trace

Error
Fri Jul 31 12:43:51 EDT 2009
SVN: 'Set revision author' operation finished with error: svn: Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook

org.eclipse.team.svn.core.connector.SVNConnectorException: svn: Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook
    at org.polarion.team.svn.connector.svnkit.SVNKitConnector.handleClientException(SVNKitConnector.java:1384)
    at org.polarion.team.svn.connector.svnkit.SVNKitConnector.setRevisionProperty(SVNKitConnector.java:1353)
    at org.eclipse.team.svn.core.extension.factory.ThreadNameModifier.setRevisionProperty(ThreadNameModifier.java:778)
    at org.eclipse.team.svn.core.operation.remote.SetRevisionAuthorNameOperation$2.run(SetRevisionAuthorNameOperation.java:67)
    at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doSubTask(ProgressMonitorUtility.java:118)
...


The code was checked-in all right, I just have this error and I suspect I just lost the accompanying comment (so not a critical problem). Looking at some SVN documentation (http://svnbook.red-bean.com/en/1.0/ch05s02.html), I get this:
pre-revprop-change

Because Subversion's revision properties are not versioned, making modifications to such a property (for example, the svn:log commit message property) will overwrite the previous value of that property forever. Since data can be potentially lost here, Subversion supplies this hook (and its counterpart, post-revprop-change) so that repository administrators can keep records of changes to these items using some external means if they so desire. As a precaution against losing unversioned property data, Subversion clients will not be allowed to remotely modify revision properties at all unless this hook is implemented for your repository.

This hook runs just before such a modification is made to the repository. The repository passes four arguments to this hook: the path to the repository, the revision on which the to-be-modified property exists, the authenticated username of the person making the change, and the name of the property itself.


I don't have any clue which revision property I inadvertently tried to modify.

Any idea about what I missed or did wrong?

Thanks in advance,
/fc


Back to the top