]> git.madduck.net Git - code/myrepos.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Better cvs status. Closes: #694037 Thanks, Paul Wise
authorJoey Hess <joey@kitenet.net>
Mon, 22 Apr 2013 22:04:30 +0000 (18:04 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 22 Apr 2013 22:04:30 +0000 (18:04 -0400)
debian/changelog
mr

index f18375fe856a00516ec19be2847968242a758048..1ca97b9f237df14a29859447c3569b9a6bfe65ad 100644 (file)
@@ -2,6 +2,8 @@ mr (1.15) UNRELEASED; urgency=low
 
   * Added lib/repo, for support for repo (as used in Android)
     Closes: #705652 Thanks, Peter Eisentraut
 
   * Added lib/repo, for support for repo (as used in Android)
     Closes: #705652 Thanks, Peter Eisentraut
+  * Better cvs status.
+    Closes: #694037 Thanks, Paul Wise
 
  -- Joey Hess <joeyh@debian.org>  Wed, 17 Apr 2013 23:40:20 -0400
 
 
  -- Joey Hess <joeyh@debian.org>  Wed, 17 Apr 2013 23:40:20 -0400
 
diff --git a/mr b/mr
index 7f147ccfe745dd5ffdf9bf72aca337f560f29283..4d77368724111b651da54eb67fa91410072b6950 100755 (executable)
--- a/mr
+++ b/mr
@@ -1923,7 +1923,7 @@ hg_fetch = hg pull
 svn_status = svn status "$@"
 git_status = git status -s "$@" || true; git --no-pager log --branches --not --remotes --simplify-by-decoration --decorate --oneline || true
 bzr_status = bzr status --short "$@"; bzr missing
 svn_status = svn status "$@"
 git_status = git status -s "$@" || true; git --no-pager log --branches --not --remotes --simplify-by-decoration --decorate --oneline || true
 bzr_status = bzr status --short "$@"; bzr missing
-cvs_status = cvs status "$@"
+cvs_status = cvs -q status | grep -E '^(File:.*Status:|\?)' | grep -v 'Status: Up-to-date'
 hg_status  = hg status "$@"; hg summary --quiet | grep -v 'parent: 0:'
 darcs_status = darcs whatsnew -ls "$@" || true
 fossil_status = fossil changes "$@"
 hg_status  = hg status "$@"; hg summary --quiet | grep -v 'parent: 0:'
 darcs_status = darcs whatsnew -ls "$@" || true
 fossil_status = fossil changes "$@"