]> 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 lib/repo, for support for repo (as used in Android) Closes: #705652 Thanks...
authorJoey Hess <joey@kitenet.net>
Thu, 18 Apr 2013 03:41:06 +0000 (23:41 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 18 Apr 2013 03:41:06 +0000 (23:41 -0400)
debian/changelog
lib/repo [new file with mode: 0644]

index 6f318e24dbf01966ca5a5cbcf115cbc176454610..f18375fe856a00516ec19be2847968242a758048 100644 (file)
@@ -1,3 +1,10 @@
+mr (1.15) UNRELEASED; urgency=low
+
+  * Added lib/repo, for support for repo (as used in Android)
+    Closes: #705652 Thanks, Peter Eisentraut
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 17 Apr 2013 23:40:20 -0400
+
 mr (1.14) unstable; urgency=low
 
   * Added a fetch command. Closes: #480580
diff --git a/lib/repo b/lib/repo
new file mode 100644 (file)
index 0000000..418276d
--- /dev/null
+++ b/lib/repo
@@ -0,0 +1,12 @@
+# Adds support for repo repositories.
+# http://source.android.com/source/version-control.html
+
+# To make mr use this file, add a line like this inside the [DEFAULT]
+# section of your ~/.mrconfig
+#include = cat /usr/share/mr/repo
+
+repo_test = perl: -d "$ENV{MR_REPO}/.repo"
+repo_diff = repo diff "$@"
+repo_grep = repo grep "$@"
+repo_status = repo status "$@"
+repo_update = repo sync "$@"