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.
Every time I attempt to import a directory containing sources I receive the following error: cvs [import aborted]: tag `-m' must start with a letter Steps taken to produce error: 1. I right-click on a folder mounted under a CVS filesystem and choose CVS->Import. 2. I fill in the information under the CVS window that pops up and click OK. The command line it is trying to execute is: cmd /X /C "cd /D \"C:\development\\\.\"&& cd /D \"guestbook\"&& \"C:\cygwin\bin\cvs.exe\" -d \":ext:user1@home.com:/home/cvsroot\" -f -z 6 import -I lib target xdocs -m \"Initial import of guestbook\" \"guest\" home guest-0_0_0 " The problem seems to be it does not automatically quote the ignore ("-I") portion. There are at least two workarounds that work for me: 1. Within the cvs popup window, for the ignore field I quote the entire line myself. For example: File to Ignore: \"blah1 blah2 blah3\" 2. I add the extra ignore switches: File to Ignore: blah1 -I blah2 -I blah3 I have found it necessary to use the backslash+quote (\") method when utilizing wildcards. For example: File to Ignore: \"blah1 blah2 blah3 .blah*\" Otherwise, it will produce the same error about the "-m" switch initially noted. BTW, the IDE runs on Windows2000, but the cvs repository is located on a Red Hat Linux system. Thanks.
You're right, the argument that is passed to -I should be quoted. This is a bug in the CVS profiles.
Fixed in the main trunk and prj40_prototype branch: Checking in cvsUnix.xml; /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/cvsUnix.xml,v <-- cvsUnix.xml new revision: 1.33; previous revision: 1.32 done Checking in cvsWin.xml; /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/cvsWin.xml,v <-- cvsWin.xml new revision: 1.37; previous revision: 1.36 done Checking in cvsWin98.xml; /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/cvsWin98.xml,v <-- cvsWin98.xml new revision: 1.37; previous revision: 1.36 done Checking in cvs.xml; /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/Attic/cvs.xml,v <-- cvs.xml new revision: 1.1.2.4; previous revision: 1.1.2.3 done
Okay, works fine in development build #200310130100 of NetBeans 4.0 thus verifying.
Confirmed as fixed in Sun ONE Studio 5.0 patched with Update 1.
Fixed also in Nevada Patch 1 and in Arrow. (and confirmed verified by Jirka above...)