Undoing changes to parcel-based code

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

Undoing changes to parcel-based code

Paul Baumann

It has been decades since I've had to seriously maintain code from a change set rather than from a code repository. Even VW code (not just application code) had been published in Store so that changes would be obvious and accounted for. Last week I ran into some problems with Store-represented code using VW 7.7.1. One workaround I'm exploring is to not use Store as much as we had for VW 7.5. I'm wondering though, how changes to parcels can be undone.

 

For example, I made a simple change to code represented in a parcel. I can see the change and what it was changed from (Browse->Changed methods.. then "Browse Method Change"). I can't really revert to the previous version though; the "replay" of a version just creates another change. I can't reload the parcel (to make it clean again). If I re-save the original code it is still a change. I looked into the "forget" changes kinds of options, but it applies to ALL changes rather than the specific ones I care about. So I'm wondering...

 

If you change code that is only parcel-based, how do you undo that change later so that the parcel is back to a clean load? Right now, it looks like the only way is to start over with a new image (and change file).

 

I make temporary changes to base code quite often. Rarely do those changes last more than a couple minutes before they are reverted.  It isn't helpful if every parcel grows to indicate it has changes when really it doesn't. It isn't helpful when I browse changes and see methods that had been reverted to their original definition.

 

Any tricks I should know about, for reverting *specific* changes managed from a change set?

 

Thanks,

 

Paul Baumann

 

 

 

 

 

 

 

 



This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange, Inc. (ICE), its subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.

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

Re: Undoing changes to parcel-based code

Jan Weerts
Hi Paul!

On 25.10.2010 17:58, Paul Baumann wrote:
> I can't reload the parcel (to
> make it clean again). If I re-save the original code it is still a
> change. I looked into the "forget" changes kinds of options, but it
> applies to ALL changes rather than the specific ones I care about.
> So I'm wondering...

I usually force a reload by doing something like
Parcel loadParcelFrom: 'C:\Program Files
(x86)\VisualWorks\vw7.7\security\CiphersBase.pcl'

The pundle still is marked as changed, but contains no changes.

And yes: I also dislike the inability to explicitly reload a piece of
code from its original source. The much more complicated store offers
it, so why not the parcel browser?

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