From: Joey Hess Date: Mon, 17 Dec 2012 16:11:14 +0000 (-0400) Subject: status: Now includes information about unpushed changes, for git, git-svn, hg, and... X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/278c3e527a595dc2bb6c40fdea7cf55c6d5f1207?ds=sidebyside status: Now includes information about unpushed changes, for git, git-svn, hg, and bzr. Closes: #693021 --- diff --git a/debian/changelog b/debian/changelog index 2ae455d..1c93976 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ mr (1.14) UNRELEASED; urgency=low * Added a fetch command. Closes: #480580 + * status: Now includes information about unpushed changes, + for git, git-svn, hg, and bzr. Closes: #693021 -- Joey Hess Sun, 11 Nov 2012 11:33:05 -0400 diff --git a/lib/git-svn b/lib/git-svn index 6cb9207..212923a 100644 --- a/lib/git-svn +++ b/lib/git-svn @@ -9,7 +9,7 @@ # configure that as follows in your ~/.mrconfig: #git_svn_update = git svn rebase git_svn_update = git svn fetch -git_svn_status = git status -s "$@" || true +git_svn_status = git status -s "$@" || true; git --no-pager log --branches --not --remotes --simplify-by-decoration --decorate --oneline || true git_svn_commit = git svn dcommit git_svn_push = git svn dcommit git_svn_record = git commit -a "$@" diff --git a/mr b/mr index bdc9ff6..9324b4f 100755 --- a/mr +++ b/mr @@ -1920,10 +1920,10 @@ darcs_fetch = darcs fetch hg_fetch = hg pull svn_status = svn status "$@" -git_status = git status -s "$@" || true -bzr_status = bzr status --short "$@" +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 "$@" -hg_status = hg status "$@" +hg_status = hg status "$@"; hg summary --quiet | grep -v 'parent: 0:' darcs_status = darcs whatsnew -ls "$@" || true fossil_status = fossil changes "$@" vcsh_status = vcsh run "$MR_REPO" git -c status.relativePaths=false status -s "$@" || true