使用SVN的大型分支

时间:2012-03-05 10:31:50

标签: svn version-control

我们遵循开发新功能的新分支的做法,并在完成开发后再次合并特定分支。

现在问题是我们400MB size of trunk以及code checkout of new feature branch每次takes a lot time remote server。有没有办法克服这个问题,因为它不必要地阻止我等待代码从trunk结账。事实上,我在new feature branch内的机器上有相同的代码,但svn info指向trunk,需要指向{{1}}。有线索吗?

1 个答案:

答案 0 :(得分: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.