> -----Original Message----- > From: Hyrum K Wright [mailto:hy...@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