Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Purpose of the mine-full and theirs-full commands

Tags:

svn

According to the docs:

(mc) mine-conflict - accept my version for all conflicts (same)
(tc) theirs-conflict - accept their version for all conflicts (same)

(mf) mine-full - accept my version of entire file (even non-conflicts)
(tf) theirs-full - accept their version of entire file (same)

I don't understand the difference between the *-conflict and *-full commands. It seems like it would get you the same results.


More: See this thread for a more detailed response to this question.

like image 389
Hua-Ying Avatar asked Jan 21 '10 22:01

Hua-Ying


2 Answers

The 'conflicts' version will use the specified copy for the conflicts only, letting the normal merge work for any other changes.

Using the 'full' version will use the entire file as specified, disregarding the results of the merge.

http://svnbook.red-bean.com/en/1.8/svn.tour.cycle.html#svn.tour.cycle.resolve

like image 147
rjohnston Avatar answered Nov 15 '22 23:11

rjohnston


mine-conflict will use your code in every conflict situation, but still do regular merging in all other situations.

mine-full will use your entire file, throwing away all changes in theirs.

like image 42
digitaljoel Avatar answered Nov 16 '22 00:11

digitaljoel