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

Re: Different behaviours when update externals based on the folder or subfolder selected

From: Mauro Brenna <malloblenne_at_gmail.com>
Date: Fri, 28 Feb 2014 15:58:24 +0100

I am not sure it is intentional. For me it sounds as an ambiguous behaviour
and in my opinion, ambiguity should be avoided.
If it is a 'feature' then it should be documented.
I think the main reason why it is working like that is that the search for
the property is just propagated to subfolders but not upwards, so if the
root folder has a different property this is not checked.
I would like to have some more opinions in merit.

Sure, I will print a big paper in the company where I am working with
written 'don`t do that', but I hope it will be a temporary solution.

Regards,

Mauro

On 28 February 2014 15:47, Ben Fritz <fritzophrenic_at_gmail.com> wrote:

> On Fri, Feb 28, 2014 at 3:04 AM, Mauro Brenna <malloblenne_at_gmail.com>
> wrote:
> > Hello,
> >
> > I would like to report this unexpected behaviour of TortoiseSVN 1.8.5
> > dealing with external.
> > I am using the latest version of the software but the error occurs also
> in
> > previous versions.
> >
> > How to reproduce the error:
> >
> > - In my project I have a folder, let`s call if myextfolder, with
> externals.
> > So inside that folder I have different subfolders (lib1,lib2,lib3) each
> > pointing to the trunk of a library. I use fixed Peg revision number for
> my
> > externals, the Operative is left blank.
> > - Now, one of the folder contains a fixed revision which is not the
> latest
> > one (I am pointing to a fixed old revision for one library)
> >
> > You have two different behaviours if:
> >
> > - You right click on myextfolder and update or equivalently go inside
> > myextfolder and right click, update. In this case the correct property is
> > used and my libX subfolder is updated to the revision I want (a fix old
> > revision)
> > - You go in myextfolder and select (left click) libX, then right click on
> > libX and update. In this case the latest trunk for libX is downloaded.
> So it
> > is ignoring my property in externals.
> > - The same happens if you select all the subfolder with ctrl+a and update
> > them. The latest revision is used instead of the one set in the external
> > properties.
> >
> > This is probably undesirable and can cause confusion.
> > I hope the issue is stated clearly enough to be reproducible.
> >
>
> I think this is intentional. Any "external" folder is basically its
> own independent working copy. This allows you to update to the latest
> to do some development on that library, or switch it to a different
> version, or whatever to do some testing. Even better, you can "svn
> commit" from that folder to make changes to a library and test them
> out before you inflict them on other people.
>
> So the solution to getting confused when you right-click an external
> folder to do an update is: "don't do that".
>
> ------------------------------------------------------
>
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3073804
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_tortoisesvn.tigris.org].
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3073807

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-02-28 15:58:54 CET

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