Obtaining Math 157 Repository Files/Directories
The class repositories are located at https://www.math.ucla.edu/~anderson/157support/. The repositories at this location are Mercurial based repositories. There are two ways that the repositories can be downloaded.
Method 1: Using the Mercurial hg command.
- Open a DOS command line window (or Linux/Unix shell) and cd to your course directory.
- Create a clone of the NameOfRepository repository using the command
hg clone https://www.math.ucla.edu/~anderson/157support/NameOfRepository/
|
- This will create a directory called NameOfRepository in the directory where the command is executed.
- To refresh the files (or "pull" new versions if the files are updated) you just need to cd into the local repository directory that was created and execute the two commands
hg pull
hg update
you do not need to re-clone the repository.
If you don't have the hg command available, there are pre-built binary versions of the program available from http://www.selenic.com/mercurial/wiki/index.cgi/BinaryPackages. For Linux/Unix users it is also a program that is usually available via most package managers.
Method 2: Downloading the .gz or .zip version of the repository.
- Go to https://www.math.ucla.edu/~anderson/157support/. Note that the address starts with https not http.
- Click on the .zip (or .bz, or .bz2) links associated with theNameOfRepository repository and download the compressed file to your course directory.
- Uncompress the file. This will create a directory that contains a directory with the requisite files. Rename the directory as desired.
- If the files in the repository change, you will have to re-download the files to get the newer versions.