[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Commit failure after a directory renaming

From: Yves Martin <yves.martin_at_elca.ch>
Date: 2005-09-01 17:46:16 CEST


 I'm stuck on this renaming issue. I'm changing the java package
 'ch.elca.leaf.buildsystem' into 'ch.elca.el4ant' everywhere in my source code.

 I have proceeded this way:
 - svn mv buildsystem/j2ee/java/ch/elca/leaf/buildsystem buildsystem/j2ee/java/ch/elca/el4ant
 - svn rm buildsystem/j2ee/java/ch/elca/leaf
 - do changes on files inside the directory (change package declaration for instance)

 But when commiting:

Adding buildsystem/j2ee/java/ch/elca/el4ant
Adding buildsystem/j2ee/java/ch/elca/el4ant/j2ee
Deleting buildsystem/j2ee/java/ch/elca/el4ant/j2ee/InitTask.java
Sending buildsystem/j2ee/java/ch/elca/el4ant/j2ee/J2eeInitTask.java
Sending buildsystem/j2ee/java/ch/elca/el4ant/j2ee/WarPropertyGenerator.java
Sending buildsystem/j2ee/java/ch/elca/el4ant/j2ee/antlib-j2ee.xml
Deleting buildsystem/j2ee/java/ch/elca/el4ant/j2ee/antlib.xml
Deleting buildsystem/j2ee/java/ch/elca/leaf/buildsystem
Sending buildsystem/j2ee/war-tomcat.xml
Sending buildsystem/j2ee/war-weblogic.xml
Sending buildsystem/j2ee/war.xml
svn: Commit failed (details follow):
svn: File not found: transaction '248-1', path '/trunk/buildsystem/core/java/ch/elca/el4ant/helper/ProjectLoader.java'

 Other files (that does not raise any error) have been processed the same way
 as buildsystem/core/java/ch/elca/el4ant/helper/ProjectLoader.java

 I'm able to do a "diff" on that file:

svn diff buildsystem/core/java/ch/elca/el4ant/helper/ProjectLoader.java
Index: buildsystem/core/java/ch/elca/el4ant/helper/ProjectLoader.java
--- buildsystem/core/java/ch/elca/el4ant/helper/ProjectLoader.java (revision 248)
+++ buildsystem/core/java/ch/elca/el4ant/helper/ProjectLoader.java (working copy)
@@ -17,7 +17,7 @@
-package ch.elca.leaf.buildsystem.helper;
+package ch.elca.el4ant.helper;

 What's the trouble ? How to hack the .svn files to "make it commit" ?

 Thank in advance for any help

Yves Martin
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 1 17:49:00 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.