Actions:
|
2012-01-10 02:15 AEST by Glen Starrett - I've just noticed that if I run a CVS command in a non-cvs directory, it'll
still scan the subdirectories looking for a sandbox. However, if it FINDS a
sandbox, it still doesn't work properly for all commands (which had me wasting
time tracking down traces when the problem was a BCK problem... Between Chair
and Keyboard).
Using the sandbox dir's name in the command from the non-sandbox directory DOES
work, but if you don't specify the name then it still tries... poorly (commit
doesn't work properly with a renamed file, but update will update missing files,
for example).
Note: I was testing some rename scenarios when I noticed this. I don't know if
the commit having a rename was part of this or not, but the instruction in the
eBook specifically shows "cd .." then "cvs commit" in the example, so that's why
this was noted.
>>>>
C:\Users\Glen Starrett\Documents\Test>md not-sandbox
C:\Users\Glen Starrett\Documents\Test>cd not-sandbox
C:\Users\Glen Starrett\Documents\Test\not-sandbox>md dir1 dir2
C:\Users\Glen Starrett\Documents\Test\not-sandbox>cvs up
cvs update: in directory .:
cvs [update aborted]: there is no version here; run 'cvs checkout' first
C:\Users\Glen Starrett\Documents\Test\not-sandbox>cd ..\tst
C:\Users\Glen Starrett\Documents\Test\tst>dir /a
Volume in drive C is OS
Volume Serial Number is 662A-18BA
Directory of C:\Users\Glen Starrett\Documents\Test\tst
01/06/2012 02:01 PM <DIR> .
01/06/2012 02:01 PM <DIR> ..
01/06/2012 02:01 PM <DIR> testcvs
0 File(s) 0 bytes
3 Dir(s) 267,917,881,344 bytes free
C:\Users\Glen Starrett\Documents\Test\tst>cvs up
cvsntsrv server: nothing known about testcvs
? testcvs/find
? testcvs/log.err.txt
? testcvs/log.std.txt
cvsnt server: Updating testcvs
cvsnt server: Updating testcvs/sub
cvsnt server: Updating testcvs/sub2
C:\Users\Glen Starrett\Documents\Test\tst>md tst2
C:\Users\Glen Starrett\Documents\Test\tst>mv testcvs tst2
C:\Users\Glen Starrett\Documents\Test\tst>tree
Folder PATH listing for volume OS
Volume serial number is 662A-18BA
C:.
└───tst2
└───testcvs
├───sub
└───sub2
C:\Users\Glen Starrett\Documents\Test\tst>cvs up
cvs update: in directory .:
cvs [update aborted]: there is no version here; run 'cvs checkout' first
<<<< |