I have a Subversion tree that only has some directories public. The last directory is only available for user "me".
/trunk/public1
/trunk/public2
/trunk/private1
When I do a checkout of trunk
, I get /public1
and /public2
, but not /private1
. I'm not asked for my credentials, because Subversion sees it can automatically check out the public directories.
- How do I force Subversion to check out this directory as "me" so I can get all the directories? I had assumed this would be as easy as adding
--username
on the command line---but that doesn't work! - But what if I've already checked out this directory structure and only have the public directories? I've already switched to use "me" because I can do commits with no problem. But whatever I do, the
/private1
directory does not show up. How can I update my local copy with the private directory?
What makes this even stranger is that I can do (inside the directory):
svn update private1
and Subversion apparently succeeds with no errors or warnings---but I still don't get the directory. (of course I can also update private2
, which doesn't exist, and still get no errors or warnings, so I guess this doesn't mean anything.)
Here is the relevant parts of my Subversion authorization file on Apache:
[groups]
developers=me
[foo:/trunk]
@developers=rw
*=r
[foo:/trunk/private1]
@developers=rw
*=
I can browser to /trunk/private1
just fine using my browser over WebDAV (after I enter the correct credentials for user "me").