SVN

From Glacsweb Wiki
Jump to: navigation, search

to checkout whole lot:

svn checkout https://svn.glacsweb.info/glacsweb

You'll need to accept the SSL key as it's self signed. A web frontend is available at https://web.svn.glacsweb.info


General work practice:

  • svn update - to get any changes
    • note this only works from your current dir down
  • work on your checkout, when something works
  • svn commit - submit your changes and make sure to add a comment
    • note that documents or PCBs could be committed after a chunk is done
    • only commit source code not binaries or #eagle files
  • Other useful commands
    • svn add newnamenevercheckedinbefore
    • svn rm fileIcheckedinaccidentally
    • svn cp <source> <dest> # This copies a file from one place to another in the svn and keeps all version history
    • svn mv <source> <dest> # As copy but moves it
    • svn status # shows any outstanding modifications and files not yet added to the repo


Possible Errors

svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LANG is en_GB.UTF-8
svn: warning: please check that your locale name is correct

Is fixed by

sudo apt-get install language-pack-en-base
sudo locale-gen UTF-8
sudo locale-gen en_GB.UTF-8
sudo locale-gen en_US.UTF-8

From http://stackoverflow.com/questions/11300633/svn-cannot-set-lc-ctype-locale


Other useful SVNs

These SVNs might contain useful data for glacsweb - although all relevent stuff should be in main tree, and these might have been 'archived'

  • gum-inter-dev (3rd year project overo board came out of)
  • gumsense-devel (3rd year project connex board came out of)
  • gumsense (further work on connex board - mainly iam-sensor-net stuff)