Bug 55630

Summary: Bug in check for checkout-into-repository
Product: [Retired] Red Hat Linux Reporter: Havoc Pennington <hp>
Component: cvsAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-10 13:13:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Havoc Pennington 2001-11-03 05:02:30 UTC
If your CVSROOT is say "anoncvs.org:/cvs" and your 
local directory you're trying to check out into is "/cvs/whatever", 
then CVS barfs claiming "cvs [checkout aborted]: Cannot check out files
into the repository itself", but the local dir is not the repository, it is
a local directory. Appears to be a not-smart-enough strcmp ("/cvs", "/cvs") 
check.

Comment 1 Havoc Pennington 2001-11-03 05:03:20 UTC
The extra-funny thing is that if you specify the CVSROOT with a slash on the end, 
"/cvs/" instead of "/cvs", then that tricks CVS into working properly. ;-)