Versions
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 1
- Joined: Tue Jun 11, 2019 8:17 am
Versions
How do you keep track of changes in Rev?
I frequently save different versions with a different name, but my stacks continue to have the same names so that my scripts all work. However, when I launch a different version of a project, Rev complains that several stacks have the same names. Do I have to rename all my stacks every time I save a slightly different version of a project? Can I completely remove a project from memory so that I can reload a related stack? I find it quite frustrating: the message asks: do you want to purge, save, or cancel, then keeps asking the same question over and over. I've tried several combinations and haven't found the one that just leaves the last project alone, and launches the new one as is.
I frequently save different versions with a different name, but my stacks continue to have the same names so that my scripts all work. However, when I launch a different version of a project, Rev complains that several stacks have the same names. Do I have to rename all my stacks every time I save a slightly different version of a project? Can I completely remove a project from memory so that I can reload a related stack? I find it quite frustrating: the message asks: do you want to purge, save, or cancel, then keeps asking the same question over and over. I've tried several combinations and haven't found the one that just leaves the last project alone, and launches the new one as is.
-
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Versions
I keep track of changes in 2 different ways (depending on what
sort of mood I'm in that day):
1. Do each save into a date-stamped folder on my hard drive.
2. Save stacks with the date appended to both the name of the
file and the name of the stack it contains.
I do the second thing by popping a "Save" button the my stack
that will perform a save with an appended date.
And all that purge stuff makes no sense whatsoever to me; so I just get round it by doing #2.
sort of mood I'm in that day):
1. Do each save into a date-stamped folder on my hard drive.
2. Save stacks with the date appended to both the name of the
file and the name of the stack it contains.
I do the second thing by popping a "Save" button the my stack
that will perform a save with an appended date.
And all that purge stuff makes no sense whatsoever to me; so I just get round it by doing #2.
Re: Versions
I work in much older versions, but,
Yes you can, and quite easily from the project browser or menubar.losiledlighting wrote: ↑Tue Jun 11, 2019 8:19 amCan I completely remove a project from memory so that I can reload a related stack?
-
- VIP Livecode Opensource Backer
- Posts: 7238
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Versions
If you want to replace the copy in memory with the new copy you're opening, choose Purge. To avoid the problem entirely, do as Bogs says and remove the existing stack from memory first using the LC menu.
The default preference for new stacks is to keep them in RAM when you close them. You can change that in prefs so that all new stacks will be completely removed when closed. You can set existing stacks to use that behavior by setting its destroystack property to true in the stack property inspector. I always work with destroystack true to avoid the problem. On the few occasions when I don't want the stack cleared from memory I set the property for the stack to false manually.
The default preference for new stacks is to keep them in RAM when you close them. You can change that in prefs so that all new stacks will be completely removed when closed. You can set existing stacks to use that behavior by setting its destroystack property to true in the stack property inspector. I always work with destroystack true to avoid the problem. On the few occasions when I don't want the stack cleared from memory I set the property for the stack to false manually.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Versions
I have also experienced the "Save/Purge/Cancel" madness when simply doing "Save as..." with a stack. Of course not reproducable, but highly annoying!
-
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Versions
One way to avoid "the madness" is to rename your stack when you do a "Save as . . ."
-
-
Re: Versions
Why should I, if I only want to save the same stack under a new filename?
The madness should not happen at all!
The madness should not happen at all!