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

Re: Problem with changelists and new directories

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Tue, 22 Jul 2008 09:26:27 -0400

Karl Fogel wrote:
> "C. Michael Pilato" <cmpilato_at_collab.net> writes:
>> That's the problem, Karl.
>>
>> They have a situation like this:
>>
>> svn changelist "issue-21" wc/mu
>> svn changelist "issue-21" wc/A/D/G/rho
>> mkdir wc/some-new-module
>> edit wc/some-new-module/new-file
>> svn changelist "issue-21" wc/some-new-module/new-file
>>
>> Now, they have 3 files in a changelist "issue-21", but one of those
>> files lives in a directory slated for addition. When they run 'svn
>> commit --changelist issue-21', Subversion does as told -- tries to
>> commit only those three changelist-bearing files. But of course, you
>> can't commit a file that lives in a directory scheduled for addition
>> if you don't also commit said directory.
>>
>> (Non-minimal, admittedly) recipe attached.
>
> I get it now, thanks.
>
> How to solve? Have the client also commit any newly-added directories
> leading down to a changelist-included item in a given commit?

Would we rather grow support for depth-empty directory changelists?

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

Received on 2008-07-22 15:26:50 CEST

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.