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.
Joey Hess [Mon, 12 Dec 2011 17:10:25 +0000 (13:10 -0400)]
Added --force option that disables repository skipping.
* Added --force option that disables repository skipping.
* Repositories using skip = lazy will not be checked out by "mr update"
or "mr checkout" unless --force is used.
Joey Hess [Mon, 5 Dec 2011 21:26:46 +0000 (17:26 -0400)]
factor out runsh
A common function to run shell commands, with a nice little optimisation
for "true" and "false". That optimisation speeds up "mr list" by 2 seconds
here.
Adam Spiers [Tue, 29 Nov 2011 22:41:04 +0000 (22:41 +0000)]
Add support for suffixing parameters with '_append', and corresponding docs.
This allows the option of constructing parameter values accumulatively
rather than overriding existing parameter values.
(cherry picked from commit aa3caf53a9cb35ee3d0e4173ed44e964c6b8b5ab)
Adam Spiers [Mon, 14 Nov 2011 15:04:55 +0000 (15:04 +0000)]
Slightly improve POD markup by adding C<> and F<> where appropriate
and fixing the odd typo.
(cherry picked from commit d8d055572ca98ec92427265106ebf240990fa217)
Adam Spiers [Thu, 10 Nov 2011 22:12:08 +0000 (22:12 +0000)]
Add a comment explaining what selectrepos() returns.
In particular this is useful for understanding what paths
it returns, and that they have a trailing slash.
(cherry picked from commit 3d6acc19e4d029657f72bbf7200a48b5438a643a)
Allow untrusted mrconfig files to set parameters to true/false
* Allow untrusted mrconfig files to set parameters to true/false.
So skip=true or deleted=true canbe used in an untrusted mrconfig file.
* Also allow order=N in an untrusted mrconfig file.
I was trying to setup mr to handle a detached worktree git repository and
found out it was unable to determine the repository type.
It turned out my config only had "core.worktree=../../" set but no
"core.bare" and therefore, 'git_fake_bare_test' was unable to determine
it's a detached worktree dir.
So the attached patch fix this problem by checking for core.worktree instead
of core.bare in the config file.
Best regards,
Julien
Hello,<div>First, thanks for writing mr, I love it !</div><div><br><div>I was trying to setup mr to handle a detached worktree git repository and found out it was unable to determine the repository type. </div><div>It turned out my config only had "core.worktree=../../" set but no "core.bare" and therefore, 'git_fake_bare_test' was unable to determine</div>
<div>it's a detached worktree dir.</div><div><br></div><div>So the attached patch fix this problem by checking for core.worktree instead of core.bare in the config file.</div><div><br></div></div><div>Best regards,</div>
<div>Julien</div>
From b1c62a06c6c3668c52dd90014325d0c831a45ae7 Mon Sep 17 00:00:00 2001
From: Julien Rebetez <julien@fhtagn.net>
Date: Thu, 15 Sep 2011 14:59:47 +0200
Subject: [PATCH] Modify git_fake_bare_test to check core.worktree instead of
core.bare to determine if a given repository is a detached
worktree ('fake bar').
This allow mr to correctly handle the case where core.bare is missing
from the config file (implicitely false) and only core.worktree is set.
Joey Hess [Sun, 29 Aug 2010 18:53:57 +0000 (14:53 -0400)]
Added support for arbitrary pre and post hooks for all defined mr commands. For example, pre_commit is run before all commits; post_update is run after all updates. Closes: #481341
Joey Hess [Fri, 5 Feb 2010 22:13:17 +0000 (17:13 -0500)]
Fix the hours_since function built into mr's shell library to not exit, but return a true/false exit status. This allows it to be used outside of skip tests.
Joey Hess [Thu, 24 Dec 2009 17:23:27 +0000 (12:23 -0500)]
Allow empty sections to be used in mrconfig files.
Previously the parser only added a section if it had at least one
configuration line. With this change, an empty section cannot be checked
out by mr, but it can be updated, etc.