From d80a044816be0037e3243bf4e4949461d73b1097 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 11 Nov 2012 11:36:50 -0400 Subject: [PATCH] Added a fetch command. Closes: #480580 --- debian/changelog | 6 ++++++ mr | 13 +++++++++++++ 2 files changed, 19 insertions(+) diff --git a/debian/changelog b/debian/changelog index 391cbe2..2ae455d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mr (1.14) UNRELEASED; urgency=low + + * Added a fetch command. Closes: #480580 + + -- Joey Hess Sun, 11 Nov 2012 11:33:05 -0400 + mr (1.13) unstable; urgency=low * Pass -q to cvs diff and update. Closes: #673367 diff --git a/mr b/mr index f615699..bdc9ff6 100755 --- a/mr +++ b/mr @@ -16,6 +16,8 @@ B [options] commit [-m "message"] B [options] record [-m "message"] +B [options] fetch + B [options] push B [options] diff @@ -91,6 +93,12 @@ remote repository. Only supported for distributed version control systems. The optional -m parameter allows specifying a commit message. +=item fetch + +Fetches from each repository's remote repository, but does not +update the working copy. Only supported for some distributed version +control systems. + =item push Pushes committed local changes to the remote repository. A no-op for @@ -1906,6 +1914,11 @@ fossil_update = fossil pull "$@" vcsh_update = vcsh run "$MR_REPO" git pull "$@" veracity_update = vv pull "$@" && vv update "$@" +git_fetch = git fetch --all --prune --tags +git_svn_fetch = git svn fetch +darcs_fetch = darcs fetch +hg_fetch = hg pull + svn_status = svn status "$@" git_status = git status -s "$@" || true bzr_status = bzr status --short "$@" -- 2.39.5