[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Document and check svnsync revprops

From: David Glasser <glasser_at_mit.edu>
Date: 2006-08-04 01:21:22 CEST

The following patch documents the meaning of the svnsync revprops and,
at sync time, throws an error if they are not consistent.

--dave

[[[
Make svnsync check more carefully that the destination repository's
revprops and latest revision are consistent, and test this.

* subversion/svnsync/main.c
  Document the revision properties at their #defines.
  (do_synchronize): Check that the newly-documented condition
   on latest-merged-rev, currently-copying, and latest_revision
   holds, throwing an error otherwise. Also, if a revision has
   completely copied except for resetting the currently-copying
   prop, don't recopy revprops.

* subversion/tests/cmdline/svnsync_tests.py
  (run_sync): Allow tests which expect svnsync errors.
  (detect_meddling): New test which commits to the sync source
   and gets caught.
  (test_list): Add new test.
]]]

-- 
David Glasser | glasser_at_mit.edu | http://www.davidglasser.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Fri Aug 4 01:21:57 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.