/[Apache-SVN]
ViewVC logotype

Revision 1470238


Jump to revision: Previous Next
Author: julianfoad
Date: Sat Apr 20 21:47:39 2013 UTC (11 years, 7 months ago)
Changed paths: 1
Log Message:
Improve labelling of the file diff in interactive conflict resolution.  Show
labels like

  --- THEIRS - relpath/to/file.r1234
  +++ MERGED - relpath/to/file

instead of like

  --- /home/julianfoad/tmp/svn/conflicts/wc/f.r1234  Thu Apr 18 15:17:49 2013
  +++ /home/julianfoad/tmp/svn/conflicts/wc/f  Thu Apr 18 15:17:49 2013

This applies only to the 'df' option which shows a 2-way diff for a text
file; the 'dc' 3-way diff option already uses labels such as 'THEIRS' and
'MINE'.

* subversion/svn/conflict-callbacks.c
  (show_diff): Construct labels for the before and after sides of the diff.
    Take a path prefix parameter and use it to display shorter paths.
  (handle_text_conflict): Pass the path prefix to show_diff().


Changed paths

Path Details
Directorysubversion/trunk/subversion/svn/conflict-callbacks.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26