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

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

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

    逝者如斯夫

    靜而思之
    數據加載中……

    如何將 SVN 源碼庫轉換為 Mercurial

    如何將 SVN 源碼庫轉換為 Mercurial [1]

    首先得安裝 Subversion 庫函數

    				    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í)行轉換命令

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

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

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

    主站蜘蛛池模板: 色在线亚洲视频www| 亚洲1234区乱码| 精品国产污污免费网站入口在线| 国产极品美女高潮抽搐免费网站| 亚洲大成色www永久网址| 女人18毛片特级一级免费视频 | 免费看美女让人桶尿口| 亚洲国产精品精华液| 日本不卡在线观看免费v| 国产亚洲午夜精品| 亚洲精品无码专区2| 国内永久免费crm系统z在线| 亚洲短视频男人的影院| 最近高清中文字幕免费| 国产精品亚洲四区在线观看| 最近2019中文免费字幕| 精品久久亚洲一级α| ZZIJZZIJ亚洲日本少妇JIZJIZ| 日本高清不卡aⅴ免费网站| 久久久无码精品亚洲日韩按摩| 国产成人免费网站| 精品国产亚洲AV麻豆| 国产综合亚洲专区在线| 热re99久久6国产精品免费| 亚洲jjzzjjzz在线播放| 国产一区二区三区在线免费观看 | 免费大片黄在线观看| 亚洲av无码av制服另类专区| 久久久久av无码免费网| 亚洲欧美成人av在线观看| 亚洲人成网站18禁止一区 | 国产成人亚洲毛片| 亚洲乱码中文字幕久久孕妇黑人| 99re视频精品全部免费| 亚洲AV无码一区二区三区性色| 最新国产AV无码专区亚洲| 成人免费AA片在线观看| 国产美女视频免费观看的网站| 亚洲一区电影在线观看| 亚洲无码在线播放| 破了亲妺妺的处免费视频国产|