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

Re: Feature Request: Indicator for Mixed Versions.

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-10-15 12:44:01 CEST

On 15/10/2007, Hans-Werner Dietz <hans-werner.dietz@dbt.de> wrote:
> I have a feature request. I like to see a different Icon if a version is
> "mixed". I think best is a new icon, but also the "modified" Icon is
> better than the green "normal" Icon because mixed versions are not
> really clean.

No, we will not add any more icons:

> The reason is that there are many developers who think that the green
> "normal" Icon from TSVN means that their actual working copy is clean
> and that they can very easily reproduce all green directories from the
> repository. But in fact the green Icon only means that they successful
> push their changes into the repository; an update to this revision
> number can push prior changes from other people to their working copy.
> In the moment I use SubWcRev to indicate this. This can indicate both:
> Modified and Mixed versions:
> An example:
> Status1) Revision No is 1000 and two users (A and B) updates her source
> codes to this version.
> Status 2) Both Users make changes: There Icon switches from green
> "normal" to "modified".
> Status 3) User A commits his change: -> Revision 1001 -> Icon switches
> from "modified" to "normal"
> Status 4) User B commits his change (Without updating and without
> conflicts): -> Revision 1002 -> Icon switches from "modified" to
> "normal"
> Status 5) User B makes an update: -> He gets the changes from Revision
> 1001. But Icon is the same green "normal" Icon than before.
> SubWcRev gives me the following information for the example:
> Status 1) Revision 1000 (not modified and not mixed)
> Status 2) Both get Revision 1000 with modified attribute
> Status 3) A gets 1001 mixed (even if an "update" only pushes the "mixed"
> away without getting updates in the source code at the working
> copy)
> Status 4) B gets 1002 mixed
> Status 5) B gets 1002 (without mixed)
> At 3) and 4) SubWcrev gives me the information that I have to make an
> Update. So in this case another Icon for the working copy's directory is
> better to indicate the mixed-revision situation

SubWCRev is not telling you that there is more information in the
repository, only that your WC has not been updated to the same
revision throughout. At stage 3, if user A updates he will get a
normal, unmodified, unmixed working copy. After B commits his changes,
SubWCRev will continue to give A the same result. It does not contact
the repository.

The only reliable way to check is to use Check for Modifications and
use the 'Check repository' button.


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Oct 15 12:44:13 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.