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

Re: Check in only for files not in changelist?

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: Mon, 15 Dec 2008 09:22:57 -0600

On Mon, Dec 15, 2008 at 4:49 AM, Shachar Shemesh <shachar_at_shemesh.biz> wrote:
> Hi,
>
> I went over the docs, and I don't think I'm missing anything. In any
> case, the default behavior for svn is confusing for me.
>
> When one puts a file into a changelist, this may mean one of two things:
> 1. One wants to commit this file earlier than the rest of the modified files
> 2. One wants to put off committing this file
>
> Option 1 is fairly well implemented, but option 2 does not appear to be
> supported. I would expect, when typing "svn ci", that only those files
> that do not belong to any change list be committed (with something along
> the lines of "svn ci --cl all" for committing everything). This is not
> the behavior on my system (version 1.5.1 from Debian Lenny). Instead,
> everything is marked for commit when no explicit change list is given.

Changelists are simply a facility for labeling groups of modified
files. These labels are completely ignored *unless* you specify
--changelist to subcommands. If there's no --changelist flag, then
the commands behave the same way they've always behaved, before the
changelist feature existed.

That said, your use-case #2 never occurred to me, nor have I ever
heard anyone ask for it. I think it might be interesting to have a
way of saying "all changed files NOT in this changelist", or "all
changed files which are not part of any changelist." It would be a
fair amount of work to implement such a thing though. You'd have to
write a designdoc and such. :-)

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=984506
Received on 2008-12-15 16:23:14 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.