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

Re: Changelists don't work with directories

From: David Glasser <glasser_at_davidglasser.net>
Date: Mon, 3 Mar 2008 07:59:29 -0800

On Mon, Mar 3, 2008 at 4:55 AM, Marc Strapetz <marc.strapetz_at_syntevo.com> wrote:
> I have tried to add a directory to a changelist with "svn --changelist
> clname dir" but there happens nothing. I would expect the directory
> being non-recursively added to the changelist (--depth=empty). Or do
> changelists intentionally not work on directories?

There's a couple questions here:

* Should changelists work on directories?

* If not, what should "svn cl foo dir" do?

I'm OK with keeping changelists from directories for 1.5; we took away
the support for a reason, it's a reasonable feature without them, and
adding more complexity to 1.5 will make it even harder to finish.

However, I think we should either make "svn cl" recursive by default
(so that "svn cl foo dir" adds all the file descendents of "dir" to
"foo"), or print a warning for each directory. Daniel Shahaf wrote
some patches to accomplish these. I'm actually starting to change my
mind and think that defaulting to empty is OK, as long as the warnings
are printed.

--dave

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-03-03 16:59:44 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.