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

Re: replace and changelists

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Thu, 24 Feb 2011 10:51:54 -0500

On 02/23/2011 12:17 PM, Philip Martin wrote:
> Philip Martin <philip.martin_at_wandisco.com> writes:
>
>> Changelists only contain files in 1.6, but in 1.7 files can be replaced
>> with directories:
>>
>> $ svn changelist qq wc/foo
>> $ svn rm wc/foo
>> $ svn mkdir wc/foo
>>
>> Does the changelist qq refer to the replacing dir foo or only to the
>> replaced file foo?

If a directory replaces a file with a changelist, the changelist should be
removed from that path. We do not allow changelist assignments on
directories, period, making the rest of your thread irrelevant:

> When a recursive revert is passed a changelist revert only operates on
> names that are both part of the recursive tree and in the changelist.
> When the changelist was just files this was relatively easy, but what
> happens when a name in the changelist is now a directory? Does the
> directory get reverted? If so, should the revert be recursive or
> non-recursive?

[...]

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2011-02-24 16:52:37 CET

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.