Followup to r27875. Add logic to tell whether the path being diffed is the
commitad8688ee266128bc4028fde5d89eb4ae0bd8d9dd
authormarkphip <markphip@612f8ebc-c883-4be0-9ee0-a4e9ef946e3a>
Mon, 10 Dec 2007 19:29:21 +0000 (10 19:29 +0000)
committermarkphip <markphip@612f8ebc-c883-4be0-9ee0-a4e9ef946e3a>
Mon, 10 Dec 2007 19:29:21 +0000 (10 19:29 +0000)
tree686c755f9eb494a137bdab0c59ad713803db8018
parent8fb21277033186bfce48cf6f318764a70bafa62e
Followup to r27875.  Add logic to tell whether the path being diffed is the
same as the path the diff paths should be relative to.  In that scenario,
specify a path of '.' in the diff output, instead of throwing an error.

* subversion/libsvn_client/diff.c:
  (display_prop_diffs, diff_content_changed): Updated for new path check.

[ in subversion/bindings/javahl/ ]

* tests/org/tigris/subversion/javahl/BasicTests.java
  (testDiff): Test scenario where path and relative path are the same.

Patch by: Jeremy Whitlock <jwhitlock@collab.net>

git-svn-id: http://svn.collab.net/repos/svn/trunk@28374 612f8ebc-c883-4be0-9ee0-a4e9ef946e3a
subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java
subversion/libsvn_client/diff.c