2012-03-05 52 views
0

我們遵循開發新功能的新分支並在完成開發後再將特定分支合併到主幹中的做法。與SVN的大型分支機構合作

現在的問題是,我們有400MB size of trunk和每當我們做code checkout of new feature branchtakes a lot time。有沒有什麼辦法可以解決這個問題,因爲它不必要地阻止我等待代碼從remote server結帳。實際上,我在trunk之內的計算機上有相同的代碼,但svn info指向中繼線,並且需要指向new feature branch。任何線索?

回答

2
svn help switch 
switch (sw): Update the working copy to a different URL within the same repository. 
usage: 1. switch URL[@PEGREV] [PATH] 
     ... 

    1. Update the working copy to mirror a new URL within the repository. 
    This behavior is similar to 'svn update', and is the way to 
    move a working copy to a branch or tag within the same repository. 
    If specified, PEGREV determines in which revision the target is first 
    looked up.