开发者

svn says conflicted but it's really merged (TortoiseSVN)

Lately I've been seeing behavior where after an update svn shows certain files as "conflicted" but when I try to edit the conflicts, there are none (The "next conflict" and "previous conflict" buttons are disabled an开发者_如何转开发d if I scroll through the file, none of the lines are marked red).

This seems to have started after I started working from a different repository than I had been working with, but I'm not sure if that's related.


You can use svn resolved to remove the conflict markers if they're there in error.

resolved: Remove 'conflicted' state on working copy files or directories.
usage: resolved PATH...

Note: this subcommand does not semantically resolve conflicts or remove conflict markers; it merely removes the conflict-related artifact files and allows PATH to be committed again.


Go to the options in TortoiseMerge and make sure that

  • you don't ignore eols
  • you don't ignore any whitespaces

I'm pretty sure the conflict exists in either eols or whitespaces.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜