I want to merge the attached patch (changes to .gitignore and .mrconfig omitted) to the team master repository. This patch makes so that: - `mr checkout` will not checkout everything anymore. - `./checkout $repository1 $repository2 ...` will checkout specific repositories - `mr --force checkout` can be used if one really wants to checkout everything. Any objections? -- Antonio Terceiro <terceiro@debian.org>
From dcbacddc3751640bd8aeba5a645794154eedcf05 Mon Sep 17 00:00:00 2001
From: Antonio Terceiro <terceiro@debian.org>
Date: Mon, 3 Feb 2014 15:23:34 -0300
Subject: [PATCH] lazy checkouts
- `mr checkout` will not checkout everything
. `./checkout $repository1 $repository2 ...` will checkout specific
repositories
- `mr --force checkout` can be used if one really wants to checkout
everything.
---
.gitignore | 4 +-
.mrconfig | 629 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
checkout | 7 +
make-mrconfig | 1 +
4 files changed, 637 insertions(+), 4 deletions(-)
create mode 100755 checkout
new file mode 100755
index 0000000..42e5dc5
--- /dev/null
+++ b/checkout
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+for repo in $@; do
+ mr --force -d $repo checkout
+done
diff --git a/make-mrconfig b/make-mrconfig
index 9b93d5b..cce4680 100755
--- a/make-mrconfig
+++ b/make-mrconfig
@@ -59,6 +59,7 @@ lib=
for i in $GIT_PKGS; do
output "[$i]
checkout = git_checkout $i
+skip = lazy
"
done
--
1.9.rc1
Attachment:
signature.asc
Description: Digital signature