From: Joey Hess Date: Thu, 11 Oct 2007 19:45:48 +0000 (-0400) Subject: better cvs handling approach X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/080ad719ad774540f7f2f340d14e0bb948c775dc?hp=cf8b5e73c2f1c3eb21ddeb9a00e4d70f8720239b better cvs handling approach --- diff --git a/debian/control b/debian/control index 7874c67..d125ef9 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,7 @@ Package: mr Architecture: all Section: utils Depends: -Suggests: subversion, git-core +Suggests: subversion, git-core, cvs Description: a Multiple Repository management tool The mr(1) command allows you to register a set of repositories in a .mrconfig file, and then checkout, update, or perform other actions on diff --git a/mr b/mr index 441c2e2..856de11 100755 --- a/mr +++ b/mr @@ -490,7 +490,7 @@ status = \ elif [ -d "$MR_REPO"/.git ]; then \ git status "$@" || true; \ elif [ -d "$MR_REPO"/CVS ]; then \ - echo "cvs status not run (too ugly)"; \ + cvs status "$@"; \ else \ error "unknown repo type"; \ fi diff --git a/mrconfig b/mrconfig index db9fb58..e4ae9a0 100644 --- a/mrconfig +++ b/mrconfig @@ -24,6 +24,10 @@ commit = git push kite checkout = \ CVSROOT=:ext:joeyh@cvs.debian.org:/cvs/webwml \ cvs co -d www.debian.org webwml +# cvs sucks sufficiently that I prefer to run these commands by hand, +# and only rarely +update = echo "skipping cvs update (too slow)" +status = echo "skipping cvs status (too ugly)" # My home directory, which I keep in svn. []