subversion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
subversion [2021/03/17 20:52] – updated with svn info peteyboy | subversion [2021/03/18 17:36] (current) – [Subversion] added RCS link peteyboy | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Subversion ====== | ====== Subversion ====== | ||
- | //*THIS TUTORIAL IS UNDER CONSTRUCTION*// | + | This tutorial is not about using a version control system, or about using Subversion, but about how to get started with Subversion on SDF. Other source control tools available for looking into are [[hosted git repos - gitea on sdf | SDF-hosted git]] (newer, distributed version control), [[CVS]] (older technology than SVN) and [[RCS]] (the granddaddy) |
- | This tutorial is not about using a version control system, or about using Subversion, but about how to get started | + | There are graphical tools such as TortoiseSVN, but we will start with Subversion's command-line tool (this is SDF we're talking about, right?) which is '' |
- | + | Subversion is normally intended to be hosted on a server, so working with it locally | |
- | There are graphical tools such as TortoiseSVN, but we will start with Subversion' | + | |
===== Creating A Repository ===== | ===== Creating A Repository ===== | ||
Line 41: | Line 40: | ||
cd html | cd html | ||
- | svn import | + | svn import -m " |
In this command | In this command | ||
- | * ' | + | * ' |
* '-m " | * '-m " | ||
* '< | * '< | ||
Line 52: | Line 51: | ||
You can modify the message, the module name and the tags to your liking, just keep in mind that in the rest of this tutorial we will use ' | You can modify the message, the module name and the tags to your liking, just keep in mind that in the rest of this tutorial we will use ' | ||
- | ===== 4 Checking It Out ===== | + | ===== Checking It Out ===== |
- | cd | + | |
- | mkdir coding-projects | + | svn co file:// |
- | | + | |
- | svn co file:// | + | |
- | + | To verify that you've checked out a working copy of just the //html// directory, first, do an '' | |
- | To verify that you've checked out a working copy, run '' | + | |
< | < | ||
- | $ svn info my-cool-project | + | $ svn info html |
- | Path: my-cool-project | + | Path: html |
- | Working Copy Root Path: / | + | Working Copy Root Path: / |
- | URL: file:// | + | URL: file:// |
- | Relative URL: ^/ | + | Relative URL: ^/html |
Repository Root: file:// | Repository Root: file:// | ||
Repository UUID: 6909fbfb-0895-7146-9482-bf1fd1033119 | Repository UUID: 6909fbfb-0895-7146-9482-bf1fd1033119 | ||
Line 74: | Line 70: | ||
Last Changed Author: peteyboy | Last Changed Author: peteyboy | ||
Last Changed Rev: 1 | Last Changed Rev: 1 | ||
- | Last Changed Date: 2021-03-17 20:45:00 +0000 (Wed, 17 Mar 2021) | + | Last Changed Date: 2021-03-17 20:56:14 +0000 (Wed, 17 Mar 2021) |
</ | </ | ||
- | ===== 5 Accessing It Remotely ===== | + | ===== Accessing It Remotely ===== |
+ | |||
+ | One way to easily set up access to your svn repo for remote use is to set up [[trac_on_sdf|Trac]] on SDF | ||
- | TBD | + | Another is to run [[http:// |
subversion.1616014338.txt.gz · Last modified: 2021/03/17 20:52 by peteyboy