Adding Files and Directories to the Repository 加入文件和目录到仓库 You do not need to worry about whether a file is ASCII/Text, Unicode/Text, or Binary as TortoiseCVS automatically detects this. For more on how TortoiseCVS handles this see Binary and Unicode Detection. 你不必担心文件是ASCII文本文件还是UNICODE文件或者是二进制文件,TCVS将自动检测。参见 二进制和UNICODE检测来了解TCVS如何处理的www.shengfang.org After an add operation has been performed, the file or files icons appear as "changed". This is because additions are treated as local changes and are not applied to the repository until you Commit them. 增加操作完成以后,文件的图标将变成 改变 的状态,这是因为增加操作是作为本地修改处理的,还没有在仓库中更新,除非你进行提交操作。www.shengfang.org Additionally, you can add a number of files and folders to CVS using the CVS Add Contents... command. This operation recursively descends down the folder structure, and displays all unadded files in the Add Dialog. Here you can check and uncheck the files and folders you wish to add to CVS. 另外,你可以使用 CVS 增加内容 菜单 增加一些文件或者文件夹,这个操作将递归遍历这个目录结构,在增加对话框显示所有没有加入仓库的文件。你可以根据需要选择或者去除文件目录,从而把你想要的加入仓库 Figure 2.7. Add Contents Dialog For more information see Adding New Files: CVS Add and CVS Add Contents.... 参见 增加新文件 增加。。增加内容 Creating a New Repository or Module创建新仓库或模块www.shengfang.org To create a new repository and/or module prepare the folders and files locally as a new sandbox. Right-click on the top level folder for your new module or repository and choose the CVS → Make New Module... menu item. The Make New Module Dialog will be displayed. Enter the details for the new or existing CVS repository as you would for a Checkout. Click OK to create the new module. 新建一个仓库或者模块的准备条件,首先准备本地文件或者目录作为一个新的沙盒,在你的新模块或者仓库最顶层目录右键,选择 CVS-创建新模块 菜单项,新模块对话框将会弹出,输入准备新建或者已经存在地CVS仓库详细信息,类似你取出时的信息,点击确定创建新模块Figure 3.1. Make New Module Dialogwww.shengfang.org
Once TortoiseCVS has either created a new or connected an existing CVS repository the new module will be created. By default TortoiseCVS uses the name of the selected folder for the new module's name, but you can change this by modifying the Module textbox. 只有TCVS已经创建一个新仓库或者连接到了一个已经存在地仓库,TCVS才能创建新模块。默认TCVS使用选择的目录名作为新模块名称。你可以在 模块 文本框中修改它www.shengfang.org 字体:大 中 小 |
![]() | 永久地址 http://www.shengfang.org/blog/p/tcvshlpadd.php |
![]() | 引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1120571589 |
2005年7月5日21:53星期二 [English]







