info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Maybe a bug ... or ... am I missing something


From: michael . oeschger
Subject: Maybe a bug ... or ... am I missing something
Date: Wed, 6 Feb 2002 13:57:52 -0800

I ran into a problem with CVS, during exports:

Concurrent Versions System (CVS) 1.11 (client)

Here is the sequence of events:

=> I export the current versions of the project (sapapac_mbo, tag = R_1_1) to a 
test directory (does not exist)
# cvs export -r R_1_1 -d test sapapac_mbo
cvs export: Updating test
U test/V
U test/syscheck
U test/syscheck.diffs
U test/syscheck.pm
=> Check the version of the program (embedded in the code)
# grep "^#V#" test/V
#V# Version 1.6
=> remove the directory
# rm -rf test
=> remove the files that are part of the project from the next target 
directory, which exists and has other files in it
# rm bin/V bin/syscheck bin/syscheck.diffs bin/syscheck.pm
=> export the project, this time to directory bin
# cvs export -r R_1_1 -d bin sapapac_mbo                  
cvs export: Updating bin
U bin/V
U bin/syscheck
U bin/syscheck.diffs
U bin/syscheck.pm
=> Check the version of the program V again (same as before - what it should be)
# grep "^#V#" bin/V
#V# Version 1.6
=> I restore an old copy of the program
# mv bin_old/V bin
=> Check the old version (1.5 - what it should be)
# grep "^#V#" bin/V
#V# Version 1.5
=> export the project again, but this time the files already exist!
# cvs export -r R_1_1 -d bin sapapac_mbo
cvs export: Updating bin
cvs export: move away bin/V; it is in the way
C bin/V
cvs export: move away bin/syscheck; it is in the way
C bin/syscheck
cvs export: move away bin/syscheck.diffs; it is in the way
C bin/syscheck.diffs
cvs export: move away bin/syscheck.pm; it is in the way
C bin/syscheck.pm
=> Check the version of the V program !! 1.5 instead of 1.6 !!
# grep "^#V#" bin/V
#V# Version 1.5

The message that CVS gives me leads me to believe that the old file was removed 
and the new one put in it's place, but that is not the case!?!?

Michael Oeschger


This e-mail transmission is intended only for the use of the individual or 
entity named above and may contain information that is confidential, 
privileged, and exempt from disclosure under applicable law. If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of any of the information contained in this transmission 
is strictly PROHIBITED. If you have received this transmission in error, please 
immediately notify me by e-mail at the above address. Thank you.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]