You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2011/04/08 12:33:44 UTC

svn commit: r1090188 - /subversion/trunk/subversion/libsvn_client/export.c

Author: rhuijben
Date: Fri Apr  8 10:33:44 2011
New Revision: 1090188

URL: http://svn.apache.org/viewvc?rev=1090188&view=rev
Log:
* subversion/libsvn_client/export.c
  (close_file): Add comment.

Modified:
    subversion/trunk/subversion/libsvn_client/export.c

Modified: subversion/trunk/subversion/libsvn_client/export.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/export.c?rev=1090188&r1=1090187&r2=1090188&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/export.c (original)
+++ subversion/trunk/subversion/libsvn_client/export.c Fri Apr  8 10:33:44 2011
@@ -982,6 +982,9 @@ close_file(void *file_baton,
   actual_checksum = svn_checksum__from_digest(fb->text_digest,
                                               svn_checksum_md5, pool);
 
+  /* Note that text_digest can be NULL when talking to certain repositories.
+     In that case text_checksum will be NULL and the following match code
+     will note that the checksums match */
   if (!svn_checksum_match(text_checksum, actual_checksum))
     return svn_checksum_mismatch_err(text_checksum, actual_checksum, pool,
                                      _("Checksum mismatch for '%s'"),