# HG changeset patch # User MattD # Date 1253012939 -3600 # Node ID 88f86cd8d99b34be1db765709cbf8f03afe048d0 # Parent 8e73266ba54f5a87f3bbc784614c60940136cee8 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. diff -r 8e73266ba54f -r 88f86cd8d99b 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 only process repository paths matching regular expression +-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");