sup(1) - do <whatever SCM> update
sup [-erq] [<path>...]
vcs [-q] [<path>...]
sup(1)
is a tool to just "update" a working directory using whatever
SCM commands appropriate for the directory. Updating is performed for
each given path, or the current directory if none is given.
sup
currently supports CVS (cvs
), Subversion (svn
), Git
(git
/git-svn
), Mercurial (hg
) and Bazaar (bzr
).
Git-only features:
- Calls
git-sync
orhub sync
if they are available - Updates remotes in parallel
- Follows the
master
tomain
switch in remotes
If called as vcs
, the name of SCM detected is printed for each given
path.
The following command line arguments are supported:
Show errors only, suppressing output of successful updates.
Suppress warnings like "VCS unknown".
Update directories recursively according to a file named .sup
which
should list the names of subdirectories to process. Empty lines and
lines starting with #
are ignored, lines starting with -
or !
are regarded as negative patterns, and those starting with +
or
otherwise, are regarded as positive patterns. Surrounding space
characters are trimmed, and shell wildcards are available.
In recursion, symbolic links are ignored for security reasons.
-
The name obviously collides with the legendary tool "SUP" (Software Upgrade Protocol).
-
sup
callsrebase
in Git instead ofmerge
and there is no way to configure that. -
There is no command line option, no configuration and no nothing.
Copyright (c) 2008-2024 Akinori MUSHA.
Licensed under the 2-clause BSD license. See LICENSE.txt
for
details.
Visit GitHub Repository for the latest information.