Author: philip
Date: Wed Jan 27 17:39:49 2016
New Revision: 1727140

URL: http://svn.apache.org/viewvc?rev=1727140&view=rev
Log:
* subversion/svnsync/svnsync.c
  (do_synchronize): Tweak up-to-date test.

* subversion/tests/cmdline/svnsync_tests.py
  (up_to_date_sync): Remove XFAIL.

Modified:
    subversion/trunk/subversion/svnsync/svnsync.c
    subversion/trunk/subversion/tests/cmdline/svnsync_tests.py

Modified: subversion/trunk/subversion/svnsync/svnsync.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/svnsync/svnsync.c?rev=1727140&r1=1727139&r2=1727140&view=diff
==============================================================================
--- subversion/trunk/subversion/svnsync/svnsync.c (original)
+++ subversion/trunk/subversion/svnsync/svnsync.c Wed Jan 27 17:39:49 2016
@@ -1549,7 +1549,7 @@ do_synchronize(svn_ra_session_t *to_sess
   /* Now check to see if there are any revisions to copy. */
   SVN_ERR(svn_ra_get_latest_revnum(from_session, &from_latest, pool));
 
-  if (from_latest < last_merged)
+  if (from_latest <= last_merged)
     return SVN_NO_ERROR;
 
   /* Ok, so there are new revisions, iterate over them copying them

Modified: subversion/trunk/subversion/tests/cmdline/svnsync_tests.py
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnsync_tests.py?rev=1727140&r1=1727139&r2=1727140&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnsync_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnsync_tests.py Wed Jan 27 
17:39:49 2016
@@ -572,7 +572,6 @@ PROPS-END
   # Compare the dump produced by the mirror repository with expected
   verify_mirror(dest_sbox, dump_out)
 
-@XFail()
 def up_to_date_sync(sbox):
   """sync that does nothing"""
 


Reply via email to