news <news@sea.gmane.org> wrote on 10/07/2005 03:14:17 PM:
> 1 have a versioned Java project.
> 2 right-click on a package and do Refactor -> Rename, rename it.
> => Subclipse marks for deletion all the old files and for addition a
> copy of them, under the new directory.
> (This only seems to work with a top-level package, renaming a sublevel
> package (i.e. one which does not contain classes, only other packages)
> just makes a new one with the new name, the old package stays there with
> all its classes -> Eclipse bug?)
When a folder is "deleted" it stays on your system until it is committed.
> 3 (This seems to be the step which causes the problem:) Edit one of the
> moved files, even if it is only a minor deleting of a word.
> 4 Try a commit.
> 5 Get the error:
> Transaction is out of date
> svn: Commit failed (details follow):
> svn: Out of date: '/trunk/MSO/de/unituebingen/sfb/macke/formulas' in
> transaction '37-1'
I do not think #5 has anything to do with #3. That error message is
common. When you delete/move/rename a folder (or change its properties)
the folder can only be committed if it is at the HEAD revision. So you
should right-click on the project and do Team -> Update. Depending on
what you receive, then do Team -> Commit.
> If I don't edit after the renaming, i.e. leave out step three, then it
> seems to work fine. Trying cleanup and another commit gives me the
error:
> Filesystem is corrupt
> svn: Commit failed (details follow):
> svn: Invalid change ordering: new node revision ID without delete
>
> And this one keeps coming.
This might have something to do with where you do commit. When doing
refactoring, I would suggest always doing Team -> Commit from the project
level so that all aspects of the refactoring can be committed in the same
transaction.
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Sat Oct 8 05:26:54 2005