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.
authorMattD <mattd@symbian.org>
Tue, 15 Sep 2009 12:08:59 +0100
changeset 51 88f86cd8d99b
parent 48 8e73266ba54f
child 52 b6b0d741e326
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.
clone_packages/clone_all_packages.pl
--- 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");