4

After doing a bzr mv --auto a deleted file and a new file have been incorrectly picked up as a moved file, and now show up as renamed under bzr status. How can I change this so that the new file is marked as new again (and the deleted as deleted)?

4

2 回答 2

5

鉴于:

$ bzr status
renamed:
  a => b

你需要做:

$ bzr mv b a
b => a
~$ mv a b
$ bzr add b
adding b
$ bzr status
removed:
  a
added:
  b
于 2012-11-06T13:09:13.933 回答
0

你可以对文件做一个简单revert的。

请注意,这将还原重命名,还会还原您在内部所做的修改,所以要小心!

在此处输入图像描述

于 2012-11-07T09:12:36.637 回答