我剛剛從svn切換到mercurial,並閱讀了一些關於它的教程。
我仍然有一些混淆,我希望你能幫我理清。
我不知道我是否理解了mercurial repo右側的文件夾結構。
在svn的我通常有這些文件夾:mercurial repo中的文件夾結構?
的svn:
branches (branches/chat, branches/new_login etc)
tags (version1.0, version2.0 etc)
sandbox
trunk
如果一個分支實際上是善變的原/中央回購的另一個克隆?
看來,當我閱讀手冊。
而且標籤只是一個有名稱的標識符,但是您應該在創建標籤時克隆原始/中央回購?
沙盒怎麼樣?應該是另一個克隆嗎?
所以基本上你只是在回購所有的文件夾/文件,你會在中繼文件夾中?
善變:
central repo: projects folders/files (not in any parentfolder)
tag repo: cloned from central repo at a given moment for release
(version1.0, version2.0 etc)
branch repo: cloned from central repo for adding features (chat, new_login etc)
sandbox repo: experimental repo (could be pushed to central repo, or just deleted)
這是正確的?
是的,我已經很快瀏覽過它。他們談到了很多關於我覺得很有幫助的不同命令,但是我傾向於使用GUI來處理合並,克隆等等。現在我使用Netbeans和Bitbucket,它的工作原理非常棒! – 2010-04-17 10:23:54