Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Basic4ppc Wishlist
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Basic4ppc Wishlist Missing any feature?


Revision backups


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-02-2007, 12:30 PM
Knows the basics
 
Join Date: May 2007
Location: Daarsit
Posts: 94
Default Revision backups

With the autosave feature (& without it too) it's quite easy to write a chunk of code, test it & decide you wanted to go in a different direction... but you forgot to save a version of the file before the branch.

It would be nice to have auto renaming of the current .sbp file (adding to date to the filename?) to provide auto-backups. Some kind of backup directory & housekeeping functions for number/age of backup files might be nice, but I'd be prepared to tidy up myself if these simply triggered a warning msgbox.
Reply With Quote
  #2 (permalink)  
Old 06-02-2007, 02:58 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,127
Default

Yes I tend to agree that it would be usefull if atleat the currently in use file would be backed up during its editing time.
What i mean is that some time I stop programing when i reach a surtain run capability, and the resume coding... At that time if any of my current coding errors,and since some features demand previous save, i'm stuck with an erroing app.
My sugestion would go in to making auto-save actually auto-backup, and only when we closed the file or finished currrent coding session, prompt to save/update the sbp file...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #3 (permalink)  
Old 06-02-2007, 03:21 PM
Knows the basics
 
Join Date: Apr 2007
Location: Kindred,ND
Posts: 94
Default

I think that this would take a lot of time as I run as I am coding.
Reply With Quote
  #4 (permalink)  
Old 06-02-2007, 03:46 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,127
Default

There would be no noticeable loss of time as normally we have the auto-save feature on, but imagine an app tha has 10 of 20 subs, you tned to go by stages and do specific event driven subs before any "calculations" subs, at least I do....So if after all the event sub were done if you had an error in a "calculations" sub that you just couldn't see", a backup file would be of interest in order to restart Exactly from where you were, and re-think the troubling sub...
I've had ocasions when it was easier to me to just restart the hole project because I just didn't know anymore what subs worked and were could be my eror...If only I had Backed up that time....Of course we can alway do our own back-up before re-opening a sbp file, if we remember to...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #5 (permalink)  
Old 06-03-2007, 09:57 PM
Knows the basics
 
Join Date: Apr 2007
Location: Kindred,ND
Posts: 94
Default

The idea would be to saveas before testing new code if ok then saveas original. Otherwise you need multi bak files. To make a bak files you have to rename the old and save the new, which as I said would take time.
Reply With Quote
  #6 (permalink)  
Old 06-04-2007, 08:23 PM
Knows the basics
 
Join Date: May 2007
Location: Daarsit
Posts: 94
Default

My view:
On running the working program you have autosave set to on & save the current project over itself.
Changing this behaviour to autosave the current project under a different file name should take the same time, but will use disc space. This could be tidied up/prompted for at the close of the editor.

With this "autosave as backup" as an option, everyone should be happy.
Reply With Quote
  #7 (permalink)  
Old 06-05-2007, 01:26 PM
Knows the basics
 
Join Date: Apr 2007
Location: Kindred,ND
Posts: 94
Default

Linecutter has a good method. it would use a lot of dick space but would be retrievable. I do save as if i plan a diff route.
Reply With Quote
  #8 (permalink)  
Old 06-05-2007, 10:27 PM
Knows the basics
 
Join Date: May 2007
Location: Daarsit
Posts: 94
Default

Quote:
Originally Posted by bdiscount View Post
Linecutter has a good method.
An option to keep n autosaves in total, where n is user configurable, would solve the problem. 25-50 would cover the sort of slip ups I've created for myself.
Quote:
Originally Posted by bdiscount View Post
it would use a lot of dick space but would be retrievable.
PMSL
Reply With Quote
  #9 (permalink)  
Old 06-06-2007, 03:14 PM
Knows the basics
 
Join Date: Apr 2007
Location: Kindred,ND
Posts: 94
Default

sorry about the misspelling. It would have to read in sb1 or sb2 etc.
Reply With Quote
  #10 (permalink)  
Old 06-06-2007, 09:19 PM
Knows the basics
 
Join Date: May 2007
Location: Daarsit
Posts: 94
Default

Quote:
Originally Posted by bdiscount View Post
sorry about the misspelling.
No need to apologize. I knew it was a mistype, but when I managed to stop laughing I couldn't help but point it out.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 06:58 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0