首页 Soft PlugIn RAN乱 Dev开发 Info资料 English WAP 留言 登陆 注册
-
Posted by Yippee | 评论(0) | 引用(2) | 阅读2015次
TortoiseCVS中文帮助-文件检测

Binary and Unicode Detection 二进制和UNICODE检测
TortoiseCVS tries to automatically detect the type of file you are adding to CVS. It can detect whether the file is Text/ASCII, Text/Unicode, or Binary. TortoiseCVS first checks the file extension to determine whether the file is Binary or Text. For example .doc and .exe, are always assumed to be Binary while other extensions, such as .cpp and .txt, are always assumed to be text. TortoiseCVS does this using a built-in list of Binary and Text extensions which includes most the common file extensions. To customize this list, you can copy the file TortoiseCVS.FileTypes from the TortoiseCVS installation directory to your HOME directory and edit it for your needs. TCVS尝试自动检测你加入CVS的文件类型。它能够检测文件是文本ASCII,文本UNICODE,或者BIN二进制文件,TCVS首先检查文件的扩展名来判断是二进制还是文本。例如DOC和EXE,通常被认为是二进制文件,www.shengfang.org其他扩展名,例如CPP、TXT,通常认为是文本文件。TCVS使用的内建的二进制或者文本扩展名的列表,包含了大多数常见的文件扩展名。如果需要定制这个列表,你可以复制文件 TORTOISECVS.FILETYPES 从 TCVS 的安装目录到你的 HOME 目录,并根据你的修养修改。

By default TortoiseCVS will also examine the first 4000 bytes of a file to determine the type. This is used in cases where the file extension is not known. These first few bytes are also used to determine whether the file is Text/ASCII or Text/Unicode. TCVS在文件扩展名不不能确定的情况下,将检查文件的前4000BYTE来确定类型。这些BYTE还能够用于检测文件是ASCII 文本还是UNICODE文本。

TortoiseCVS also provides a sophisticated plugin mechanisim that you can implement a DLL to perform the file type detection. The details of this plugin interface is also available in the FileTypes.config. TCVS还提供了一个成熟的插件机制,你可以实现一个DLL来完成文件类型检测。插件接口的详细信息FileTypes.config.

In all cases, the Add Dialog presents the files you are about to add their file types, so that you have a chance to correct the choices made. 在所有情况下,增加文件对话框显示你增加的文件的文件类型,因此你可以有机会校正。

File Revision History 文件版本历史记录www.shengfang.org
TortoiseCVS provides two methods of reviewing and working with the history of a file. The first is via the History Dialog. TCVS提供两种方法查看和处理文件的历史记录,第一个称为 历史对话框

History Dialog历史对话框
You can view a file's history by selecting it and right-clicking CVS → History. 选择一个文件右键点击 CVS-历史,你可以查看文件的历史Figure 3.7. History Dialog

The History Dialog will show a log of the revisions, tags, and branches for the selected file. It will also offer you the opportunity, by right-clicking on a specific revision, tag, or branch, to diff, save the revision locally, or update with sticky tags (an advanced CVS concept; usually, the save option is preferable to a sticky update). You can also edit any current or previous commit message by clicking on a revision and typing into the text area at the bottom of the window (remember to click Apply before moving to a new revision). 历史对话框显示文件版本、标签、分支等记录,你还可以右键选择特定的条目进行比较,www.shengfang.org另存或者附着标签更新,一个高级的CVS概念,通常保存比附着更新更好。你还可以修改任意一次的提交信息,选择一个版本,在窗体最下方文本框输入新的信息,记得点击应用按钮进行保存。这样你选择另外一个新版本的时候信息不会丢失。

Revision Graph Dialog版本图对话框
TortoiseCVS also provides a Revision Graph Dialog to graphically show you the history of a file. You can view a file's revision graph by selecting it and right-clicking CVS → Revision Graph.TCVS还提供了一个版本图对话框,显示文件的所有历史。选择文件,右键,CVS-版本分支图。Figure 3.8. Revision Graph Dialog

Like the History Dialog, the Revision Graph Dialog will allow you to see the details for and perform CVS operations on any revision, tag, or branch. www.shengfang.org如同历史对话框,版本分支图显示文件的详细信息以及让你进行CVS操作。

If your CVS server runs CVSNT, you will also be able to see which merge operations have been performed on the file: A purple arrow is drawn from the source revision to the destination revision (see Mergepoints). 如果你的CVS服务器端是CVSNT,你还将能够看到文件的合并操作,一个紫色的箭头从源版本指向目的版本,参见 合并点。www.shengfang.org


字体:

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

2005年7月10日02:54星期日  [English] 追踪此文的RSS
提示:
此文还没有评论。

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



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

公告
Fire and Motion!

统计信息
[Yippee]||[统计]||日志:1839
在线: 15||用户: 2576 [列表]
今日:2238||到访:2854092
Rss:885225||评论:1604

最新日志

最新评论

友情链接

日历

最新引用

搜索

归档

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