wiki:jazz/13-09-05
close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.

2013-09-05

oceandb

  • 備份 oceandb 程式碼成一個新的 svn dumpfile
    jazz@trac-pool:~$ svnadmin dump /forge/trac_pool/grid/svnroot/ > grid_svn_dumpfile
    jazz@trac-pool:~$ svndumpfilter include --drop-empty-revs --renumber-revs oceandb < grid_svn_dumpfile > oceandb_svn_dumpfile
    
  • 使用 git svn 直接匯出到 github
    jazz@vmm:~$ git svn clone https://trac.nchc.org.tw/svn/grid/oceandb/jQuery_Prototype/ oceandb
    jazz@vmm:~$ cd oceandb/
    jazz@vmm:~/oceandb$ git remote add origin https://github.com/jazzwang/oceandb.git
    jazz@vmm:~/oceandb$ git checkout git-svn 
    jazz@vmm:~/oceandb$ git push origin master 
    
Last modified 12 years ago Last modified on Sep 5, 2013, 8:20:18 PM