bug-cvs
[Top][All Lists]
Advanced

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

cvsbug2


From: Paul Edwards
Subject: cvsbug2
Date: Mon, 23 Dec 2002 20:51:39 +1100

Submitter-Id:   net
Originator:     Paul Edwards
Confidential:  no
Synopsis:  failure to retrieve directory via alias
Severity:  serious
Priority: medium
Category:  cvs
Class: sw-bug
Release:   cvs-1.11
Environment:
        <machine, os, target, libraries (multiple lines)>
System: SunOS ecs1syd2 5.8 Generic_108528-15 sun4u sparc
SUNW,Ultra-Enterprise
Architecture: sun4

Description:
 If you run the script below, you will find that you get the
 error shown in "output".  cvs doesn't like the lower level
 directory being retrieved before the higher level.
How-To-Repeat:
 run the below script.
Fix:
 delete checked out directories, then check out high level, then
 low level.

replace "w3.to" with "bigpond.net.au" to get a more reliable
reply address for kerravon

And note, this problem, like the last, occurs in both CVS 1.10
and 1.11, so they are long-standing bugs.

BFN.  Paul.


Directory name "/repository" is only thing not "true".

# assuming tempyyy is an alias set to tempxxx

tail -1 $CVSROOT/CVSROOT/modules
rm -fr $CVSROOT/tempxxx
mkdir tempxxx
cd tempxxx
mkdir abc
echo "fred" >fred.txt
echo "mary" >abc/mary.txt
cvs import -k o -m initial tempxxx user initial
cd ..
rm -fr tempxxx
cvs get tempyyy/abc
cvs get tempyyy
rm -fr tempyyy

output:
tempyyy tempxxx
/tmp/paul/tempxxx
N tempxxx/fred.txt
cvs import: Importing /repository/tempxxx/abc
N tempxxx/abc/mary.txt

No conflicts created by this import

cvs checkout: Updating tempyyy/abc
U tempyyy/abc/mary.txt
cvs checkout: existing repository /repository/CVSROOT/Emptydir does not
match /repository/tempxxx
cvs checkout: ignoring module tempyyy




reply via email to

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