There may be simpler ways than this, but here is a plan. Copy the files you want to put in the repository to a new import directory tree. Also copy everything to a backup directory. Then import from the import directory and checkout to the root containing an empty directory named the same as the project. Then refresh the missing files in the project directory from the backup directory, or just copy everything and let WinCVS sort it out on the next update. Import actually copies files to the server, adds the entire tree and commits it in one step. The first checkout copies them all back. Any junk you let be committed during the import will physically be in the repository forever, so prune the import directory before you import and be careful with the text/binary filters. You have to get them right first time. If you are clever you can pull this off with renaming and copying just the project CVS directory around which contains no absolute references to where on your disk the project tree is. WinCVS tracks several copies of the same project checked out on the same disk. Keep an eye on the absolute directory status line to be sure you are working on the copy you think you are. In any case, do a backup before you start. You could get confused and delete the wrong copy. Be very sure you have all the files.
WinCVS show Buttons | ||||
---|---|---|---|---|
Icon | Name | Purpose | Mnemonic | |
Show Committable | Show changed, added and removed files, all of which are ready to be committed. Pressing this presses the Changed, Added and Removed buttons for you. If you want to see the files that have already been committed, as well as those yet to be committed, unpress all the buttons. | The arrow signifies stuff that needs to go to the repository. | ||
Show Changed | Show files that have changed, but have not yet been committed. | The lines of text are bright, signifying they have changed. This icon is very bland. Changes to files are ordinary. | ||
Show Added | files added, but not yet committed. | A for added. | ||
Show Removed | files removed, but not yet committed. | X for removed | ||
Show Conflicts | Show files that need manual editing to merge updates from two different people. | C for Conflicts, not Changed. | ||
Show Unknown | Show new files that have not been added yet. | Magnifying glass signifies you want to look at the ? unknown. | ||
Hide Unknown | Hide new files that have not been added yet, files as yet unknown to CVS, but probably should be and reveal everything else, even stuff that has not been commited. The show unknown and hide unknown buttons have three possible combinations of on/off. Try them all to notice the effects. | X indicates you don’t want to see the ? unknown files. | ||
Show Missing | Show files that you improperly deleted, rather than using remove to remove them from the repository as well. | Broken line signifies missing files. This icon is hard to read. Just remember it is just to the left of the easy to pick out ignored icon. | ||
Show Ignored | Show files that cvsignore says you never want to put in the repository. | Bold blue slash is same symbol that WinCVS uses to mark file cvsignore says don’t belong in the repository. | ||
Refresh | Refresh the display. Usually happens automatically if other programs change the files. | Looks like a recycle symbol. |
This page is posted |
http://mindprod.com/jgloss/wincvs.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\wincvs.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.145.68.167] |
| |
Feedback |
You are visitor number | |