Issue #25 resolved

Error renaming a directory

John Peberdy avatarJohn Peberdy created an issue
java.lang.IllegalStateException: pathLength not even
	at com.aragost.javahg.internals.CopyRenameHelper.parseCopyLine(CopyRenameHelper.java:75)
	at com.aragost.javahg.internals.CopyRenameHelper.parse(CopyRenameHelper.java:36)
	at com.aragost.javahg.commands.RenameCommand.execute(RenameCommand.java:76)
	at com.vectrace.MercurialEclipse.commands.HgRenameClient.renameResource(HgRenameClient.java:44)
	at com.vectrace.MercurialEclipse.team.HgMoveDeleteHook.moveHgFiles(HgMoveDeleteHook.java:397)
	at com.vectrace.MercurialEclipse.team.HgMoveDeleteHook.moveFolder(HgMoveDeleteHook.java:353)
	at org.eclipse.team.internal.core.MoveDeleteManager.moveFolder(MoveDeleteManager.java:100)
	at org.eclipse.core.internal.resources.Resource.unprotectedMove(Resource.java:1965)
	at org.eclipse.core.internal.resources.Resource.move(Resource.java:1591)
	at org.eclipse.ltk.core.refactoring.resource.RenameResourceChange.perform(RenameResourceChange.java:123)
	at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:278)
	at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:258)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
	at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:306)
	at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(UIPerformChangeOperation.java:92)
	at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:218)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
	at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

Comments (2)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.