Tutorial [GUIDE] How to Set up & use SVN - For Liberty Sense 6 ROM - EASY GUIDE

Here is a guide on how to set up SVN on your Windows Computer so you can use it with ROMs like Liberty Sense 6. You must also have 7-zip installed.

How to set up SVN for the first time
  1. First download Tortoise SVN from here and install it.
  2. Once it is installed, open a folder inside your user's folder. This is where you will create another folder later
  3. Now right-click in empty space, select Tortoise SVN and select Settings
    Picture Help:
     
  4. Once in Settings, click General and click Edit beside Subversion Configuration file
    Picture Help:
     
  5. A text file will open up. Press CTRL+F and type in (without quotes) "global-ignores".
    The line your looking for will be like: # global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__
    Picture Help:
     

    Now no must delete the "*.so" part only, NOT the "*.so.[0-9]*" part.
    Picture Help:
     

    Once it is deleted it should look like the picture below
    Picture Help:
     

    Use the picture just before this one to compare and see if you went wrong
  6. Now save the file by clicking File, then Save and close the Notepad (You won't need a picture to help you out there )
  7. You can now close the Tortoise SVN Settings window
  8. Now create a new folder anywhere inside your user's folder or on external storage
    (You can call it whatever you want, I named mine Liberty-SixthSense)
  9. Now go inside that folder, right-click in any empty space and select SVN Checkout
    Picture Help:
     
  10. In the Checkout window type or copy in for the URL of Repository (without quotes) "http://sense-6-for-one-s.googlecode.com/svn/trunk/"
    Picture Help:
     

    The Checkout Directory will be the folder where you opened up the SVN Checkout window
  11. Then press OK and it will start downloading the files (this will take some time)
    Picture Help:
     
  12. When its finished you should see something these files and folders in the picture below
    Picture Help:
     

    I didn't download all the files because it took too long, but you will have the following files & folders
    META-INF, additions, boot.img, data, system
  13. Now you must make another folder in the same directory as the one used to download the files. This will be our "output" folder.
    (Call it what you want)
    Picture Help:
     
  14. Now go back to the folder we created first, right-click in empty space, select Tortoise SVN and then select Export
    Picture Help:
     
  15. In the window that pops up navigate to your "output" folder, click on it once and click Select Folder
    Picture Help:
     
  16. Once its finished copying the files to your "output" folder, go to it and highlight all the files (Either by clicking and holding and drag to highlight all files or CTRL + Click on each file)then right-clicking in empty space, then select 7-zip and select Add to Archive
    Picture Help:
     
  17. In the 7-zip window, you must select the archive format as "zip". You can change the name as long it has the .zip at the end. Then press OK to start zipping
    Picture Help:
     
  18. That's it , now place the .zip file you just created on your SD Card and flash away!!! Remember, you need HBOOT 2.16 installed. If you don't know how to do that, then follow my other guide here


How to receive and flash new updates
  1. First you have to go to the location of your "output" folder, open it, select all files, right click on them and delete them.
    Picture Help:
     
  2. Now go back to the location of your "output" folder and right click on the other folder and select SVN Update, it should have a green tick on it now
    Picture Help:
     
  3. It will begin to pull any new or changed files which won't take long. Then once its finished pulling the files open the folder with the green tick, right-click in empty space, select Tortoise SVN and then select Export
    Picture Help:
     
  4. In the window that pops up navigate to your "output" folder, click on it once and click Select Folder
    Picture Help:
     
  5. Once its finished copying the files to your "output" folder, go to it and highlight all the files (Either by clicking and holding and drag to highlight all files or CTRL + Click on each file)then right-clicking in empty space, then select 7-zip and select Add to Archive
    Picture Help:
     
  6. In the 7-zip window, you must select the archive format as "zip". You can change the name as long it has the .zip at the end. Then press OK to start zipping
    Picture Help:
     
  7. And that is it, just copy it to your SD Card and flash it. Make sure to select Update Only in the Aroma Installer

Enjoy!!!