]>
git.madduck.net Git - code/myrepos.git/blobdiff - mr
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:
print "mr $action: $topdir$subdir\n";
}
else {
print "mr $action: $topdir$subdir\n";
}
else {
- print "mr $action: $topdir$subdir (in subdir $directory)\n";
+ my $s=$directory;
+ $s=~s/^\Q$topdir$subdir\E\/?//;
+ print "mr $action: $topdir$subdir (in subdir $s)\n";
}
my $command="set -e; ".$lib.
"my_action(){ $config{$topdir}{$subdir}{$action}\n }; my_action ".
}
my $command="set -e; ".$lib.
"my_action(){ $config{$topdir}{$subdir}{$action}\n }; my_action ".
elif [ -d "$MR_REPO"/.hg ]; then
hg pull "$@" && hg update "$@"
elif [ -d "$MR_REPO"/_darcs ]; then
elif [ -d "$MR_REPO"/.hg ]; then
hg pull "$@" && hg update "$@"
elif [ -d "$MR_REPO"/_darcs ]; then
else
error "unknown repo type"
fi
else
error "unknown repo type"
fi
elif [ -d "$MR_REPO"/.hg ]; then
hg commit -m "$@" && hg push
elif [ -d "$MR_REPO"/_darcs ]; then
elif [ -d "$MR_REPO"/.hg ]; then
hg commit -m "$@" && hg push
elif [ -d "$MR_REPO"/_darcs ]; then
- darcs commit -m "$@" && darcs push
+ darcs commit -a -m "$@" && darcs push -a
else
error "unknown repo type"
fi
else
error "unknown repo type"
fi
T = echo "I pity the fool."
right = echo "Not found."
#}}}
T = echo "I pity the fool."
right = echo "Not found."
#}}}
+
+# vim:sw=8:sts=0:ts=8:noet