首页 Soft PlugIn RAN乱 Dev开发 Info资料 English WAP 留言 登陆 注册
-
Posted by Yippee | 评论(3) | 引用(0) | 阅读2691次
TortoiseCVS中文帮助-加入文件和目录到仓库

Adding Files and Directories to the Repository 加入文件和目录到仓库
If you have made new files or directories you will notice that they appear with the Not In CVS status icon overlay (see Windows Explorer and TortoiseCVS). To put new files or folders under CVS control select the item(s) that you want to add, right-click and choose CVS Add from context menu to schedule the addition. The Add Dialog is displayed so you can verify the file you are adding. 如果你新建了文件或者目录,www.shengfang.org你将注意到他们显示的是不在CVS控制状态的叠加图标。参见 资源管理器和TCVS。选择你想要加入CVS控制的新文件和目录,点击右键,在关联菜单中选择 CVS 增加 菜单 开始加入操作。增加对话框将显示出来,你可以在此确认你想要增加的文件 Figure 2.6. Add Dialog

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
Typically a System Administrator will setup the CVS repository on a remote server. TortoiseCVS, however, can configure repositories and modules either locally or remotely (if you have to correct permissions). 系统管理员应该在远端服务器设置CVS仓库,TCVS能够配置仓库和模块,无论是本地还是远程,如果你有适当地权限

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


If the remote CVS server could be reached but the CVS repository does not exists, you will be presented with the following question: 如果远端CVS服务器检测到CVS仓库不存在,TCVS将弹出一个询问对话框 Figure 3.2. Make New Repository Question 创建新仓库询问www.shengfang.org
To create the new repository enable the checkbox Initialise a new repository here and click OK. If you have the right permissions on the remote server TortoiseCVS will setup the new repository. 选择初始化一个新仓库以便创建一个新仓库,点击确定。如果你有足够的权限,TCVS将创建一个新的仓库。www.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


字体:

Permanant URI永久地址 http://www.shengfang.org/blog/p/tcvshlpadd.php
Trackback URI引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1120571589

2005年7月5日21:53星期二  [English] 追踪此文的RSS
bird在 2005年8月31日12:12星期三 评论:
3ks,我觉得他应该向phpgacl判断角色权限一样,递归到最底层再返回结果,而不是碰到被拒绝就over了。Emotion
Yippee 回复于 2005年8月31日12:39
我也是觉得这么比较正常,下午我会实验一下,看看有没有什么办法~

bird在 2005年8月31日11:29星期三 评论:
请教高手一个问题:我使用CVSNT在代码库目录设置了访问权限,某些人只有底层几个目录的读写权限;在客户端用TortoiseCVS得要一个一个的取出,而且取出路径非常复杂,也不能一起更新;不知道你有没有碰到类似的问题,有没有方法解决??急等。。
Yippee 回复于 2005年8月31日12:09
我一般没有分配权限,因为我遵循XP开发,我查了一些资料,这个基本上没有办法。不过一般我都会分目录更新,这样提交比较明细一些。

bird在 2005年8月31日11:26星期三 评论:
??

称呼:    登陆   注册
   不注册,但记住我的信息
邮件:
(非必须)
评论: [UBB代码帮助]
粗体 斜体 下划线 链接 水平线 引用



验证码: 请输入你看见的数字
关闭UBB      提交时自动将内容复制到剪贴板

公告
Fire and Motion!

统计信息
[Yippee]||[统计]||日志:1858
在线: 12||用户: 2577 [列表]
今日:405||到访:2886469
Rss:897749||评论:1605

最新日志

最新评论

友情链接

日历
2008 - 08
     12
3456789
10111213141516
17181920212223
24252627282930
31      

最新引用

搜索

归档

杂项
Get RSS Feed (Version 2.0)
Get Atom Feed (Version 0.3)
编码:  UTF-8