Subversion

From DataMining

Jump to: navigation, search

on any unix machine:

 svn co https://webdav.seas.upenn.edu/svn/datamining/trunk/software/

or browse it at

 https://webdav.seas.upenn.edu/viewvc/datamining/trunk/software/

Basic commands

  • svn co -- checks out a directory
  • svn add <filename> adds a file (assuming you are in a checked out directory
  • svn commit sends all updates and added files back to the repository ("checks it in")
  • svn update updates your local directory to be consistent with the server (except where you have more made changes)
  • svn status - check what is up to date ...

DO NOT ADD FILES THAT DIFFER ONLY IN THEIR CASE; If you add both the files "add.m" and "Add.m", you'll cause someone major grief when they try to checkout on a windows machine

To get svn to ignore various types of files when checking status, go to .subversion/config and uncomment and edit the line starting "global-ignores". You also need to uncomment the "section header" , called "miscellany" (leave the square brackets there).

 global-ignores = *.o *.lo *.la #*#  .DS_Store *.log *.log *.aux *.pdf *.toc *.lot *.blg

You can see what SEAS says at https://svn.cis.upenn.edu/, but their instructions do not fully apply to us.

New group members should do as follows:

 Please run htpasswd to generate a password hash and mail it to ungar@cis.upenn.edu, 
 along with a request to join the "datamining" repository. 
 Your interaction with htpasswd should go something like
 % htpasswd -s -n username
 New password: <type your password>
 Re-type new password: <type your password again>
 username:{SHA}C+7Hteo/D9vJXQ3UfzxbwnXaijM=

Windows users may want to use the Tortoise svn interface


Main Page for the University of Pennsylvania Datamining group

Personal tools