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


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

--

Legend:

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

    v1 v2  
    99{{{
    1010jazz@Wdebian:~/trac_pool/trac_pool/grid$ svnadmin dump svnroot/ > grid_svn_dumpfile
    11 jazz@Wdebian:~/trac_pool/trac_pool/grid$ svndumpfilter include hadoop4win-setup <  grid_svn_dumpfile > hadoop4win_dumpfile
     11.......
     12* Dumped revision 248.
     13jazz@Wdebian:~/trac_pool/trac_pool/grid$ svndumpfilter include --drop-empty-revs --renumber-revs hadoop4win-setup <  grid_svn_dumpfile > hadoop4win_dumpfile
    1214jazz@Wdebian:~/trac_pool/trac_pool/grid$ svnadmin create hadoop4win
    1315jazz@Wdebian:~/trac_pool/trac_pool/grid$ svnadmin load --ignore-uuid hadoop4win < hadoop4win_dumpfile
    1416}}}
    15    * 做到這一步,我們可以拿到一個只有 hadoop4win-setup 這個目錄的 svnroot。
     17   * 做到這一步,我們可以拿到一個只有 hadoop4win-setup 這個目錄的 svnroot。(這裡我多用了 --drop-empty-revs 跟 --renumber-revs 兩個參數,如此可以讓原本 248 個 changeset 的 grid repository 過濾成只有 30 個 changeset 的 hadoop4win repository.