[vwnc] Store question ...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] Store question ...

Dennis smith-4
I have 3 packages where if I do
    Right-Click | Store | Reconcile With Database
then choose the most recent DB version -- the package gets marked as
"changed" because
the changeSet from the DB Package is copied into the one in the image.

What is going on here??

--
Dennis Smith                         +1 416.798.7948
Cherniak Software Development Corporation   Fax: +1 416.798.0948
509-2001 Sheppard Avenue East        [hidden email]
Toronto, ON M2J 4Z8              sip:[hidden email]
Canada         http://www.CherniakSoftware.com
Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Store question ...

Reinout Heeck
Dennis Smith wrote:
> I have 3 packages where if I do
>     Right-Click | Store | Reconcile With Database
> then choose the most recent DB version -- the package gets marked as
> "changed" because
> the changeSet from the DB Package is copied into the one in the image.
>
> What is going on here??

I guess this copying is what store calls 'fast comparison'.

Fast comparison probably meaning something like "the image knows it all
in some changeset so it doesn't need to compare to info in the DB".

Where 'some changeset' is associated with the DB package - it will be
initialized empty when the package is loaded (or published) and
accumulate relevant changes during development.


Do you get different results if you turn 'fast comparison' off in the VW
settings for Store? (so it actually compares two sets of code instead of
relying on changes cached in some changeset).



R
-
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Store question ...

Terry Raymond
In reply to this post by Dennis smith-4
Dennis

You might be hitting a store bug that has been fixed in 7.7.

Terry
 
===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================

> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Dennis Smith
> Sent: Thursday, January 08, 2009 9:00 AM
> To: VWNC,
> Subject: [vwnc] Store question ...
>
> I have 3 packages where if I do
>     Right-Click | Store | Reconcile With Database
> then choose the most recent DB version -- the package gets marked as
> "changed" because
> the changeSet from the DB Package is copied into the one in the image.
>
> What is going on here??
>
> --
> Dennis Smith                         +1 416.798.7948
> Cherniak Software Development Corporation   Fax: +1 416.798.0948
> 509-2001 Sheppard Avenue East        [hidden email]
> Toronto, ON M2J 4Z8              sip:[hidden email]
> Canada         http://www.CherniakSoftware.com
> Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Store question ...

Alan Knight-2
In reply to this post by Reinout Heeck
I don't know what either of you means. When you reconcile with the database, it will compare the package in the image to what's in the database and set the changeset to the differences between the two. There is no changeSet in the database. If you reconcile it and the package gets marked as changed, that's because the package in the image is different from the one in the database.

It's been a while since I looked, but I'm pretty sure that the Fast Comparison setting in Store refers only to publishing. It tells it whether to rely on the change set information in the image, or whether to do a reconcile before publishing. The Help for that setting in the settings tool also seems to agree with that. If you reconcile, Fast Comparison is irrelevant, you're forcing a reconcile.

At 09:11 AM 1/8/2009, Reinout Heeck wrote:
Dennis Smith wrote:
> I have 3 packages where if I do
>     Right-Click | Store | Reconcile With Database
> then choose the most recent DB version -- the package gets marked as
> "changed" because
> the changeSet from the DB Package is copied into the one in the image.
>
> What is going on here??

I guess this copying is what store calls 'fast comparison'.

Fast comparison probably meaning something like "the image knows it all
in some changeset so it doesn't need to compare to info in the DB".

Where 'some changeset' is associated with the DB package - it will be
initialized empty when the package is loaded (or published) and
accumulate relevant changes during development.


Do you get different results if you turn 'fast comparison' off in the VW
settings for Store? (so it actually compares two sets of code instead of
relying on changes cached in some changeset).



R
-
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

--
Alan Knight [|], Engineering Manager, Cincom Smalltalk

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Store question ...

Dennis smith-4
OK -- looks like its my fault -- My changeListUI (subclass of PundleChangeList) was
failing to note a "protocol" change in a method and so resolved the "identical source"
to be taken from Store instead of from my image -- sorry for the bother!

Alan Knight wrote:
I don't know what either of you means. When you reconcile with the database, it will compare the package in the image to what's in the database and set the changeset to the differences between the two. There is no changeSet in the database. If you reconcile it and the package gets marked as changed, that's because the package in the image is different from the one in the database.

It's been a while since I looked, but I'm pretty sure that the Fast Comparison setting in Store refers only to publishing. It tells it whether to rely on the change set information in the image, or whether to do a reconcile before publishing. The Help for that setting in the settings tool also seems to agree with that. If you reconcile, Fast Comparison is irrelevant, you're forcing a reconcile.

At 09:11 AM 1/8/2009, Reinout Heeck wrote:
Dennis Smith wrote:
> I have 3 packages where if I do
>     Right-Click | Store | Reconcile With Database
> then choose the most recent DB version -- the package gets marked as
> "changed" because
> the changeSet from the DB Package is copied into the one in the image.
>
> What is going on here??

I guess this copying is what store calls 'fast comparison'.

Fast comparison probably meaning something like "the image knows it all
in some changeset so it doesn't need to compare to info in the DB".

Where 'some changeset' is associated with the DB package - it will be
initialized empty when the package is loaded (or published) and
accumulate relevant changes during development.


Do you get different results if you turn 'fast comparison' off in the VW
settings for Store? (so it actually compares two sets of code instead of
relying on changes cached in some changeset).



R
-
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

--
Alan Knight [|], Engineering Manager, Cincom Smalltalk

_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

-- 
Dennis Smith                 		         +1 416.798.7948
Cherniak Software Development Corporation   Fax: +1 416.798.0948
509-2001 Sheppard Avenue East        [hidden email]
Toronto, ON M2J 4Z8              <a class="moz-txt-link-freetext" href="sip:dennis@CherniakSoftware.com">sip:dennis@...
Canada			         http://www.CherniakSoftware.com
Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Store question ...

Reinout Heeck-2
In reply to this post by Alan Knight-2
Alan Knight wrote:
>
> It's been a while since I looked, but I'm pretty sure that the Fast
> Comparison setting in Store refers only to publishing.
I put a breakpoint in #useChangeSetsForCompare.

So far it seems this method is called when publishing as per above, and
also when loading a different version of an already loaded package.

The breakpoint is not hit when doing a reconcile...


R
-







> It tells it whether to rely on the change set information in the
> image, or whether to do a reconcile before publishing. The Help for
> that setting in the settings tool also seems to agree with that. If
> you reconcile, Fast Comparison is irrelevant, you're forcing a reconcile.
>
> At 09:11 AM 1/8/2009, Reinout Heeck wrote:
>> Dennis Smith wrote:
>> > I have 3 packages where if I do
>> >     Right-Click | Store | Reconcile With Database
>> > then choose the most recent DB version -- the package gets marked as
>> > "changed" because
>> > the changeSet from the DB Package is copied into the one in the image.
>> >
>> > What is going on here??
>>
>> I guess this copying is what store calls 'fast comparison'.
>>
>> Fast comparison probably meaning something like "the image knows it all
>> in some changeset so it doesn't need to compare to info in the DB".
>>
>> Where 'some changeset' is associated with the DB package - it will be
>> initialized empty when the package is loaded (or published) and
>> accumulate relevant changes during development.
>>
>>
>> Do you get different results if you turn 'fast comparison' off in the VW
>> settings for Store? (so it actually compares two sets of code instead of
>> relying on changes cached in some changeset).
>>
>>
>>
>> R
>> -
>> _______________________________________________
>> vwnc mailing list
>> [hidden email]
>> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
> --
> Alan Knight [|], Engineering Manager, Cincom Smalltalk
> [hidden email]
> [hidden email]
> http://www.cincom.com/smalltalk
> ------------------------------------------------------------------------
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>  
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc