Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
dev:cvs [2011/10/26 20:58] – digitalman | dev:cvs [2019/04/10 17:45] – [Checking Status] mention the useful 'cvs diff --brief' command digital man |
---|
* ''sbbs310k'' | * ''sbbs310k'' |
* ''sbbs314a'' | * ''sbbs314a'' |
| * ''sbbs315a'' |
| * ''sbbs316c'' |
| * ''sbbs317b'' |
| |
NOTE: If you really want to build an old release, you'll probably have better luck downloading a source archive (e.g. ''ssrc314a.zip'' or ''ssrc314a.tgz'') from ftp://vert.synchro.net/ and building that instead as some deprecated files may have been removed from the CVS repository since. | NOTE: If you really want to build an old release, you'll probably have better luck downloading a source archive (e.g. ''ssrc314a.zip'' or ''ssrc314a.tgz'') from ftp://vert.synchro.net/ and building that instead as some deprecated files may have been removed from the CVS repository since. |
| |
==== Example ==== | ==== Examples ==== |
| |
CVS command-line example: | CVS command-line example (for non-Windows OSes): |
cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs co src-sbbs3 lib | cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs co src-sbbs3 lib |
| |
| CVS command-line example (for Windows): |
| cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs co src-sbbs3 lib-win32 |
| |
| ==== Login ==== |
| |
| If you have not already done so, you will need to login to the CVS repository at least once (the ''install/GNUmakefile'' for logs-in for you when installing on *nix [[install:nix#using CVS]]): |
| |
| cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs login |
| |
==== Changes ==== | ==== Changes ==== |
| |
The ''lib'' and ''lib-win32'' module aliases actually refer to sub-directories of the ''/3rdp'' module. | The ''lib'' and ''lib-win32'' module aliases actually refer to sub-directories of the ''/3rdp'' module. |
| |
| ==== Updating ==== |
| |
| To update your Synchronet source files from CVS, execute from the parent of your Synchronet ''src'' directory (e.g. ''/sbbs''): |
| cvs update -d src 3rdp |
| |
| To update your Synchronet executable script and module files from CVS, after backing-up your exec directory, execute from your Synchronet directory (e.g. ''/sbbs''): |
| cvs update -d exec |
| |
| ==== Checking Status ==== |
| |
| To get a list of locally-modified files (in the current working directory), run a //dummy checkout// with the command: |
| cvs -qn update |
| |
| Example: |
| <code> |
| $ cvs -qn update |
| U ftpsrvr.c |
| M jsexec.c |
| cvs update: warning: `smbutil.c' was lost |
| U smbutil.c |
| M xtrn.cpp |
| </code> |
| In this example, the file ''ftpsrvr.c'' was modified, but contains no changes, the file ''smbutil.c'' was removed, and the files ''jsexec.c'', ''smbutil.c'', and ''xtrn.cpp'' have local changes that will be merged (the ''M'' status) with a normal ''cvs update''. |
| |
| A normal ''cvs update'' (without the ''-qn'' option) will merge up-stream changes (changes made by others in the repository) into your local files, but its possible those changes may conflict with your local changes (if there are any) in which case the file status will be displayed as ''C'' and those merge-conflicts must be resolved using an editor (or the local file deleted and checked-out again from the repository). |
| |
| For a detailed status of all the CVS-tracked files in the current working directory, use the ''cvs status'' command. |
| |
| An alternative method to get a list of locally-modified files (in the current working directory) is to perform a comparison (diff): |
| cvs diff --brief |
| |
===== See Also ===== | ===== See Also ===== |
* [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi|Web-based CVS access]] [[http://cvs-mirror.synchro.net/cgi-bin/viewcvs.cgi|Mirror]] | * [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi|Web-based CVS access]] [[http://cvs-mirror.synchro.net/cgi-bin/viewcvs.cgi|Mirror]] |
* [[http://vert.synchro.net/commitlog.ssjs|Log of recent commits (changes/additions) to the CVS repository]] | * [[http://vert.synchro.net/commitlog.ssjs|Log of recent commits (changes/additions) to the CVS repository]] |
* [[http://wincvs.org/|GUI CVS clients for Windows, Mac, and Unix/Linux]] | * [[http://cvsgui.sourceforge.net/|GUI CVS clients for Windows (WinCVS), Mac, and Unix/Linux]] |
* [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/install/checkout.bat|Windows batch file to get/update required modules using the Win32 command-line CVS client]] | * [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/install/checkout.bat|Windows batch file to get/update required modules using the Win32 command-line CVS client]] |
* [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/CVSROOT/modules|List of modules and module aliases in the Synchronet CVS repostiory]] | * [[dev:git|Git Repository Mirror (Read-Only)]] |
| |
| |
| |