我们遵循开发新功能的新分支的做法,并在完成开发后再次合并特定分支。
现在问题是我们400MB size of trunk
以及code checkout of new feature branch
每次takes a lot time
remote server
。有没有办法克服这个问题,因为它不必要地阻止我等待代码从trunk
结账。事实上,我在new feature branch
内的机器上有相同的代码,但svn info指向trunk,需要指向{{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.