[cvsnt] cvs release -d -y not working...

Jurko Gospodnetiæ mangled at to.avoid.spam
Sun Sep 10 22:31:28 BST 2006


  Hi all.

  [Using CVSNT 2.5.03 build 2382 on both server and client. Server
running on Win2003 and client running on WinXP SP2, both with full
updates applied.]

  Just wanted to report a possible tiny bug.

  If you want to release a module and do
'cvs release -d module' CVSNT asks you whether you
want to release and delete that module and if you say 'y'
it does its work.

  But if you try to specify the -y option then it seems to
enter 'y' as the answer to the previous question but also
says that release has been aborted by user chice.

  Here's a complete command line cvs session transcript:

C:\Documents and Settings\Jurko\Desktop\a>dir /a
 Volume in drive C is Windows_XP
 Volume Serial Number is 3034-8EC2

 Directory of C:\Documents and Settings\Jurko\Desktop\a

10.09.2006  23:13    <DIR>          .
10.09.2006  23:13    <DIR>          ..
10.09.2006  22:14               715 abla
10.09.2006  23:13    <DIR>          CVS
10.09.2006  23:13    <DIR>          folder
06.07.2006  12:44             3.250 lista_.cpp
06.07.2006  12:44               940 lista_.hpp
06.07.2006  12:44               925 ListImplementation.sln
06.07.2006  13:30             7.680 ListImplementation.suo
06.07.2006  12:44             3.387 ListImplementation.vcproj
06.07.2006  12:44               770 main_.cpp
10.09.2006  22:12             1.226 todo.txt
               8 File(s)         18.893 bytes
               4 Dir(s)  13.575.081.984 bytes free

--->There is no user interaction in the following command.

C:\Documents and Settings\Jurko\Desktop\a>cvs release -d -y folder
Are you sure you want to release (and delete) directory 'folder': y
** `release' aborted by user choice.

C:\Documents and Settings\Jurko\Desktop\a>dir /a
 Volume in drive C is Windows_XP
 Volume Serial Number is 3034-8EC2

 Directory of C:\Documents and Settings\Jurko\Desktop\a

10.09.2006  23:13    <DIR>          .
10.09.2006  23:13    <DIR>          ..
10.09.2006  22:14               715 abla
10.09.2006  23:13    <DIR>          CVS
10.09.2006  23:13    <DIR>          folder
06.07.2006  12:44             3.250 lista_.cpp
06.07.2006  12:44               940 lista_.hpp
06.07.2006  12:44               925 ListImplementation.sln
06.07.2006  13:30             7.680 ListImplementation.suo
06.07.2006  12:44             3.387 ListImplementation.vcproj
06.07.2006  12:44               770 main_.cpp
10.09.2006  22:12             1.226 todo.txt
               8 File(s)         18.893 bytes
               4 Dir(s)  13.575.081.984 bytes free

--->As you can see the folder module did not get deleted.

--->I entered 'y' interactively in the following command.
--->Similar effect may be achieved by running a
       'echo y | cvs release -d folder' command.

C:\Documents and Settings\Jurko\Desktop\a>cvs release -d folder
Are you sure you want to release (and delete) directory 'folder': y

--->Now the folder module did get deleted as expected.

C:\Documents and Settings\Jurko\Desktop\a>dir /a
 Volume in drive C is Windows_XP
 Volume Serial Number is 3034-8EC2

 Directory of C:\Documents and Settings\Jurko\Desktop\a

10.09.2006  23:20    <DIR>          .
10.09.2006  23:20    <DIR>          ..
10.09.2006  22:14               715 abla
10.09.2006  23:20    <DIR>          CVS
06.07.2006  12:44             3.250 lista_.cpp
06.07.2006  12:44               940 lista_.hpp
06.07.2006  12:44               925 ListImplementation.sln
06.07.2006  13:30             7.680 ListImplementation.suo
06.07.2006  12:44             3.387 ListImplementation.vcproj
06.07.2006  12:44               770 main_.cpp
10.09.2006  22:12             1.226 todo.txt
               8 File(s)         18.893 bytes
               3 Dir(s)  13.575.086.080 bytes free

C:\Documents and Settings\Jurko\Desktop\a>

  Hope this helps...

  Best regards,
    Jurko Gospodnetiæ




More information about the cvsnt mailing list