-
Notifications
You must be signed in to change notification settings - Fork 0
SVN_information
We use subversion to edit our code and share with others.
Extensive SVN documentation: http://svnbook.red-bean.com/
To check if you are online properly: svn ls svn://svn.macaulay2.com/Macaulay2
-- First you need to install "subversion" --this will give you a program called svn. Macs already have this.
-- Now, make a directory to keep all the stuff from this workshop:
mkdir somedir
cd somedir
--Next you'll want to "check out" stuff that everyone has put into the repository. The command is "co" and you use it as follows:
svn co svn://svn.macaulay2.com/Macaulay2/workshops/WFU-2012
This command will download the contents of the WFU-2012 folder, including all the packages we are working on right now.
-- Of course you can use the usual commands to get the contents:
ls
cd WFU-2012
-- In order to add your own file to the repository, you need to do the following: add the file, and then check it in via "ci":
svn add Foo.m2
svn ci -m "this is where I put summary of what I've done to my file Foo.m2"
-- To update your directory run:
svn up
-- To see the changes made to the directory:
svn stat
-- To get the summary of the changes between your file and the version of the file someone else has checked in:
svn diff
-- Finally, if you want the latest version of everything including packages from previous workshops:
svn co svn://svn.macaulay2.com/Macaulay2/trunk M2
-- Then look inside
Macaulay2/packages/development/
MORE NOTES -- IS THERE ANYTHING BELOW THAT IS USEFUL?
If you'd like to add a file that has never been checked in before, run: ' svn add filename' .
To check a file in, run: '''svn ci -m 'adding some text to README' '''.
To update your repository: '''svn up '''; run this command from the folder IMA-2011, for example.
To see summary of changes that other people have made: svn log .
To get version control commands inside emacs: C-x v C-h
-
Home
- Introduction
- Macaulay2 Contribution Guides
- Macaulay2 Workshop Guides
-
Macaulay2 Internals
- Building Macaulay2 from source
- Components of Macaulay2
- Case Studies
- Web servers
- Other
- Frequently Asked Questions
- Road map