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.
Jimmy Tang [Mon, 9 Jan 2012 17:18:38 +0000 (17:18 +0000)]
Initial add of veracity (http://veracity-scm.com/) support.
This changeset has only been tested on log, status, commit, checkouts
and updates, the push and trusted checkout commands have not been tested.
Basically any pull and read commands have been tested, but anything to
do with pushing upstream has not been tested.
Joey Hess [Fri, 16 Dec 2011 17:27:54 +0000 (13:27 -0400)]
Remove dir_test hack and add a way for vcs tests to run perl code, using this for the same optimisation. Fixes support for git-svn etc. Closes: #652317
Adam Spiers [Sun, 4 Dec 2011 21:50:07 +0000 (21:50 +0000)]
Perform an "extract variable" refactoring to reduce duplication
and the chance of future typos.
(cherry picked from commit bb9a1f48de42059d0db23ece614de6fb29706d1a)
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