Version Control


Closed Thread
Results 1 to 34 of 34

Thread: Version Control

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Cool Voila!!!

    Hello Everyone,

    Well, I've finally done it, thanks to some help from Nuno.

    I've created a backup program that works with both PBP (running MCSP) and with Crownhill's PDS. I will try to add additional IDE support in the future.

    It will backup source code whether it's compiled with MPASM or the PBP assembler.

    You must have PBP installed in the default filepath though (c:\pbp\).

    Unfortunately, it doesn't backup include files at this time.

    However, I've been told that if you try and compile an include file on it's own, it will get backed up, even though the compile operation fails. I'm not sure if that's a bug or a feature.



    In any case, unless you're using include files that you plan on changing, this should work just fine.

    I will add a parser in the new year that will look for all of the includes in your "main" .BAS file and back them up when they've changed.

    Until then though, I'm off to the sunny Caribbean for 3 weeks of relaxation. So, no tech support until January 10th, ok.

    Have a great holiday everyone!

    Regards,
    Attached Files Attached Files
    ---> picnaut

  2. #2
    Join Date
    Feb 2008
    Location
    Michigan, USA
    Posts
    231


    Did you find this post helpful? Yes | No

    Default Re: Version Control

    Hi all,
    Along the lines of this thread, I wondered how you folks deal with deleting the many unneeded previous versions ( and specifically all of the compiler and extra files) after you have a set of workable ones?

    I usually have a few revs that I want to save and go back to, but all of these previous development files become burdensome after a while. You can delete the .PBP files pretty easily, but to get rid of the trash, I have to open the whole folder pick and choose.

    I wonder if there is a way to accomplish dumping the whole set of files associated with a certain rev without doing it in such a tedious manner?
    Say an option in MCS that allows you to delete the main file and it automatically grabs the support files and dumps those too. If I delete the .PBP files, I leave a bunch of orphans (.asm, .cod, .hex, .lst, .mac).
    Doing it manually takes quite a bit of concentration and time.

    I suppose one way would be to delete ALL of the support files and then remove the .PBP files that you don't want. You would then have to re-compile the ones that you have left when needed.

    Just looking for thoughts
    Bo
    Last edited by boroko; - 16th October 2011 at 12:42. Reason: formating

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Version Control

    On larger projects I end up with multiple directories and sub dirs.TestWorkingRevFinishThe names are self explanatory.When I have something in the Working directory that works I complie and save to a Rev dir. When things get to the Finish I just delete the dirs not needed.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. How do I give a radio control car autonomous control
    By Kenjones1935 in forum General
    Replies: 190
    Last Post: - 17th January 2010, 16:40
  2. No one-way approach to learning ir remote control frequencies
    By selbstdual in forum mel PIC BASIC Pro
    Replies: 41
    Last Post: - 22nd June 2007, 14:26
  3. How to set TMRO & TMR3 as Counter?.
    By NatureTech in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 18th May 2007, 09:52
  4. Allow better control of text in GUI
    By Archangel in forum PBP Wish List
    Replies: 1
    Last Post: - 19th February 2007, 14:25
  5. Control RC servo via Parallax Servo Control
    By cibotsan in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th September 2005, 09:18

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts