Pergunta

  1. I merge changes of a file from a branch into the trunk-branch.
  2. I wrongly resolved a conflict, and want to start from scratch, so I revert the trunk-file to it's original state.
  3. I redo step 1, but nothing happens. In the merge window, I check the log, all branches I want to merge into this file are grayed out. This is TortoiseSVN's way of telling me "You already merged these changes into this file, no need to do it a 2nd time."

Since nothing was comitted, this has to be client-side issue. I tried a cleanup, but it didn't help.

Foi útil?

Solução

Found it, the merge information is kept in the parent directory's property svn:mergeinfo. In Windows XP you can access this using the directory's context menu -> Properties -> Subversion. I only reverted the file, so TortoiseSVN did not clear this info.

Outras dicas

It seems you should mark the file as conflict resolved. If it doesn't help or you are not available to do this, try to remove the sorces and checkout them back from svn.

You can review uncommitted local changes with the "Check for modifications" menu option and you can discard them with the "Revert" one. Actually, port information is stored as a bunch of regular svn:mergeinfo properties and that's what Subversion uses to decide whether a revision has been merged or not.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top