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 119718 - svn does not handle move/rename of file NOT under source control
Summary: svn does not handle move/rename of file NOT under source control
Status: RESOLVED DUPLICATE of bug 113508
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-23 05:29 UTC by Marco Walther
Modified: 2007-10-23 08:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Walther 2007-10-23 05:29:23 UTC
Build from source 20070817, sorry I did not update lately.

Create a file in an SVN controlled directory. I normally do a Ctrl-C on a File and Ctrl-V on the directory. Now the 
new file has a name like foo_1.ext. Right-click and try to rename that file. --> Exception:-(

SEVERE [global]
org.tigris.subversion.svnclientadapter.commandline.CmdLineException: 
svn: '/export/home/marcow/bbc/tmp/trunk/junction/app/views/lists/show_1.rhtml' is not under version control

        at org.tigris.subversion.svnclientadapter.commandline.CommandLine.execString(CommandLine.java:195)
        at org.tigris.subversion.svnclientadapter.commandline.SvnCommandLine.move(SvnCommandLine.java:580)
        at org.tigris.subversion.svnclientadapter.commandline.CmdLineClientAdapter.move(CmdLineClientAdapter.java:466)
Caused: org.tigris.subversion.svnclientadapter.SVNClientException
        at org.tigris.subversion.svnclientadapter.SVNClientException.wrapException(SVNClientException.java:87)
        at org.tigris.subversion.svnclientadapter.commandline.CmdLineClientAdapter.move(CmdLineClientAdapter.java:468)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.netbeans.modules.subversion.client.SvnClientInvocationHandler.handle(SvnClientInvocationHandler.java:193)
        at 
org.netbeans.modules.subversion.client.SvnCmdLineClientInvocationHandler.invokeMethod(SvnCmdLineClientInvocationHandler.java:60)
        at 
org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invoke(SvnClientInvocationHandler.java:125)
        at $Proxy10.move(Unknown Source)
        at org.netbeans.modules.subversion.FilesystemHandler.svnMoveImplementation(FilesystemHandler.java:285)
Caused: java.io.IOException: Subversion failed to 
rename /export/home/marcow/bbc/tmp/trunk/junction/app/views/lists/show_1.rhtml 
to: /export/home/marcow/bbc/tmp/trunk/junction/app/views/lists/archive.rhtml
        at org.netbeans.modules.subversion.FilesystemHandler.svnMoveImplementation(FilesystemHandler.java:301)
        at org.netbeans.modules.subversion.FilesystemHandler.access$100(FilesystemHandler.java:42)

The exception is correct (the file is NOT yet under SVN control), but the code should still be able to rename the 
file. Now I'll have to go in there from a shell prompt and rename the file.
Comment 1 Tomas Stupka 2007-10-23 08:15:53 UTC

*** This issue has been marked as a duplicate of 113508 ***