开发者

Cannot pull newly-added top-level directory into sparsely-checked out SVN repository

Our SVN repository is quite large, and pulling the whole thing takes some time. When checking out at home, I was pleased to discover the sparse checkout feature; I checked out the whole repository to a depth of 1, then pulled each top-level directory (directly under the trunk) that I needed to a depth of infinity. Until now this has been brilliant.

Recently I added a new directory under trunk. When I do a svn up, I get nothing. The TLD I added will not sync.

I normally use Tortoise SVN, so I tried doing this from command line. I tried explicitly specifying the name of the directory, adding --depth infinity, adding --force. Non开发者_运维百科e of these tricks has worked. What am I missing?


Turns out I had another directory that was incorrectly retrieved (checked out into the same tree). The update was halting when it got to that directory. When I deleted it and repeated a svn up, I got the newly-added directory, as expected.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜