Changes between Initial Version and Version 1 of jazz/12-03-09


Ignore:
Timestamp:
Mar 9, 2012, 5:25:33 PM (13 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/12-03-09

    v1 v1  
     1= 2012-03-09 =
     2
     3== svndumpfilter ==
     4
     5 * 由於 trac 的 svn 裡有 hadoop4win-setup 目錄,而 sourceforge 的 svn 紀錄是新的,所以想試試看能否合併。
     6   * [參考] [http://sourceforge.net/apps/trac/sourceforge/wiki/SVN%20adminrepo#Filteringthedumpfileoptional SourceForge 的 SVN 匯入文件有提到 Filtering the dump file (optional)]
     7   * [參考] [http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering SVNBOOK 也有提到 Filtering Repository History]
     8   * 採用 SVNBOOK 的步驟,首先把 hadoop4win 的部份獨立成一個 Repository
     9{{{
     10jazz@Wdebian:~/trac_pool/trac_pool/grid$ svnadmin dump svnroot/ > grid_svn_dumpfile
     11jazz@Wdebian:~/trac_pool/trac_pool/grid$ svndumpfilter include hadoop4win-setup <  grid_svn_dumpfile > hadoop4win_dumpfile
     12jazz@Wdebian:~/trac_pool/trac_pool/grid$ svnadmin create hadoop4win
     13jazz@Wdebian:~/trac_pool/trac_pool/grid$ svnadmin load --ignore-uuid hadoop4win < hadoop4win_dumpfile
     14}}}
     15   * 做到這一步,我們可以拿到一個只有 hadoop4win-setup 這個目錄的 svnroot。