]> 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:

Added a fetch command. Closes: #480580
authorJoey Hess <joey@kitenet.net>
Sun, 11 Nov 2012 15:36:50 +0000 (11:36 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 11 Nov 2012 15:36:50 +0000 (11:36 -0400)
debian/changelog
mr

index 391cbe29988fb1e0d7434938e21f53896a400206..2ae455dd0758753969cb1da37ca7b571697893cb 100644 (file)
@@ -1,3 +1,9 @@
+mr (1.14) UNRELEASED; urgency=low
+
+  * Added a fetch command. Closes: #480580
+
+ -- Joey Hess <joeyh@debian.org>  Sun, 11 Nov 2012 11:33:05 -0400
+
 mr (1.13) unstable; urgency=low
 
   * Pass -q to cvs diff and update. Closes: #673367
 mr (1.13) unstable; urgency=low
 
   * Pass -q to cvs diff and update. Closes: #673367
diff --git a/mr b/mr
index f615699a2d50fd8e6ddb7dbf26e577f034cc0f72..bdc9ff63f9e9f7819bb2c4ffbebd68d04f2ef0bd 100755 (executable)
--- a/mr
+++ b/mr
@@ -16,6 +16,8 @@ B<mr> [options] commit [-m "message"]
 
 B<mr> [options] record [-m "message"]
 
 
 B<mr> [options] record [-m "message"]
 
+B<mr> [options] fetch
+
 B<mr> [options] push
 
 B<mr> [options] diff
 B<mr> [options] push
 
 B<mr> [options] diff
@@ -91,6 +93,12 @@ remote repository. Only supported for distributed version control systems.
 
 The optional -m parameter allows specifying a commit message.
 
 
 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
 =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 "$@"
 
 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 "$@"
 svn_status = svn status "$@"
 git_status = git status -s "$@" || true
 bzr_status = bzr status --short "$@"