SlideShare a Scribd company logo
1 of 7
Download to read offline
利用 sourceforge 或者 Google Code
的 SVN 显示 Html 页面 (OSSEZ) CHS
技术参考, 2012-05-24



Author:
          YUCHENG HU, OSSEZ LLC




OSSEZ.COM-v1.2-Technology.ott     2012-05-24
版权所有 © OSSEZ LLC 2006 - 2012            1/7
备忘

Copyright © OSSEZ LLC 2006–2011. 版权所有

技术支持:
    http://www.ossez.com
       http://wiki.ossez.com


知识产权:
    OSS 计算技术
       OSSEZ (中国) 信息技术有限公司及作者持有本文档的所有权


相关工作:
    技术文档格式化版本


版本历史:
       Version       Date         Author             Description

         1.1      2012-05-24    YUCHENG HU   创建新版本



电子版:
       N/A


       http://www.ossez.com


       ODT 发行版本




OSSEZ.COM-v1.2-Technology.ott                                      2012-05-24
版权所有 © OSSEZ LLC 2006 - 2012                                             2/7
目 录
1 配置.............................................................................................................................................. 4
    1.1 单一定义文件........................................................................................................................ 4
    1.2 设置所有文件........................................................................................................................ 5




OSSEZ.COM-v1.2-Technology.ott                                                                                                        2012-05-24
版权所有 © OSSEZ LLC 2006 - 2012                                                                                                               3/7
1 配置
不只适用与 google code 还适用于 sourceforge.net。

演示地址 googlecode:
https://ossdocs.googlecode.com/svn/trunk/xhtml/enterprise-erp-
crm/vtiger/vtiger_tutorials/mainp.html

适用 TortoiseSVN:


1.1 单一定义文件

右键你想修改属性的 html 文件,然后选【TortoiseSVN】→【Properties (中文一
般为【属性】)】然后就会看到 Properties 界面,然后点击【新建(快捷键 N)】
选择【高级(快捷键 A)】然后弹出高级选项卡,选择属性【svn:mime-type】,
然后添加值为 text/html,然后确定重新同步下就可以了。




OSSEZ.COM-v1.2-Technology.ott                                    2012-05-24
版权所有 © OSSEZ LLC 2006 - 2012                                           4/7
1    *.htm* = svn:mime-type=text/html
2    *.png = svn:mime-type=image/png
3    *.jpg = svn:mime-type=image/jpeg
4    *.gif = svn:mime-type=image/gif
5    *.css = svn:mime-type=text/css
6    *.js = svn:mime-type=text/javascript
7    *.xml = svn:mime-type=text/xml


     1.2 设置所有文件

     点右键进入【TortoiseSVN】的【设置】会弹出设置选线卡【常规设置】里的右边
     右下角位置有个【编辑】按键,点击编辑对全局配置文件进行编辑。

     查找配置文件中[miscellany]在下面加入:

 8   [miscellany]
 9   global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store .cvsignore
10   Thumbs.db CVS
11   use-commit-times = yes
12   enable-auto-props = yes




     查找配置文件中[auto-props]在下面加入:




     OSSEZ.COM-v1.2-Technology.ott                                           2012-05-24
     版权所有 © OSSEZ LLC 2006 - 2012                                                  5/7
13   ### Section for configuring automatic properties.
14   [auto-props]
15   ### The format of the entries is:
16   ### file-name-pattern = propname[=value][;propname[=value]...]
17   ### The file-name-pattern can contain wildcards (such as '*' and
18   ### '?'). All entries which match will be applied to the file.
19   ### Note that auto-props functionality must be enabled, which
20   ### is typically done by setting the 'enable-auto-props' option.
21
22   ##################################################
23   ### Binary files
24   ##################################################
25   *.bmp = svn:mime-type=image/bmp
26   *.gif = svn:mime-type=image/gif
27   *.gz = svn:mime-type=application/x-gzip
28   *.ico = svn:mime-type=image/x-icon
29   *.jar = svn:mime-type=application/zip
30   *.jpg = svn:mime-type=image/jpeg
31   *.pdf = svn:mime-type=application/pdf
32   *.png = svn:mime-type=image/png
33   *.ps = svn:mime-type=application/postscript
34   *.tif = svn:mime-type=image/tiff
35   *.vsd = svn:mime-type=application/octet-stream
36   *.zip = svn:mime-type=application/zip
37
38   ##################################################
39   ### Text files, OS dependent eol-style
40   ##################################################
41   *.dsp = svn:eol-style=CRLF
42   *.dsw = svn:eol-style=CRLF
43
44   *.mm = svn:eol-style=LF;svn:mime-type=text/xml
45   *.sh = svn:eol-style=LF;svn:executable
46   Makefile = svn:eol-style=LF
47
48   ##################################################
49   ### Text files, eol-style is native
50   ##################################################
51   *.c = svn:eol-style=native;svn:mime-type=text/plain
52   *.cpp = svn:eol-style=native;svn:mime-type=text/plain
53   *.css = svn:eol-style=native;svn:mime-type=text/css
54   *.diff = svn:eol-style=native;svn:mime-type=text/plain
55   *.dsl = svn:eol-style=native;svn:mime-type=text/sgml
56   *.dtd = svn:eol-style=native;svn:mime-type=text/plain
57   *.ent = svn:eol-style=native;svn:mime-type=text/plain
58   *.gml = svn:eol-style=native;svn:mime-type=text/sgml
59   *.h = svn:eol-style=native;svn:mime-type=text/plain
60   *.htm = svn:eol-style=native;svn:mime-type=text/html
61   *.html = svn:eol-style=native;svn:mime-type=text/html
62   *.java = svn:eol-style=native;svn:mime-type=text/plain
63   *.js = svn:eol-style=native;svn:mime-type=text/plain
64   *.mod = svn:eol-style=native;svn:mime-type=text/plain
65   *.patch = svn:eol-style=native;svn:mime-type=text/plain
66   *.php = svn:eol-style=native
67   *.pl = svn:eol-style=native
68   *.py = svn:eol-style=native
69   *.sgm = svn:eol-style=native;svn:mime-type=text/sgml
70   *.sgml = svn:eol-style=native;svn:mime-type=text/sgml
71   *.svg = svn:eol-style=native;svn:mime-type=text/xml
72   *.txt = svn:mime-type=text/plain
73   *.xml = svn:eol-style=native;svn:mime-type=text/xml
74   *.xsl = svn:eol-style=native;svn:mime-type=text/xml
75   *.xslt = svn:eol-style=native;svn:mime-type=text/xml
76   README = svn:eol-style=native




     OSSEZ.COM-v1.2-Technology.ott                                      2012-05-24
     版权所有 © OSSEZ LLC 2006 - 2012                                             6/7
OSSEZ.COM-v1.2-Technology.ott   2012-05-24
版权所有 © OSSEZ LLC 2006 - 2012          7/7

More Related Content

More from YUCHENG HU

Confluencewiki 使用空间
Confluencewiki 使用空间Confluencewiki 使用空间
Confluencewiki 使用空间YUCHENG HU
 
Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件YUCHENG HU
 
Logback 介绍
Logback 介绍Logback 介绍
Logback 介绍YUCHENG HU
 
Presta shop 1.6 详细安装指南
Presta shop 1.6 详细安装指南Presta shop 1.6 详细安装指南
Presta shop 1.6 详细安装指南YUCHENG HU
 
Presta shop 1.6 的安装环境
Presta shop 1.6 的安装环境Presta shop 1.6 的安装环境
Presta shop 1.6 的安装环境YUCHENG HU
 
Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件YUCHENG HU
 
Presta shop 1.6 图文安装教程
Presta shop 1.6 图文安装教程Presta shop 1.6 图文安装教程
Presta shop 1.6 图文安装教程YUCHENG HU
 
V tiger 5.4.0 图文安装教程
V tiger 5.4.0 图文安装教程V tiger 5.4.0 图文安装教程
V tiger 5.4.0 图文安装教程YUCHENG HU
 
Confluence 回顾(retrospectives) 蓝图 cwikiossez
Confluence 回顾(retrospectives) 蓝图   cwikiossezConfluence 回顾(retrospectives) 蓝图   cwikiossez
Confluence 回顾(retrospectives) 蓝图 cwikiossezYUCHENG HU
 
Confluence 会议记录(meeting notes)蓝图 cwikiossez
Confluence 会议记录(meeting notes)蓝图   cwikiossezConfluence 会议记录(meeting notes)蓝图   cwikiossez
Confluence 会议记录(meeting notes)蓝图 cwikiossezYUCHENG HU
 
VTIGER - 销售机会 - CWIKIOSSEZ
VTIGER - 销售机会 - CWIKIOSSEZ VTIGER - 销售机会 - CWIKIOSSEZ
VTIGER - 销售机会 - CWIKIOSSEZ YUCHENG HU
 
Confluence 使用一个模板新建一个页面 cwikiossez
Confluence 使用一个模板新建一个页面     cwikiossezConfluence 使用一个模板新建一个页面     cwikiossez
Confluence 使用一个模板新建一个页面 cwikiossezYUCHENG HU
 
Confluence 使用模板
Confluence 使用模板Confluence 使用模板
Confluence 使用模板YUCHENG HU
 
Cwikiossez confluence 订阅页面更新邮件通知
Cwikiossez confluence 订阅页面更新邮件通知Cwikiossez confluence 订阅页面更新邮件通知
Cwikiossez confluence 订阅页面更新邮件通知YUCHENG HU
 
Cwikiossez confluence 关注页面 博客页面和空间
Cwikiossez confluence 关注页面 博客页面和空间Cwikiossez confluence 关注页面 博客页面和空间
Cwikiossez confluence 关注页面 博客页面和空间YUCHENG HU
 
My sql università di enna a.a. 2005-06
My sql   università di enna a.a. 2005-06My sql   università di enna a.a. 2005-06
My sql università di enna a.a. 2005-06YUCHENG HU
 
My sql would you like transactions
My sql would you like transactionsMy sql would you like transactions
My sql would you like transactionsYUCHENG HU
 
MySQL 简要介绍
MySQL 简要介绍MySQL 简要介绍
MySQL 简要介绍YUCHENG HU
 

More from YUCHENG HU (20)

Confluencewiki 使用空间
Confluencewiki 使用空间Confluencewiki 使用空间
Confluencewiki 使用空间
 
Git
GitGit
Git
 
Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件
 
Logback 介绍
Logback 介绍Logback 介绍
Logback 介绍
 
Presta shop 1.6 详细安装指南
Presta shop 1.6 详细安装指南Presta shop 1.6 详细安装指南
Presta shop 1.6 详细安装指南
 
Presta shop 1.6 的安装环境
Presta shop 1.6 的安装环境Presta shop 1.6 的安装环境
Presta shop 1.6 的安装环境
 
Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件
 
Presta shop 1.6 图文安装教程
Presta shop 1.6 图文安装教程Presta shop 1.6 图文安装教程
Presta shop 1.6 图文安装教程
 
V tiger 5.4.0 图文安装教程
V tiger 5.4.0 图文安装教程V tiger 5.4.0 图文安装教程
V tiger 5.4.0 图文安装教程
 
Confluence 回顾(retrospectives) 蓝图 cwikiossez
Confluence 回顾(retrospectives) 蓝图   cwikiossezConfluence 回顾(retrospectives) 蓝图   cwikiossez
Confluence 回顾(retrospectives) 蓝图 cwikiossez
 
Confluence 会议记录(meeting notes)蓝图 cwikiossez
Confluence 会议记录(meeting notes)蓝图   cwikiossezConfluence 会议记录(meeting notes)蓝图   cwikiossez
Confluence 会议记录(meeting notes)蓝图 cwikiossez
 
VTIGER - 销售机会 - CWIKIOSSEZ
VTIGER - 销售机会 - CWIKIOSSEZ VTIGER - 销售机会 - CWIKIOSSEZ
VTIGER - 销售机会 - CWIKIOSSEZ
 
Confluence 使用一个模板新建一个页面 cwikiossez
Confluence 使用一个模板新建一个页面     cwikiossezConfluence 使用一个模板新建一个页面     cwikiossez
Confluence 使用一个模板新建一个页面 cwikiossez
 
Confluence 使用模板
Confluence 使用模板Confluence 使用模板
Confluence 使用模板
 
Cwikiossez confluence 订阅页面更新邮件通知
Cwikiossez confluence 订阅页面更新邮件通知Cwikiossez confluence 订阅页面更新邮件通知
Cwikiossez confluence 订阅页面更新邮件通知
 
Cwikiossez confluence 关注页面 博客页面和空间
Cwikiossez confluence 关注页面 博客页面和空间Cwikiossez confluence 关注页面 博客页面和空间
Cwikiossez confluence 关注页面 博客页面和空间
 
My sql università di enna a.a. 2005-06
My sql   università di enna a.a. 2005-06My sql   università di enna a.a. 2005-06
My sql università di enna a.a. 2005-06
 
My sql would you like transactions
My sql would you like transactionsMy sql would you like transactions
My sql would you like transactions
 
MySQL 指南
MySQL 指南MySQL 指南
MySQL 指南
 
MySQL 简要介绍
MySQL 简要介绍MySQL 简要介绍
MySQL 简要介绍
 

Recently uploaded

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 

Recently uploaded (20)

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 

利用Sourceforge 或者 google code的svn显示html页面

  • 1. 利用 sourceforge 或者 Google Code 的 SVN 显示 Html 页面 (OSSEZ) CHS 技术参考, 2012-05-24 Author: YUCHENG HU, OSSEZ LLC OSSEZ.COM-v1.2-Technology.ott 2012-05-24 版权所有 © OSSEZ LLC 2006 - 2012 1/7
  • 2. 备忘 Copyright © OSSEZ LLC 2006–2011. 版权所有 技术支持: http://www.ossez.com http://wiki.ossez.com 知识产权: OSS 计算技术 OSSEZ (中国) 信息技术有限公司及作者持有本文档的所有权 相关工作: 技术文档格式化版本 版本历史: Version Date Author Description 1.1 2012-05-24 YUCHENG HU 创建新版本 电子版: N/A http://www.ossez.com ODT 发行版本 OSSEZ.COM-v1.2-Technology.ott 2012-05-24 版权所有 © OSSEZ LLC 2006 - 2012 2/7
  • 3. 目 录 1 配置.............................................................................................................................................. 4 1.1 单一定义文件........................................................................................................................ 4 1.2 设置所有文件........................................................................................................................ 5 OSSEZ.COM-v1.2-Technology.ott 2012-05-24 版权所有 © OSSEZ LLC 2006 - 2012 3/7
  • 4. 1 配置 不只适用与 google code 还适用于 sourceforge.net。 演示地址 googlecode: https://ossdocs.googlecode.com/svn/trunk/xhtml/enterprise-erp- crm/vtiger/vtiger_tutorials/mainp.html 适用 TortoiseSVN: 1.1 单一定义文件 右键你想修改属性的 html 文件,然后选【TortoiseSVN】→【Properties (中文一 般为【属性】)】然后就会看到 Properties 界面,然后点击【新建(快捷键 N)】 选择【高级(快捷键 A)】然后弹出高级选项卡,选择属性【svn:mime-type】, 然后添加值为 text/html,然后确定重新同步下就可以了。 OSSEZ.COM-v1.2-Technology.ott 2012-05-24 版权所有 © OSSEZ LLC 2006 - 2012 4/7
  • 5. 1 *.htm* = svn:mime-type=text/html 2 *.png = svn:mime-type=image/png 3 *.jpg = svn:mime-type=image/jpeg 4 *.gif = svn:mime-type=image/gif 5 *.css = svn:mime-type=text/css 6 *.js = svn:mime-type=text/javascript 7 *.xml = svn:mime-type=text/xml 1.2 设置所有文件 点右键进入【TortoiseSVN】的【设置】会弹出设置选线卡【常规设置】里的右边 右下角位置有个【编辑】按键,点击编辑对全局配置文件进行编辑。 查找配置文件中[miscellany]在下面加入: 8 [miscellany] 9 global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store .cvsignore 10 Thumbs.db CVS 11 use-commit-times = yes 12 enable-auto-props = yes 查找配置文件中[auto-props]在下面加入: OSSEZ.COM-v1.2-Technology.ott 2012-05-24 版权所有 © OSSEZ LLC 2006 - 2012 5/7
  • 6. 13 ### Section for configuring automatic properties. 14 [auto-props] 15 ### The format of the entries is: 16 ### file-name-pattern = propname[=value][;propname[=value]...] 17 ### The file-name-pattern can contain wildcards (such as '*' and 18 ### '?'). All entries which match will be applied to the file. 19 ### Note that auto-props functionality must be enabled, which 20 ### is typically done by setting the 'enable-auto-props' option. 21 22 ################################################## 23 ### Binary files 24 ################################################## 25 *.bmp = svn:mime-type=image/bmp 26 *.gif = svn:mime-type=image/gif 27 *.gz = svn:mime-type=application/x-gzip 28 *.ico = svn:mime-type=image/x-icon 29 *.jar = svn:mime-type=application/zip 30 *.jpg = svn:mime-type=image/jpeg 31 *.pdf = svn:mime-type=application/pdf 32 *.png = svn:mime-type=image/png 33 *.ps = svn:mime-type=application/postscript 34 *.tif = svn:mime-type=image/tiff 35 *.vsd = svn:mime-type=application/octet-stream 36 *.zip = svn:mime-type=application/zip 37 38 ################################################## 39 ### Text files, OS dependent eol-style 40 ################################################## 41 *.dsp = svn:eol-style=CRLF 42 *.dsw = svn:eol-style=CRLF 43 44 *.mm = svn:eol-style=LF;svn:mime-type=text/xml 45 *.sh = svn:eol-style=LF;svn:executable 46 Makefile = svn:eol-style=LF 47 48 ################################################## 49 ### Text files, eol-style is native 50 ################################################## 51 *.c = svn:eol-style=native;svn:mime-type=text/plain 52 *.cpp = svn:eol-style=native;svn:mime-type=text/plain 53 *.css = svn:eol-style=native;svn:mime-type=text/css 54 *.diff = svn:eol-style=native;svn:mime-type=text/plain 55 *.dsl = svn:eol-style=native;svn:mime-type=text/sgml 56 *.dtd = svn:eol-style=native;svn:mime-type=text/plain 57 *.ent = svn:eol-style=native;svn:mime-type=text/plain 58 *.gml = svn:eol-style=native;svn:mime-type=text/sgml 59 *.h = svn:eol-style=native;svn:mime-type=text/plain 60 *.htm = svn:eol-style=native;svn:mime-type=text/html 61 *.html = svn:eol-style=native;svn:mime-type=text/html 62 *.java = svn:eol-style=native;svn:mime-type=text/plain 63 *.js = svn:eol-style=native;svn:mime-type=text/plain 64 *.mod = svn:eol-style=native;svn:mime-type=text/plain 65 *.patch = svn:eol-style=native;svn:mime-type=text/plain 66 *.php = svn:eol-style=native 67 *.pl = svn:eol-style=native 68 *.py = svn:eol-style=native 69 *.sgm = svn:eol-style=native;svn:mime-type=text/sgml 70 *.sgml = svn:eol-style=native;svn:mime-type=text/sgml 71 *.svg = svn:eol-style=native;svn:mime-type=text/xml 72 *.txt = svn:mime-type=text/plain 73 *.xml = svn:eol-style=native;svn:mime-type=text/xml 74 *.xsl = svn:eol-style=native;svn:mime-type=text/xml 75 *.xslt = svn:eol-style=native;svn:mime-type=text/xml 76 README = svn:eol-style=native OSSEZ.COM-v1.2-Technology.ott 2012-05-24 版权所有 © OSSEZ LLC 2006 - 2012 6/7
  • 7. OSSEZ.COM-v1.2-Technology.ott 2012-05-24 版权所有 © OSSEZ LLC 2006 - 2012 7/7