aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-03 13:13:47 -0300
committerEuAndreh <eu@euandre.org>2023-03-03 13:13:47 -0300
commitd709ded8105f55dfe441ebb196a4747bedcfc749 (patch)
tree6d716873c19e500fcbf0059b808667a5815b846c
parentetc/nix/configuration.nix: Add tekton and aws-auth packages (diff)
downloaddotfiles-d709ded8105f55dfe441ebb196a4747bedcfc749.tar.gz
dotfiles-d709ded8105f55dfe441ebb196a4747bedcfc749.tar.xz
bin/vcs: Consistent ordering of VCS types
-rwxr-xr-xbin/vcs12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/vcs b/bin/vcs
index c06cb4e..1f4a784 100755
--- a/bin/vcs
+++ b/bin/vcs
@@ -4,11 +4,11 @@ set -eu
TYPES='
git
-mercurial
+fossil
bitkeeper
darcs
+mercurial
cvs
-fossil
'
@@ -37,6 +37,10 @@ git_fetch() {
git fetch --all "$@"
}
+fossil_fetch() {
+ fossil pull "$@"
+}
+
darcs_fetch() {
darcs fetch "$@"
}
@@ -45,10 +49,6 @@ mercurial_fetch() {
hg pull "$@"
}
-fossil_fetch() {
- fossil pull "$@"
-}
-
cvs_fetch() {
timeout 300 cvs update "$@"
}