站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
▼
建站程序
开发
服务器
办公软件
开发教程
▼
服务器教程
软件使用教程
运营教程
热门电子书
▼
CSS教程
WordPress教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
热点词条
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
Gallery:Gallery:Using Subversion
”(章节)
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
=== What do I do if I get conflicts? === Subversion can't automatically figure out what to do when your changes to the code are in conflict with changes that the Gallery team has made. In those cases, Subversion marks the file as <b>C</b>onflicted and you must resolve it yourself. The Subversion book has a very useful section on [http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.tour.cycle.resolve resolving conflicts]. Here's a short example. If you modified index.php and we modified index.php, you'll wind up with a line like this: C index.php If you look, you'll see files like this: ls -al index* index.php index.php.mine index.php.r1 index.php.r2 The actual numbers (r1, r2) will vary. But the smaller number will be the old version of the file in the repository, and the bigger number will be the new version. The .mine file is your file before Subversion tried to merge it, and index.php will contain Subversion's best attempt to merge it. Inside index.php you'll see lines like this: <<<<<<< .mine /* Some change you made */ ======= /* Some change Gallery made*/ >>>>>>> .r2 You need to look at your changes and look at Gallery's changes and figure out how to make the two work well together. How difficult it is to merge depends wholly on how big of a change you made. Once you've finished merging the file, you can tell Subversion that it's been resolved by doing: svn resolved index.php This may seem like a pain, but it's really not too bad. Subversion will do all the easy merges for you -- only the hard ones will be left. If you don't make any big changes to the code, you may not have any conflicts at all.
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)