clone_packages/clone_all_packages.pl
changeset 51 88f86cd8d99b
parent 48 8e73266ba54f
child 60 e86c659b78a0
equal deleted inserted replaced
48:8e73266ba54f 51:88f86cd8d99b
    54 -verbose       print the underlying "hg" commands before executing them
    54 -verbose       print the underlying "hg" commands before executing them
    55 -n             do nothing - don't actually execute the commands
    55 -n             do nothing - don't actually execute the commands
    56 -help          print this help information
    56 -help          print this help information
    57 -exec          execute command on each repository
    57 -exec          execute command on each repository
    58 -filter <RE>   only process repository paths matching regular expression <RE>
    58 -filter <RE>   only process repository paths matching regular expression <RE>
       
    59 -dummyrun      Dummy Run, don't execute any Mercurial commands.
    59 
    60 
    60 The -exec option processes the rest of the command line, treating it as
    61 The -exec option processes the rest of the command line, treating it as
    61 a command to apply to each repository in turn. Some keywords are expanded
    62 a command to apply to each repository in turn. Some keywords are expanded
    62 to repository-specific values, and "hg" is always expanded to "hg -R %REPO%"
    63 to repository-specific values, and "hg" is always expanded to "hg -R %REPO%"
    63 
    64 
   103     "n" => \$do_nothing,
   104     "n" => \$do_nothing,
   104     "h|help" => \$help,
   105     "h|help" => \$help,
   105     "e|exec" => \$exec,
   106     "e|exec" => \$exec,
   106     "f|filter=s" => \$filter,
   107     "f|filter=s" => \$filter,
   107     "l|packagelist=s" => \@packagelist_files,
   108     "l|packagelist=s" => \@packagelist_files,
       
   109     "d|dummyrun" => \$do_nothing,
   108     ))
   110     ))
   109   {
   111   {
   110   Usage("Invalid argument");
   112   Usage("Invalid argument");
   111   }
   113   }
   112   
   114