9
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

subversion でディレクトリ削除がコミットできないとき

Posted at

問題

例えば、下記のような構成でコミットされているとします。

parent
 - hoge
   - a.html
   - b.html

この状態でhoge を削除したいのですが、うまくいきませんでした。
Directory 'hoge' is out of date' とか言われます。

解決方法

ググったところ、stackoverflowの記事 を見つけました。
んーなんかよくわかんないけど、下記手順でできました。

  1. a.html b.html の削除をコミット
  2. svn up hoge
  3. hoge の削除をコミット

ファイルを削除するとそのディレクトリのリビジョンが上がるから、一回update しないとだめ、みたいな話みたいです。

9
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?