Re: Is there ever a good reason to lock down the repo when performing a copy (no, right?)
From: David Weintraub <qazwart_at_gmail.com>
Date: Sat, 16 Aug 2008 23:35:01 -0400
If you are doing a copy with in a working directory, you aren't
If you are doing a copy to a URL, that is an atomic operation, so your
For example, creating a branch is done via "svn cp". I have a
I hope this eases your concerns.
-- David Weintraub qazwart_at_gmail.com On Fri, Aug 15, 2008 at 9:53 PM, Matthew Russell <matthew.russell_at_digitalreasoning.com> wrote: > Hello - I'm having trouble finding something that definitively says that svn > copy works in such a way that you should never have to lock down the repo > during a large copy for fear of someone committing during your copy and, > thus, compromising the integrity of the copy somehow by introducing a new > revision. > > I think the fear from our support folks might be two-fold: 1) that the > commit during the copy would somehow result in corruption, and 2) that the > commit would mix up revision numbers and the copy would somehow end up being > two different revisions. > > It stands to reason that svn copy would work strictly on a revision (even if > you specify HEAD, which is still a specific revision when svn copy is > invoked), which would make the fact that someone else is committing during > the copy a moot point. It also stands to reason that everything is handled > by a transaction with svn, so unless I'm wrong, that pretty much covers the > issues, right? > > Again - it's not me (no, really!) that needs convincing. It's just that the > lack of "it's ok to commit during an in-progress copy" being written in > stone somewhere has spooked people around here. > > Any pointers on anything else that might be helpful to dispelling this > issue? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org > For additional commands, e-mail: users-help_at_subversion.tigris.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org For additional commands, e-mail: users-help_at_subversion.tigris.orgReceived on 2008-08-17 05:35:29 CEST |
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.