Re: Re: Can't check out a freshly imported module
Gerhard Fiedler <[email protected]> Sat, 18 Oct 2008 09:46:21 -0300
| Newsgroups | gmane.comp.version-control.cvs.gui.user |
|---|---|
| Message-ID | <[email protected]> |
avatarflier wrote:
> This looks like a documentation error, so how do I checkout a working
> directory that doesn't exist in the unix repository?
You don't. For a normal user to be able to use a repository, there needs
to be at least one directory ("module") in the repo, besides CVSROOT
(which is always there).
How this gets there is by a repo admin:
- Check out CVSROOT (which is the one "module" that's always there).
This creates a local sandbox. (You need to be repo admin to be able to
check out CVSROOT.)
Repo:
(root)
+ CVSROOT/
Sandbox:
(root)
+ CVSROOT/
- Create a dir in that sandbox.
Sandbox:
(root)
+ CVSROOT/
+ MyFirstModule/
- Create a file in it.
Sandbox:
(root)
+ CVSROOT/
+ MyFirstModule/
- MyFirstFile.txt
- Add both (the dir, then the file).
- Commit (the new file or the new dir; it doesn't matter here).
At this point there is a new module with a file in the repo, and normal
users can check out the new module. This gives them a local sandbox,
from which they can continue adding other modules and files.
When you want to work on a new module only, you still need to check out
/something/ first, so that you have a local sandbox that allows you to
add directories and files to the repo.
Gerhard
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/cvsgui/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/cvsgui/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/