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

Re: Flag to preserve offline operation of WC -> WC copy

From: Madan U Sreenivasan <madan_at_collab.net>
Date: 2006-10-25 00:30:57 CEST

On Tue, 24 Oct 2006 01:46:36 +0530, Daniel Rall <dlr@collab.net> wrote:

> On Thu, 19 Oct 2006, Malcolm Rowe wrote:
>
>> On Wed, Oct 18, 2006 at 05:23:08PM -0700, dlr@tigris.org wrote:
>> > + operations should change the merge info. Instead, this form of
>> > + 'copy' will not replicate non-local merge info unless the -u
>> > + switch (new) is used (a la 'status -u').
>>
>> Bikeshed, but _please_ don't use the --show-updates/-u switch for
>> this - it really doesn't have anything to do with 'copy'.
>
> We're trying to handle a couple use cases here:
>
> 1) Allow WC -> WC 'copy'/'move' commands to continue to support
> offline operation.
>
> 2) Allow WC -> WC 'copy'/'move' commands to propogate both explicity
> merge info (the pre-existing value of the "svn:mergeinfo" property on
> the source path), and implicit merge info (all revisions represented
> by the object at the source path).
>
> An option for 'copy'/'move' will be introduced to support #2. "-u"
> was suggested because it make 'status' contact the repository, which
> is similar to what it'll do here. However, the long name
> "--show-updates" isn't correctly descriptive of what we're doing
> (retrieving any inherited merge info and looking up the revision when
> the source path first appeared). Anyone have a better suggestion?

How about making repos access the default option. That is, by default an
offline wc to wc copy, would fail saying that access to the respository is
required, but this could be overridden by using the '--offline' flag, in
which case, the mergeinfo would be inconsistent until the commit happens.

Did we discuss this options earlier and reject it for some reason during
the summit? I dont remember... so bringing it up for discussion. Feel free
to shoot it down... ;)

Regards,
Madan.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 25 00:01:40 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.