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

Re: [Subclipse-users] changesets and updating them in the sync view

From: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 11 Nov 2008 09:41:15 -0500

On Tue, Nov 11, 2008 at 9:36 AM, Johan Compagner <jcompagner_at_gmail.com> wrote:
>> You cannot update a directory without also updating its children. The
>> Subversion working copy format does not support that concept. CVS
>> does not version folders so cannot really be used as a comparison. In
>> our testing of CVS, it handled files the same way that we do (with the
>> exception of the folder problem). But if a file was changed in many
>> versions, you do not see the changesets for anything but the latest
>> version.
>> I did not write any of this code, but I seem to recall that the
>> Synchronize view itself, does not allow a file to belong to more than
>> one changeset. That is why we cannot simply include it in each
>> changeset. I could be wrong about that. The Subversion API only
>> tells us the latest version of the file in the repository so there
>> would be no way to know it belonged to any other revisions anyway, at
>> least not without running svn log on every file in the view.
> ahh ok,
> then i guess the big behavior difference in subclipse plugin and cvs plugin
> at least how we notice it is because of dirs.
> Can we have an option that dirs are never updated with a change set?
> But only the files? Because if the dirs are updated then anything that is
> below it can also go with it and that is not what one expect to happen if you just
> say update these files.

If someone wants to write and test it I guess. I think it would be a
lot more complicated than it sounds. Certainly folder adds and
deletes would have to show up. There could be other problems with not
updating folders.

> the same for properties of a dir. That is a "file" of the dir right? Is it
> possible to update only that instead of the dir (and all the children) itself?

No, it is not possible to update the properties of a folder without
also updating the children. Properties are metadata. How they might
be stored in a working copy does not really matter or provide any
other options for working with them.

Mark Phippard
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-11-11 15:41:25 CET

This is an archived mail posted to the Subclipse Users mailing list.