Pixel Pedals of Tomakomai

北海道苫小牧市出身の初老の日常

svk sync -s HEAD をすると svk switch できない

まあ、タイトルの通りです。


svk sync -s HEAD は非常に便利なんですけど、これをやると svn copy された履歴を持ってこないので、 svk switch しようとしてもできなくなります。switch 大好きな人はご注意を。

svk sync -s HEAD すると、

This is essentially making a checkout of the url, and is bad if the
url contains directories like trunk and branches. If this isn't what
you mean, please hit ^C.

と言われます。trunkとかbranchesとかは-s HEADしないようにってことですね。