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

RE: Changelists on directories

From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 18 Apr 2011 20:12:26 +0200

> -----Original Message-----
> From: Hyrum K Wright [mailto:hyrum_at_hyrumwright.org]
> Sent: maandag 18 april 2011 20:06
> To: Subversion Development
> Subject: Changelists on directories
>
> Issue #3310 is about adding directory support for changelists. As I
> work through updating the way that changelists are set and unset in
> wc-ng, it seems like more work to *not* allow changelists on
> directories.
>
> The issue is a bit sparse on details, so before I go changing this
> behavior, I'd like to have a bit more information. Other than simple
> storage mechanisms, what other considerations came into the decision
> not to allow changelists on directories? Was there some bikeshed
> which just never got painted the right color?

This was discussed in the last weeks/months before releasing 1.5.

The problem here is that we don't know how certain operations should behave.

Things like:
* What should a 'svn commit' do with one directory in a changelist and an
entire tree full of changes?
(Current behavior is that 'commit' commits all directories and only files in
the changelist below all targets)

* How should a delete work when you combine depth with changelists like 'svn
rm --changelist Q --depth=files DIR'?
(Delete the directory; or just the files below it? Something else?)

* What should a 'svn revert --depth=files --changelist Q DIR' do?

Instead of enabling it without thinking about it, we decided to disable it
for 1.5.

That way we could later enable it without breaking backwards compatibility.

        Bert
Received on 2011-04-18 20:13:00 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.