This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 185802 - [69cat] Cleanup Working Copy doesn't work
Summary: [69cat] Cleanup Working Copy doesn't work
Status: RESOLVED INCOMPLETE
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-09 17:44 UTC by ulfzibis
Modified: 2010-07-30 10:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot (135.56 KB, image/png)
2010-05-09 17:46 UTC, ulfzibis
Details
zipped logs (107.31 KB, application/x-zip-compressed)
2010-05-27 22:22 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2010-05-09 17:44:47 UTC
[ BUILD # : 201005050200 ]
[ JDK VERSION : 1.6.* ]

- after renaming some folders (scr_* --> src_*)  commit failed, so I tried
"Cleanup Working copy"
- commit failed again (see attachment)
- I had to run update to make the commit run successfully
Comment 1 ulfzibis 2010-05-09 17:46:21 UTC
Created attachment 98689 [details]
Screen shot
Comment 3 Ondrej Vrabec 2010-05-09 18:08:28 UTC
Cleanup working copy just calls a single svn command (svn cleanup). I am affraid that's not our fault that the command did not repair your WC.

I am more interested in why you needed to use the command. How exactly did you rename the folder? In the IDE, with external tool?
Comment 4 ulfzibis 2010-05-10 22:37:15 UTC
I renamed inside the IDE.
After creating 2 new config properties files I recognized the error in the naming, because project didn't run.
IIRC I first then renamed the folders.
After I corrected the entries in project.xml and project.properties.
Then after save I run the project. (Needed some corrections again)
Then I started the commit, got the same (at least similar) error as shown in the screenshot and hit Cleanup.
After a new commit I documented the error in the screenshot.
Comment 5 Ondrej Vrabec 2010-05-13 13:12:43 UTC
It seems that when you renamed scr_sherman0 to src_sherman0, the old folder was somehow deleted from disk (or at least it's .svn metadata), which should never happen. When renaming, the old folder has to exist until it's committed.

I am not able to reproduce this. I tried renaming scr_sherman0 -> src_sherman0 back and forth in Files and in Favorites view, i tried to build the project but still was not able to get to the same state as you.
Please do you remember the exact steps how you renamed the folders (in what view, did you rename the folder by renaming its node in the view, did you use Refactor->rename, etc.)?
And i am afraid that without the message log there's no help in reproducing your problem (subversion usually logs all failed commands with detailed message), do you by any chance still have it?

Are you able to reproduce?
Comment 6 ulfzibis 2010-05-27 22:22:28 UTC
Created attachment 99575 [details]
zipped logs

(In reply to comment #5)
Due to the mailing disaster I missed answering earlier :-( .

> I am not able to reproduce this. I tried renaming scr_sherman0 -> src_sherman0
> back and forth in Files and in Favorites view, i tried to build the project but
> still was not able to get to the same state as you.
> Please do you remember the exact steps how you renamed the folders (in what
> view, did you rename the folder by renaming its node in the view, did you use
> Refactor->rename, etc.)?
IIRC, yes.

Hopefully the attached logs are not overwritten.
Comment 7 Ondrej Vrabec 2010-05-28 06:26:35 UTC
Sadly the oldest message log is from May 10, so they were no help. If you run into this again, please save the message log for us.

>> I am not able to reproduce this. I tried renaming scr_sherman0 -> src_sherman0
>> back and forth in Files and in Favorites view, i tried to build the project >> but still was not able to get to the same state as you.
>> Please do you remember the exact steps how you renamed the folders (in what
>> view, did you rename the folder by renaming its node in the view, did you use
>> Refactor->rename, etc.)?
>IIRC, yes.
Try to describe the scenario, then. I'll try to repeat the steps and see if i am able to reproduce.
Comment 8 Ondrej Vrabec 2010-07-30 10:17:32 UTC
cannot reproduce, i tried several times, but with no luck. The message log is really needed to solve this out.