<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    逝者如斯夫

    靜而思之
    數(shù)據(jù)加載中……

    如何將 SVN 源碼庫轉(zhuǎn)換為 Mercurial

    如何將 SVN 源碼庫轉(zhuǎn)換為 Mercurial [1]

    首先得安裝 Subversion 庫函數(shù)

    				    wget http://mirrors.hust.edu.cn/apache/subversion/subversion-1.8.8.tar.gz
    
        tar xzf subversion-1.8.8.tar.bz2 
    
        cd subversion-1.8.8
    
        subversion-1.8.8 aliang$ ./autogen.sh 
            buildcheck: checking installation...
            buildcheck: autoconf not found.
                        You need autoconf version 2.59 or newer installed.
    
        brew install autoconf
            ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/autoconf-2.69.mavericks.bottle.tar.gz
            #################################################### 100.0%
            ==> Pouring autoconf-2.69.mavericks.bottle.tar.gz
            ?? /usr/local/Cellar/autoconf/2.69: 69 files, 2.0M
    
        ./autogen.sh 
            buildcheck: checking installation...
            buildcheck: autoconf version 2.69 (ok)
            buildcheck: autoheader version 2.69 (ok)
            buildcheck: libtool not found.
            You need libtool version 1.4 or newer installed
    
        brew install libtool
            Warning: A newer Command Line Tools release is available
            Update them from Software Update in the App Store.
            ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libtool-2.4.2.mavericks.bottle.2.tar.gz
            ##################################################### 100.0%
            ==> Pouring libtool-2.4.2.mavericks.bottle.2.tar.gz
            ==> Caveats
            In order to prevent conflicts with Apple''s own libtool we have prepended a "g"
            so, you have instead: glibtool and glibtoolize.
            ==> Summary
            ??  /usr/local/Cellar/libtool/2.4.2: 66 files, 2.2M
    
        ./autogen.sh 
            buildcheck: checking installation...
            buildcheck: autoconf version 2.69 (ok)
            buildcheck: autoheader version 2.69 (ok)
            buildcheck: libtool version 2.4.2 (ok)
            Copying libtool helper: /usr/local/share/aclocal/libtool.m4
            Copying libtool helper: /usr/local/share/aclocal/ltoptions.m4
            Copying libtool helper: /usr/local/share/aclocal/ltsugar.m4
            Copying libtool helper: /usr/local/share/aclocal/ltversion.m4
            Copying libtool helper: /usr/local/share/aclocal/lt~obsolete.m4
            Creating build-outputs.mk...
            Creating svn_private_config.h.in...
            Creating configure...
    
            You can run ./configure now.
    
            Running autogen.sh implies you are a maintainer.  You may prefer
            to run configure in one of the following ways:
    
            ./configure --enable-maintainer-mode
            ./configure --disable-shared
            ./configure --enable-maintainer-mode --disable-shared
            ./configure --disable-optimize --enable-debug
            ./configure CUSERFLAGS='--flags-for-C' CXXUSERFLAGS='--flags-for-C++'
    
            Note:  If you wish to run a Subversion HTTP server, you will need
            Apache 2.x.  See the INSTALL file for details.
    
        brew install swig
            ==> Downloading http://downloads.sourceforge.net/project/swig/swig/swig-2.0.11/swig-2.0.11.tar.gz
            ######################################################################## 100.0%
            ==> ./configure --prefix=/usr/local/Cellar/swig/2.0.11
            ==> make
            ==> make install
            ??  /usr/local/Cellar/swig/2.0.11: 597 files, 6.2M, built in 10.1 minutes 
    
        ./configure --with-swig=/usr/local/bin/swig
            configure: Configuring Subversion 1.8.8
            ... ...
            ==================================================================
            WARNING: You have chosen to compile Subversion with a different
                     compiler than the one used to compile Apache.
    
                Current compiler:  gcc
               Apache's compiler:  /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/cc
    
            This could cause some problems.
            ==================================================================
            ... ...
    
        make swig-py
        make install
        make check-swig-py        
        sudo make install-swig-py
    
        sudo cp -r /usr/local/lib/svn-python/ /Library/Python/2.7/site-packages/
    
    		

    執(zhí)行轉(zhuǎn)換命令

    				    mkdir hgpath
    
        cd hgpath
    
        hg init
    
        hg convert -s svn -d hg ${local_path} ./hgpath
    
    		

    注意,這里轉(zhuǎn)換的 SVN 目錄只能是倉庫目錄而不是工作目錄

    posted on 2014-02-28 11:25 ideame 閱讀(581) 評論(0)  編輯  收藏 所屬分類: Configuration

    主站蜘蛛池模板: 久久久久亚洲国产AV麻豆 | 亚洲av午夜福利精品一区人妖| 国产AV无码专区亚洲AV蜜芽| 成人激情免费视频| 亚洲欧美日韩中文高清www777| 毛片免费视频播放| 亚洲中文字幕无码亚洲成A人片| 免费无码A片一区二三区| 国产精品亚洲午夜一区二区三区| 18禁成年无码免费网站无遮挡| 亚洲中文字幕乱码一区| 日韩成人免费aa在线看| 高清免费久久午夜精品| 亚洲熟妇无码八AV在线播放| 无码av免费网站| 亚洲免费电影网站| 日韩黄色免费观看| 一级人做人爰a全过程免费视频| 国产AV无码专区亚洲Av| 99re在线精品视频免费| 中文有码亚洲制服av片| 国产在线观看免费完整版中文版| 72pao国产成视频永久免费| 久久亚洲国产欧洲精品一| 91高清免费国产自产| 亚洲av乱码中文一区二区三区| 亚洲国产日韩在线观频| 精品无码国产污污污免费网站 | 亚洲日韩精品A∨片无码加勒比| 免费a级毛片网站| 最新国产乱人伦偷精品免费网站| 亚洲精品美女久久久久9999| 毛片视频免费观看| 成人免费一区二区三区| 亚洲性69影院在线观看| 亚洲伊人成无码综合网 | 亚洲欧洲∨国产一区二区三区| 久久午夜夜伦鲁鲁片免费无码影视| 亚洲精品无码专区久久| 亚洲国产成人精品无码区在线观看 | 国产在线观看免费完整版中文版 |