Scm-scripts is a project mainly written in ..., it's free.
Useful scripts when working with source control.
Useful scripts when working with source control (mostly svn
, but also git
) from the shell.
svnurl.sh
-- Extracts the repository URL from a svn
or git-svn
working path.trac.sh
-- Opens a working copy in its Trac repository browser. Set the trac hostname in .trac_host
at the repo root, or globally with $TRAC_HOST
.svnex.sh
, svnig.sh
, svnkey.sh
-- Wrappers around the verbose syntax for editing svn:externals
, svn:ignore
, and svn:keywords
respectively.svnup.sh
-- Calls svn up
on all direct children of a directory which are svn working copies.svnst.sh
-- Prints svn status
without any of the noise from externals.$SCM_SCRIPTS_BASE
-- Directory which holds these scripts and their resources. Set this when you want to alias the scripts to some other path.$TRAC_HOST
-- Defualt hostname used by trac.sh
to open a working copy in your browser.$SVN_KEYWORD_FILE
-- File containing default keywords to set with svnkey.sh
. Defaults to $SCM_SCRIPTS_BASE/keywords.txt
.$SVN_UP_PROJECTS
-- Default directory to use for svnup.sh
when none is specified.Open an issue here, or email me at [email protected]
.