clone_all_packages.pl - Enabled 'dummyrun' to be set from the command line using '-d' (or -'dummyrun') to help with trying out --exec style commands.
--- a/clone_packages/clone_all_packages.pl Fri Sep 11 11:47:01 2009 +0100
+++ b/clone_packages/clone_all_packages.pl Tue Sep 15 12:08:59 2009 +0100
@@ -56,6 +56,7 @@
-help print this help information
-exec execute command on each repository
-filter <RE> only process repository paths matching regular expression <RE>
+-dummyrun Dummy Run, don't execute any Mercurial commands.
The -exec option processes the rest of the command line, treating it as
a command to apply to each repository in turn. Some keywords are expanded
@@ -105,6 +106,7 @@
"e|exec" => \$exec,
"f|filter=s" => \$filter,
"l|packagelist=s" => \@packagelist_files,
+ "d|dummyrun" => \$do_nothing,
))
{
Usage("Invalid argument");