今天要做svn迁移, 环境是centos, 以下是过程中的记录, 很多是从网络上的过来人的blog的copy, 勿怪!

这里创建的用户是整个svn 中所有版本库通用的,也就是一个帐号可以访问所有的版本库, 符合我们的需要, 呵呵,   并没有针对每一个版本库单独创建用户组。

1.svn安装
安装系统:CentOS
安装方式:yum install(这种方式比较简单,如果用源码安装容易产生版本兼容的问题)
建议
      
最好将svn系统安装在Linux操作系统环境下,这样一来系统比较的稳定可靠,同时也可以减少很多的病毒和攻击的服务器日常维护工作量,我将svn安装在了CentOS的服务器版本下。


安装:

  yum install httpd httpd-devel subversion mod_dav_svn mod_auth_mysql

确定已经安装了svn模块:mod_dav_svn

$ cd /etc/httpd/modules
$ ls | grep svn

             mod_authz_svn.so
             mod_dav_svn.so

如果要确认是否成功的安装了svn可以通过如下的命令进行验证:

$ svn --version

svn, version 1.6.11 (r934486)
   compiled Jun 25 2011, 11:30:15

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme 


2.apache的配置
配置/etc/httpd/conf/httpd.conf
(httpd的安装目录,一般是/etc/httpd或/usr/local/appache2)
进入到/etc/conf目录下用vim打开httpd.conf配置文件进行选项的修改:
           

a. KeepAlive选项(可选)
      该选项可以修改也可以不修改,主要是为了提高http协议访问的性能,可以
      使得svn仓库的访问更快,KeepAlive表示可以保持http的永久性TCP连接,
      省去了每次都需要进行重建TCP连接的巨大开销,找到如下几个选项并修改:
       KeepAlive On
       MaxKeepAliveRequests 100
       KeepAliveTimeout 15
b. ServerAdmin/ServerName选项(可选)
       对于需要对系统进行管理的可以在ServerAdmin选项设置成为管理员的email
       地址,这样在出现问题时apache会自动发送邮件到该地址中;而ServerName
       必须设置为本服务器的域名,如xxx.xxx.cn:80。

为了使客户端能够通过Apache来访问SVN档案库,Apache需要加载一个特殊的模块mod_dav_svn。如果您的Apache是按照与预设目 录安装的,mod_dav_svn 模块应该会安装在 Apache 安装位置 (默认路径是 /usr/local/apache2) 的 modules 子目录内。同时在Apache的配置文件httpd.conf(默认路径为/usr/local/apache2/conf)中已经使用 LoadModule指令加载了该模块(如果没有,请手动添加)LoadModule 指令的语法很简单, 就是将一个具名模块对映到共享链接库在磁盘上的位置: 

LoadModule dav_svn_module     modules/mod_dav_svn.so

注意这个指令必须出现在其它的 Subversion 相关指令之前。
还要加载mod_authz_svn.so模块
如图:

测试Apache是否可以正常启动:

       #vim /etc/httpd/conf/httpd.conf -- Edit what you need and save the file
       #service httpd start
       #chkconfig httpd on


在浏览器中访问:http://localhost, 如果能看到Apache的页面,则说明Apache已经正常启动。


Apache命令:
       启动:apachectl -k start
       关闭:apachectl -k stop
       重启:apachectl -k restart

       查看日志:tail -f /etc/httpd/logs/error-log  

3.svn的配置
进入到/etc/httpd/conf.d目录下用vim打开subversion.conf配置文件进行选项的
修改:
a. module的配置
一定要保证下面的两句话存在于配置文件中,否则无法在如svn的模块,就
无法访问svn的仓库了:
               LoadModule dav_svn_module     modules/mod_dav_svn.so
               LoadModule authz_svn_module   modules/mod_authz_svn.so

b. 仓库目录配置
项目仓库就是用于存放项 目目录结构的服务器目录,一般情况下Linux的规则时间容易变化的内容存放在/var目录下,所以我们需要在/var目录下创建一个svn目录,这样所 有的项目的根目录都作为/var/svn/目录下的一级子目录了,这样以来就可以在一个仓库目录下存放多个项目了。
              
下面将使用myapp这个仓库来配置Subversion

# mkdir -p /var/svn
# cd /var/svn
# svnadmin create myapp
# chown -R apache.apache myapp
# vi /etc/httpd/conf.d/subversion.conf

加入以下配置

LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so
 
<Location /svn>
DAV svn
SVNParentPath /var/svn
#
#   # Limit write permission to list of valid users.
#   <LimitExcept GET PROPFIND OPTIONS REPORT>
#      # Require SSL connection for password protection.
#      # SSLRequireSSL
#
AuthType Basic
AuthName "Authorization Realm"
AuthUserFile /var/svn/passwd
Require valid-user
#   </LimitExcept>
</Location> 

下面建立可访问用户文件

# htpasswd -c /var/svn/passwd ivan

要增加用户,则使用下面命令

# htpasswd /var/svn/passwd other

重起Apache

# service httpd restart 

 


Subversion部分安装完成,打开浏览器访问http://localhost/svn/myapp即可看到效果。

4. 以上是svn的安装与配置, 接着需要进入主要工作, 迁移

首先需要导出我们的版本库, 进入你的svn的版本库目录, 我的代码版本都在 /web/svn/hdms

svnadmin dump 版本库名 > svn_dump_版本库名
可以看到终端成功dump的结果
[root @fincloud /data/svn]$ svnadmin dump hdms > svn_dump_hdms
* 已转存版本 0。
* 已转存版本 1。
* 已转存版本 2。
* 已转存版本 3。
* 已转存版本 4。
* 已转存版本 5。
* 已转存版本 6。
* 已转存版本 7。
* 已转存版本 8。
* 已转存版本 9。
* 已转存版本 10。
* 已转存版本 11。
* 已转存版本 12。
* 已转存版本 13。
* 已转存版本 14。
* 已转存版本 15。
* 已转存版本 16。
* 已转存版本 17。
* 已转存版本 18。
* 已转存版本 19。
* 已转存版本 20。
* 已转存版本 21。
* 已转存版本 22。
* 已转存版本 23。
* 已转存版本 24。
* 已转存版本 25。
* 已转存版本 26。
* 已转存版本 27。  

然后把导出的文件copy到你需要一直的服务器上

在新的服务器上准备把备份的版本库再导入新的svn中去,可以看到结果对应着上面导出的27个版本。 搞定收工。

$ svnadmin create 版本库 
$ chown -R apache.apache 版本库
$ svnadmin load 版本库  < svn_dump_版本库
[root@CentOS6 svn]# svnadmin create hdms  
[root@CentOS6 svn]# chown -R apache.apache hdms  
[root@CentOS6 svn]# svnadmin load hdms < svn_dump_hdms     
<<< Started new transaction, based on original revision 1
     * adding path : README.txt ... done.

------- Committed revision 1 >>>

<<< Started new transaction, based on original revision 2
     * adding path : HDMS ... done.
     * adding path : HDMS/.gitignore ... done.
     * adding path : HDMS/Gemfile ... done.
     * adding path : HDMS/Gemfile.lock ... done.
     * adding path : HDMS/README ... done.
     * adding path : HDMS/Rakefile ... done.
     * adding path : HDMS/app ... done.
     * adding path : HDMS/app/controllers ... done.
     * adding path : HDMS/app/controllers/application_controller.rb ... done.
     * adding path : HDMS/app/helpers ... done.
     * adding path : HDMS/app/helpers/application_helper.rb ... done.
     * adding path : HDMS/app/mailers ... done.
     * adding path : HDMS/app/models ... done.
     * adding path : HDMS/app/views ... done.
     * adding path : HDMS/app/views/layouts ... done.
     * adding path : HDMS/app/views/layouts/application.html.erb ... done.
     * adding path : HDMS/config ... done.
     * adding path : HDMS/config/application.rb ... done.
     * adding path : HDMS/config/boot.rb ... done.
     * adding path : HDMS/config/database.yml ... done.
     * adding path : HDMS/config/environment.rb ... done.
     * adding path : HDMS/config/environments ... done.
     * adding path : HDMS/config/environments/development.rb ... done.
     * adding path : HDMS/config/environments/production.rb ... done.
     * adding path : HDMS/config/environments/test.rb ... done.
     * adding path : HDMS/config/initializers ... done.
     * adding path : HDMS/config/initializers/backtrace_silencers.rb ... done.
     * adding path : HDMS/config/initializers/inflections.rb ... done.
     * adding path : HDMS/config/initializers/mime_types.rb ... done.
     * adding path : HDMS/config/initializers/secret_token.rb ... done.
     * adding path : HDMS/config/initializers/session_store.rb ... done.
     * adding path : HDMS/config/locales ... done.
     * adding path : HDMS/config/locales/en.yml ... done.
     * adding path : HDMS/config/routes.rb ... done.
     * adding path : HDMS/config.ru ... done.
     * adding path : HDMS/db ... done.
     * adding path : HDMS/db/seeds.rb ... done.
     * adding path : HDMS/doc ... done.
     * adding path : HDMS/doc/README_FOR_APP ... done.
     * adding path : HDMS/lib ... done.
     * adding path : HDMS/lib/tasks ... done.
     * adding path : HDMS/lib/tasks/.gitkeep ... done.
     * adding path : HDMS/log ... done.
     * adding path : HDMS/log/development.log ... done.
     * adding path : HDMS/log/production.log ... done.
     * adding path : HDMS/log/server.log ... done.
     * adding path : HDMS/log/test.log ... done.
     * adding path : HDMS/public ... done.
     * adding path : HDMS/public/404.html ... done.
     * adding path : HDMS/public/422.html ... done.
     * adding path : HDMS/public/500.html ... done.
     * adding path : HDMS/public/favicon.ico ... done.
     * adding path : HDMS/public/images ... done.
     * adding path : HDMS/public/images/rails.png ... done.
     * adding path : HDMS/public/index.html ... done.
     * adding path : HDMS/public/javascripts ... done.
     * adding path : HDMS/public/javascripts/application.js ... done.
     * adding path : HDMS/public/javascripts/controls.js ... done.
     * adding path : HDMS/public/javascripts/dragdrop.js ... done.
     * adding path : HDMS/public/javascripts/effects.js ... done.
     * adding path : HDMS/public/javascripts/prototype.js ... done.
     * adding path : HDMS/public/javascripts/rails.js ... done.
     * adding path : HDMS/public/robots.txt ... done.
     * adding path : HDMS/public/stylesheets ... done.
     * adding path : HDMS/public/stylesheets/.gitkeep ... done.
     * adding path : HDMS/script ... done.
     * adding path : HDMS/script/rails ... done.
     * adding path : HDMS/test ... done.
     * adding path : HDMS/test/fixtures ... done.
     * adding path : HDMS/test/functional ... done.
     * adding path : HDMS/test/integration ... done.
     * adding path : HDMS/test/performance ... done.
     * adding path : HDMS/test/performance/browsing_test.rb ... done.
     * adding path : HDMS/test/test_helper.rb ... done.
     * adding path : HDMS/test/unit ... done.
     * adding path : HDMS/tmp ... done.
     * adding path : HDMS/tmp/cache ... done.
     * adding path : HDMS/tmp/pids ... done.
     * adding path : HDMS/tmp/sessions ... done.
     * adding path : HDMS/tmp/sockets ... done.
     * adding path : HDMS/vendor ... done.
     * adding path : HDMS/vendor/plugins ... done.
     * adding path : HDMS/vendor/plugins/.gitkeep ... done.

------- Committed revision 2 >>>

<<< Started new transaction, based on original revision 3
     * editing path : HDMS/config/routes.rb ... done.

------- Committed revision 3 >>>

<<< Started new transaction, based on original revision 4
     * adding path : HDMS/app/models/attendance.rb ... done.
     * adding path : HDMS/app/models/attendance_division.rb ... done.
     * adding path : HDMS/app/models/attendance_type.rb ... done.
     * adding path : HDMS/app/models/branch_store.rb ... done.
     * adding path : HDMS/app/models/card.rb ... done.
     * adding path : HDMS/app/models/card_commission_rule.rb ... done.
     * adding path : HDMS/app/models/card_level.rb ... done.
     * adding path : HDMS/app/models/card_type.rb ... done.
     * adding path : HDMS/app/models/course.rb ... done.
     * adding path : HDMS/app/models/customer.rb ... done.
     * adding path : HDMS/app/models/customer_appointment.rb ... done.
     * adding path : HDMS/app/models/customer_feature.rb ... done.
     * adding path : HDMS/app/models/employee.rb ... done.
     * adding path : HDMS/app/models/employee_course_history.rb ... done.
     * adding path : HDMS/app/models/employee_group.rb ... done.
     * adding path : HDMS/app/models/employee_level.rb ... done.
     * adding path : HDMS/app/models/employee_level_type.rb ... done.
     * adding path : HDMS/app/models/employee_privilege.rb ... done.
     * adding path : HDMS/app/models/employee_role.rb ... done.
     * adding path : HDMS/app/models/feature_age_style.rb ... done.
     * adding path : HDMS/app/models/feature_ear_style.rb ... done.
     * adding path : HDMS/app/models/feature_eye_style.rb ... done.
     * adding path : HDMS/app/models/feature_face_style.rb ... done.
     * adding path : HDMS/app/models/feature_figure_style.rb ... done.
     * adding path : HDMS/app/models/feature_head_style.rb ... done.
     * adding path : HDMS/app/models/feature_nose_style.rb ... done.
     * adding path : HDMS/app/models/feature_profession_style.rb ... done.
     * adding path : HDMS/app/models/gift_amount_history.rb ... done.
     * adding path : HDMS/app/models/operation_history.rb ... done.
     * adding path : HDMS/app/models/point_rule.rb ... done.
     * adding path : HDMS/app/models/privilege.rb ... done.
     * adding path : HDMS/app/models/privilege_scope.rb ... done.
     * adding path : HDMS/app/models/promotion_rule.rb ... done.
     * adding path : HDMS/app/models/sensitive_history.rb ... done.
     * adding path : HDMS/app/models/service_commission_rule.rb ... done.
     * adding path : HDMS/app/models/service_item.rb ... done.
     * adding path : HDMS/app/models/service_item_category.rb ... done.
     * adding path : HDMS/app/models/service_item_type.rb ... done.
     * adding path : HDMS/app/models/user.rb ... done.

------- Committed revision 4 >>>

<<< Started new transaction, based on original revision 5
     * adding path : HDMS/db/migrate ... done.
     * adding path : HDMS/db/migrate/20110809022523_devise_create_users.rb ... done.
     * adding path : HDMS/db/migrate/20110809022944_add_name_to_users.rb ... done.
     * adding path : HDMS/db/migrate/20110809032246_create_customers.rb ... done.
     * adding path : HDMS/db/migrate/20110809042647_create_employees.rb ... done.
     * adding path : HDMS/db/migrate/20110809043354_create_employee_roles.rb ... done.
     * adding path : HDMS/db/migrate/20110809062341_create_employee_groups.rb ... done.
     * adding path : HDMS/db/migrate/20110809081337_create_cards.rb ... done.
     * adding path : HDMS/db/migrate/20110809083607_create_card_types.rb ... done.
     * adding path : HDMS/db/migrate/20110809085031_create_card_levels.rb ... done.
     * adding path : HDMS/db/migrate/20110810024754_create_customer_features.rb ... done.
     * adding path : HDMS/db/migrate/20110810024947_create_feature_head_styles.rb ... done.
     * adding path : HDMS/db/migrate/20110810025723_create_feature_nose_styles.rb ... done.
     * adding path : HDMS/db/migrate/20110810025801_create_feature_face_styles.rb ... done.
     * adding path : HDMS/db/migrate/20110810025832_create_feature_ear_styles.rb ... done.
     * adding path : HDMS/db/migrate/20110810025928_create_feature_figure_styles.rb ... done.
     * adding path : HDMS/db/migrate/20110810025951_create_feature_profession_styles.rb ... done.
     * adding path : HDMS/db/migrate/20110810030010_create_feature_eye_styles.rb ... done.
     * adding path : HDMS/db/migrate/20110810030023_create_feature_age_styles.rb ... done.
     * adding path : HDMS/db/migrate/20110810032115_create_employee_levels.rb ... done.
     * adding path : HDMS/db/migrate/20110810032729_create_employee_level_types.rb ... done.
     * adding path : HDMS/db/migrate/20110810033044_create_courses.rb ... done.
     * adding path : HDMS/db/migrate/20110810033950_create_employee_course_histories.rb ... done.
     * adding path : HDMS/db/migrate/20110810040107_create_employee_privileges.rb ... done.
     * adding path : HDMS/db/migrate/20110810040558_create_privileges.rb ... done.
     * adding path : HDMS/db/migrate/20110810041634_create_sensitive_histories.rb ... done.
     * adding path : HDMS/db/migrate/20110810042202_create_privilege_scopes.rb ... done.
     * adding path : HDMS/db/migrate/20110810043018_create_operation_histories.rb ... done.
     * adding path : HDMS/db/migrate/20110810063126_create_card_commission_rules.rb ... done.
     * adding path : HDMS/db/migrate/20110810064049_create_branch_stores.rb ... done.
     * adding path : HDMS/db/migrate/20110810065750_create_attendances.rb ... done.
     * adding path : HDMS/db/migrate/20110810070622_create_attendance_divisions.rb ... done.
     * adding path : HDMS/db/migrate/20110810071224_create_attendance_types.rb ... done.
     * adding path : HDMS/db/migrate/20110810072152_create_customer_appointments.rb ... done.
     * adding path : HDMS/db/migrate/20110810072805_create_promotion_rules.rb ... done.
     * adding path : HDMS/db/migrate/20110810073545_create_gift_amount_histories.rb ... done.
     * adding path : HDMS/db/migrate/20110810074112_create_point_rules.rb ... done.
     * adding path : HDMS/db/migrate/20110811025450_create_service_items.rb ... done.
     * adding path : HDMS/db/migrate/20110811031326_create_service_commission_rules.rb ... done.
     * adding path : HDMS/db/migrate/20110811031703_create_service_item_categories.rb ... done.
     * adding path : HDMS/db/migrate/20110811032254_create_service_item_types.rb ... done.

------- Committed revision 5 >>>

<<< Started new transaction, based on original revision 6
     * editing path : HDMS/Gemfile ... done.
     * editing path : HDMS/Gemfile.lock ... done.

------- Committed revision 6 >>>

<<< Started new transaction, based on original revision 7
     * editing path : HDMS/db/migrate/20110809062341_create_employee_groups.rb ... done.
     * editing path : HDMS/db/migrate/20110809081337_create_cards.rb ... done.
     * editing path : HDMS/db/migrate/20110810063126_create_card_commission_rules.rb ... done.
     * editing path : HDMS/db/migrate/20110810072152_create_customer_appointments.rb ... done.

------- Committed revision 7 >>>

<<< Started new transaction, based on original revision 8
     * editing path : HDMS/app/models/user.rb ... done.

------- Committed revision 8 >>>

<<< Started new transaction, based on original revision 9
     * editing path : HDMS/config/routes.rb ... done.

------- Committed revision 9 >>>

<<< Started new transaction, based on original revision 10
     * adding path : HDMS/app/views/devise ... done.
     * adding path : HDMS/app/views/devise/confirmations ... done.
     * adding path : HDMS/app/views/devise/mailer ... done.
     * adding path : HDMS/app/views/devise/passwords ... done.
     * adding path : HDMS/app/views/devise/registrations ... done.
     * adding path : HDMS/app/views/devise/sessions ... done.
     * adding path : HDMS/app/views/devise/shared ... done.
     * adding path : HDMS/app/views/devise/unlocks ... done.

------- Committed revision 10 >>>

<<< Started new transaction, based on original revision 11
     * editing path : HDMS/app/views/layouts/application.html.erb ... done.

------- Committed revision 11 >>>

<<< Started new transaction, based on original revision 12
     * adding path : HDMS/app/views/test ... done.

------- Committed revision 12 >>>

<<< Started new transaction, based on original revision 13
     * adding path : HDMS/app/views/test/index.html.erb ... done.

------- Committed revision 13 >>>

<<< Started new transaction, based on original revision 14
     * adding path : HDMS/app/views/devise/confirmations/new.html.erb ... done.
     * adding path : HDMS/app/views/devise/mailer/confirmation_instructions.html.erb ... done.
     * adding path : HDMS/app/views/devise/mailer/reset_password_instructions.html.erb ... done.
     * adding path : HDMS/app/views/devise/mailer/unlock_instructions.html.erb ... done.
     * adding path : HDMS/app/views/devise/passwords/edit.html.erb ... done.
     * adding path : HDMS/app/views/devise/passwords/new.html.erb ... done.
     * adding path : HDMS/app/views/devise/registrations/edit.html.erb ... done.
     * adding path : HDMS/app/views/devise/registrations/new.html.erb ... done.
     * adding path : HDMS/app/views/devise/sessions/new.html.erb ... done.
     * adding path : HDMS/app/views/devise/shared/_links.erb ... done.
     * adding path : HDMS/app/views/devise/unlocks/new.html.erb ... done.

------- Committed revision 14 >>>

<<< Started new transaction, based on original revision 15
     * editing path : HDMS/app/views/test/index.html.erb ... done.

------- Committed revision 15 >>>

<<< Started new transaction, based on original revision 16
     * editing path : HDMS/app/views/devise/shared/_links.erb ... done.

------- Committed revision 16 >>>

<<< Started new transaction, based on original revision 17
     * editing path : HDMS/app/views/devise/registrations/new.html.erb ... done.
     * editing path : HDMS/app/views/devise/sessions/new.html.erb ... done.
     * editing path : HDMS/app/views/devise/shared/_links.erb ... done.
     * editing path : HDMS/app/views/test/index.html.erb ... done.

------- Committed revision 17 >>>

<<< Started new transaction, based on original revision 18
     * adding path : HDMS/config/locales/devise.zh-CN.yml ... done.

------- Committed revision 18 >>>

<<< Started new transaction, based on original revision 19
     * adding path : HDMS/config/locales/devise.en.yml ... done.

------- Committed revision 19 >>>

<<< Started new transaction, based on original revision 20
     * editing path : HDMS/config/application.rb ... done.

------- Committed revision 20 >>>

<<< Started new transaction, based on original revision 21
     * adding path : HDMS/app/controllers/test_controller.rb ... done.

------- Committed revision 21 >>>

<<< Started new transaction, based on original revision 22
     * adding path : HDMS/app/helpers/test_helper.rb ... done.

------- Committed revision 22 >>>

<<< Started new transaction, based on original revision 23
     * adding path : HDMS/app/controllers/product_suppliers_controller.rb ... done.

------- Committed revision 23 >>>

<<< Started new transaction, based on original revision 24
     * adding path : HDMS/app/helpers/product_suppliers_helper.rb ... done.
     * adding path : HDMS/app/models/inventory.rb ... done.
     * adding path : HDMS/app/models/product.rb ... done.
     * adding path : HDMS/app/models/product_supplier.rb ... done.
     * adding path : HDMS/app/models/product_type.rb ... done.
     * adding path : HDMS/app/models/unit.rb ... done.
     * adding path : HDMS/app/models/verification_status.rb ... done.
     * adding path : HDMS/app/models/warehouse.rb ... done.
     * editing path : HDMS/app/views/layouts/application.html.erb ... done.
     * adding path : HDMS/app/views/product_suppliers ... done.
     * adding path : HDMS/app/views/product_suppliers/edit.html.erb ... done.
     * adding path : HDMS/app/views/product_suppliers/index.html.erb ... done.
     * adding path : HDMS/app/views/product_suppliers/new.html.erb ... done.
     * adding path : HDMS/app/views/product_suppliers/show.html.erb ... done.
     * editing path : HDMS/config/routes.rb ... done.
     * adding path : HDMS/db/migrate/20110808111824_create_product_suppliers.rb ... done.
     * adding path : HDMS/db/migrate/20110808190007_create_products.rb ... done.
     * adding path : HDMS/db/migrate/20110808192811_create_product_types.rb ... done.
     * adding path : HDMS/db/migrate/20110808193648_create_units.rb ... done.
     * adding path : HDMS/db/migrate/20110811085806_create_warehouses.rb ... done.
     * adding path : HDMS/db/migrate/20110811091720_create_inventories.rb ... done.
     * adding path : HDMS/db/migrate/20110811094117_create_verification_statuses.rb ... done.
     * adding path : HDMS/db/schema.rb ... done.
     * editing path : HDMS/log/development.log ... done.
     * adding path : HDMS/public/images/gif ... done.
     * adding path : HDMS/public/images/gif/delete.gif ... done.
     * adding path : HDMS/public/images/gif/edit.gif ... done.
     * adding path : HDMS/public/images/gif/view.gif ... done.
     * adding path : HDMS/public/images/use_control ... done.
     * adding path : HDMS/public/images/use_control/th_bg.gif ... done.
     * adding path : HDMS/public/stylesheets/user_control.css ... done.
     * adding path : HDMS/test/fixtures/inventories.yml ... done.
     * adding path : HDMS/test/fixtures/product_suppliers.yml ... done.
     * adding path : HDMS/test/fixtures/product_types.yml ... done.
     * adding path : HDMS/test/fixtures/products.yml ... done.
     * adding path : HDMS/test/fixtures/units.yml ... done.
     * adding path : HDMS/test/fixtures/verification_statuses.yml ... done.
     * adding path : HDMS/test/fixtures/warehouses.yml ... done.
     * adding path : HDMS/test/functional/product_suppliers_controller_test.rb ... done.
     * adding path : HDMS/test/unit/helpers ... done.
     * adding path : HDMS/test/unit/helpers/product_suppliers_helper_test.rb ... done.
     * adding path : HDMS/test/unit/inventory_test.rb ... done.
     * adding path : HDMS/test/unit/product_supplier_test.rb ... done.
     * adding path : HDMS/test/unit/product_test.rb ... done.
     * adding path : HDMS/test/unit/product_type_test.rb ... done.
     * adding path : HDMS/test/unit/unit_test.rb ... done.
     * adding path : HDMS/test/unit/verification_status_test.rb ... done.
     * adding path : HDMS/test/unit/warehouse_test.rb ... done.

------- Committed revision 24 >>>

<<< Started new transaction, based on original revision 25
     * editing path : HDMS/db/migrate/20110810040558_create_privileges.rb ... done.
     * editing path : HDMS/db/migrate/20110810042202_create_privilege_scopes.rb ... done.

------- Committed revision 25 >>>

<<< Started new transaction, based on original revision 26
     * editing path : HDMS/app/models/employee.rb ... done.
     * editing path : HDMS/app/models/privilege.rb ... done.
     * editing path : HDMS/app/models/privilege_scope.rb ... done.

------- Committed revision 26 >>>

<<< Started new transaction, based on original revision 27
     * adding path : HDMS/config/initializers/devise.rb ... done.

------- Committed revision 27 >>>

  

  

 posted on 2011-09-29 18:02  兰猫-兰兰  阅读(5544)  评论(0编辑  收藏  举报