[EMAIL PROTECTED] on 07/21/2000 12:08:12 PM >Noel L Yap writes: >> >> Is there really a reason why "-A" doesn't work when the update command is >> also given "-D" or "-r"? > >The sticky tag keeps you from doing stupid things accidentally. It >almost never causes a problem unless you get fixated on it. The only >time it gets in the way is when you really do want to throw away some >changes, which is very rare and you want to be very sure it don't do it >by accident, so having to jump through hoops is *good*! Well, what would be the difference among: 1. user0 checks out file at revision 1.1 2. user1 checks in file at revision 1.2 3. user0 modifies file and does "cvs up" and: 1. user0 checks out file at revision 1.1 2. user1 checks in file at revision 1.2 3. user0 does "cvs up" 4. user0 realizes that he really wanted to do "cvs -n up" 5. user0 does "cvs up -r 1.1 -A file" (if it existed) 6. user0 modifies file and does "cvs up" and: 1. user0 checks out file at revision 1.1 2. user1 checks in file at revision 1.2 3. user0 does "cvs up" 4. user0 realizes that he really wanted to do "cvs -n up" 5. user0 does "cvs up -r 1.1 file" 6. user0 modifies file and does "cvs up -A" The outcome should definitely be exactly the same. However the logic for the second series is much more intuitive (IMHO) than the third series since state before the final step is exactly the same as in the first series (ie the final step is exactly the same for the first and second series). Furthermore, the third series requires two invocations of "cvs". Noel Noel This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its subsidiaries and affiliates.
