/[Apache-SVN]
ViewVC logotype

Revision 1619452


Jump to revision: Previous Next
Author: julianfoad
Date: Thu Aug 21 15:47:37 2014 UTC (9 years, 8 months ago)
Changed paths: 2
Log Message:
Fix the copy-from revision number reported in a diff header. It previously
reported 'nonexistent' instead of the copy-from revision in some cases.

1.8.x showed inconsistent revision indications in the diff '---' header in
different scenarios -- the copy-from revision in some cases, 'revision 0' in
some cases, possibly other indications in other cases. This fix doesn't make
everything great but just reduces the degree of inconsistency a little.

* subversion/libsvn_client/diff.c
  (diff_file_added, diff_dir_added): Pass on the copy-from revision number.

* subversion/tests/cmdline/diff_tests.py
  (diff_git_format_wc_wc,
   diff_local_copied_dir): Update the expected output.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_client/diff.c modified , text changed
Directorysubversion/trunk/subversion/tests/cmdline/diff_tests.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26